diff options
author | Kai Michaelis <[email protected]> | 2016-08-10 17:51:42 +0200 |
---|---|---|
committer | seu <[email protected]> | 2016-10-02 18:10:32 +0200 |
commit | cc5bca63e7e7b4ae1650e9f468e3c1a00623579f (patch) | |
tree | 1777abf62fc7e3e4a2dce8d3c8c87449f9b46816 /src/lib/cert/x509/x509path.h | |
parent | 9ba36a7097f29ee54a88e34f38e3bc9842accea6 (diff) |
Certificate store using SQLite
Diffstat (limited to 'src/lib/cert/x509/x509path.h')
-rw-r--r-- | src/lib/cert/x509/x509path.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cert/x509/x509path.h b/src/lib/cert/x509/x509path.h index b7061685a..60b7fa1a2 100644 --- a/src/lib/cert/x509/x509path.h +++ b/src/lib/cert/x509/x509path.h @@ -92,7 +92,7 @@ class BOTAN_DLL Path_Validation_Result /** * @return the full path from subject to trust root */ - const std::vector<X509_Certificate>& cert_path() const { return m_cert_path; } + const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path() const { return m_cert_path; } /** * @return true iff the validation was successful @@ -118,7 +118,7 @@ class BOTAN_DLL Path_Validation_Result static const char* status_string(Certificate_Status_Code code); Path_Validation_Result(std::vector<std::set<Certificate_Status_Code>> status, - std::vector<X509_Certificate>&& cert_chain); + std::vector<std::shared_ptr<const X509_Certificate>>&& cert_chain); explicit Path_Validation_Result(Certificate_Status_Code status) : m_overall(status) {} @@ -130,7 +130,7 @@ class BOTAN_DLL Path_Validation_Result Certificate_Status_Code m_overall; std::vector<std::set<Certificate_Status_Code>> m_all_status; - std::vector<X509_Certificate> m_cert_path; + std::vector<std::shared_ptr<const X509_Certificate>> m_cert_path; }; |