diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-12 20:54:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-12 20:54:06 +0100 |
| commit | 43d2c7aef17adceb04f84109b432a830f00d1bd1 (patch) | |
| tree | 66f27488ad79f0f900cf3a636b7c8ec0d763cbbb /src/certificates.h | |
| parent | a09bbf5f06a9ed2f5011999c0a6eef78b9e1ca56 (diff) | |
Move CertificateChain into the right header.
Diffstat (limited to 'src/certificates.h')
| -rw-r--r-- | src/certificates.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/certificates.h b/src/certificates.h index 2ece6f78..c2121a83 100644 --- a/src/certificates.h +++ b/src/certificates.h @@ -91,35 +91,6 @@ bool operator== (Certificate const & a, Certificate const & b); bool operator< (Certificate const & a, Certificate const & b); std::ostream& operator<< (std::ostream&s, Certificate const & c); -/** @class CertificateChain - * @brief A chain of any number of certificates, from root to leaf. - */ -class CertificateChain -{ -public: - CertificateChain () {} - - void add (Certificate c); - void remove (Certificate c); - void remove (int); - - Certificate root () const; - Certificate leaf () const; - - typedef std::list<Certificate> List; - - List leaf_to_root () const; - List root_to_leaf () const; - - bool valid () const; - bool attempt_reorder (); - -private: - friend class ::certificates; - - List _certificates; -}; - } #endif |
