29 #ifndef PT_SSL_CERTIFICATESTORE_H
30 #define PT_SSL_CERTIFICATESTORE_H
32 #include <Pt/Ssl/Api.h>
33 #include <Pt/Ssl/Certificate.h>
60 void loadPkcs12(std::istream& is,
const char* passwd);
64 void loadPkcs12(
const char* data, std::size_t len,
const char* passwd);
71 const Certificate* findCertificate(
const std::string& subject);
79 const Certificate& getCertificate(
const std::string& subject);
83 std::size_t size()
const;
94 class CertificateStoreImpl* _impl;
136 #endif // PT_SSL_CERTIFICATESTOREIMPL_H
X509 certificate.
Definition: Certificate.h:44
Iterator to a certificate in the store.
Definition: CertificateStore.h:99
A store for X509 certificates.
Definition: CertificateStore.h:44