|
Botan 3.9.0
Crypto and TLS for C&
|
#include <x509path.h>
Public Types | |
| typedef Certificate_Status_Code | Code |
Public Member Functions | |
| const CertificatePathStatusCodes & | all_statuses () const |
| const std::vector< X509_Certificate > & | cert_path () const |
| bool | no_warnings () const |
| Path_Validation_Result (Certificate_Status_Code status) | |
| Path_Validation_Result (CertificatePathStatusCodes status, std::vector< X509_Certificate > &&cert_chain) | |
| Certificate_Status_Code | result () const |
| std::string | result_string () const |
| bool | successful_validation () const |
| const X509_Certificate & | trust_root () const |
| CertificatePathStatusCodes | warnings () const |
| std::string | warnings_string () const |
Static Public Member Functions | |
| static const char * | status_string (Certificate_Status_Code code) |
Represents the result of a PKIX path validation
Definition at line 157 of file x509path.h.
Definition at line 159 of file x509path.h.
| Botan::Path_Validation_Result::Path_Validation_Result | ( | CertificatePathStatusCodes | status, |
| std::vector< X509_Certificate > && | cert_chain ) |
Create a Path_Validation_Result
| status | list of validation status codes |
| cert_chain | the certificate chain that was validated |
Definition at line 1029 of file x509path.cpp.
|
inlineexplicit |
Create a Path_Validation_Result
| status | validation status code |
Definition at line 225 of file x509path.h.
|
inline |
Definition at line 191 of file x509path.h.
|
inline |
Definition at line 171 of file x509path.h.
| bool Botan::Path_Validation_Result::no_warnings | ( | ) | const |
Definition at line 1052 of file x509path.cpp.
|
inline |
Definition at line 186 of file x509path.h.
Referenced by result_string(), successful_validation(), and trust_root().
| std::string Botan::Path_Validation_Result::result_string | ( | ) | const |
Definition at line 1065 of file x509path.cpp.
References result(), and status_string().
Referenced by Botan::TLS::Callbacks::tls_verify_cert_chain().
|
static |
| code | validation status code |
Definition at line 1069 of file x509path.cpp.
References Botan::to_string().
Referenced by result_string(), and warnings_string().
| bool Botan::Path_Validation_Result::successful_validation | ( | ) | const |
Definition at line 1047 of file x509path.cpp.
References Botan::OCSP_RESPONSE_GOOD, result(), Botan::VALID_CRL_CHECKED, and Botan::VERIFIED.
Referenced by Botan::TLS::Callbacks::tls_verify_cert_chain(), and Botan::x509_path_validate().
| const X509_Certificate & Botan::Path_Validation_Result::trust_root | ( | ) | const |
Definition at line 1036 of file x509path.cpp.
References result(), and Botan::VERIFIED.
| CertificatePathStatusCodes Botan::Path_Validation_Result::warnings | ( | ) | const |
Definition at line 1061 of file x509path.cpp.
| std::string Botan::Path_Validation_Result::warnings_string | ( | ) | const |
Definition at line 1077 of file x509path.cpp.
References status_string().