diff options
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 |
