diff options
Diffstat (limited to 'src/certificates.h')
| -rw-r--r-- | src/certificates.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/certificates.h b/src/certificates.h index db19a9db..e1a572ec 100644 --- a/src/certificates.h +++ b/src/certificates.h @@ -40,7 +40,8 @@ public: Certificate () : _certificate (0) {} - + + Certificate (std::string const &); Certificate (X509 *); ~Certificate (); @@ -61,7 +62,8 @@ class CertificateChain { public: CertificateChain () {} - CertificateChain (std::string const &); + + void add (boost::shared_ptr<Certificate>); boost::shared_ptr<Certificate> root () const; boost::shared_ptr<Certificate> leaf () const; |
