summaryrefslogtreecommitdiff
path: root/src/certificates.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-11 00:25:11 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-11 00:25:11 +0000
commit67cf9c95d190b1f2a67d73c0a7f712e213b6e71a (patch)
tree5330aa403ea22459ed257ee577aaeec84053c0a4 /src/certificates.h
parent5265670cb158bee669e62a2953b41a624d324a36 (diff)
Tweaks to management of crypto information.
Diffstat (limited to 'src/certificates.h')
-rw-r--r--src/certificates.h6
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;