|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <x509path.h>
Public Types | |
| typedef Certificate_Status_Code | Code |
Public Member Functions | |
| const CertificatePathStatusCodes & | all_statuses () const |
| const std::vector< std::shared_ptr< const X509_Certificate > > & | cert_path () const |
| bool | no_warnings () const |
| Path_Validation_Result (CertificatePathStatusCodes status, std::vector< std::shared_ptr< const X509_Certificate >> &&cert_chain) | |
| Path_Validation_Result (Certificate_Status_Code status) | |
| Certificate_Status_Code | result () const |
| std::string | result_string () const |
| bool | successful_validation () const |
| const X509_Certificate & | trust_root () const |
| std::set< std::string > | trusted_hashes () 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 125 of file x509path.h.
Definition at line 128 of file x509path.h.
| Botan::Path_Validation_Result::Path_Validation_Result | ( | CertificatePathStatusCodes | status, |
| std::vector< std::shared_ptr< const 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 1004 of file x509path.cpp.
|
inlineexplicit |
Create a Path_Validation_Result
| status | validation status code |
Definition at line 202 of file x509path.h.
|
inline |
Definition at line 166 of file x509path.h.
|
inline |
Definition at line 146 of file x509path.h.
| bool Botan::Path_Validation_Result::no_warnings | ( | ) | const |
Definition at line 1038 of file x509path.cpp.
|
inline |
Definition at line 161 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 1051 of file x509path.cpp.
References result(), and status_string().
|
static |
| code | validation status code |
Definition at line 1056 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 1031 of file x509path.cpp.
References Botan::OCSP_RESPONSE_GOOD, result(), Botan::VALID_CRL_CHECKED, and Botan::VERIFIED.
| const X509_Certificate & Botan::Path_Validation_Result::trust_root | ( | ) | const |
Definition at line 1013 of file x509path.cpp.
References result(), and Botan::VERIFIED.
| std::set< std::string > Botan::Path_Validation_Result::trusted_hashes | ( | ) | const |
Definition at line 1023 of file x509path.cpp.
| CertificatePathStatusCodes Botan::Path_Validation_Result::warnings | ( | ) | const |
Definition at line 1046 of file x509path.cpp.
| std::string Botan::Path_Validation_Result::warnings_string | ( | ) | const |
Definition at line 1064 of file x509path.cpp.
References status_string(), and Botan::ASN1::to_string().
1.8.9.1