An ordered list of certificates, from the subject certificate to the issuer certificate. More...


Public Member Functions | |
| certificateChain (const std::vector< ref< certificate > > &certs) | |
| unsigned int | getCount () const |
| ref< certificate > | getAt (const unsigned int index) |
Protected Attributes | |
| std::vector< ref< certificate > > | m_certs |
An ordered list of certificates, from the subject certificate to the issuer certificate.
| certificateChain | ( | const std::vector< ref< certificate > > & | certs | ) |
Construct a new certificateChain object given an ordered list of certificates.
| certs | chain of certificates |
| ref< certificate > getAt | ( | const unsigned int | index | ) |
Return the certificate at the specified position.
0 is the subject certificate, 1 is the issuer's certificate, 2 is the issuer's issuer, etc.
| index | position at which to retrieve certificate |
References certificateChain::m_certs.
| unsigned int getCount | ( | ) | const |
Return the number of certificates in the chain.
References certificateChain::m_certs.
std::vector<ref <certificate> > m_certs [protected] |
Referenced by certificateChain::getAt(), and certificateChain::getCount().
1.6.2