VMime
|
Public Member Functions | |
certificateChain (const std::vector< shared_ptr< certificate > > &certs) | |
size_t | getCount () const |
shared_ptr< certificate > | getAt (const size_t index) |
Protected Attributes | |
std::vector< shared_ptr < certificate > > | m_certs |
Additional Inherited Members | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
An ordered list of certificates, from the subject certificate to the issuer certificate.
certificateChain | ( | const std::vector< shared_ptr< certificate > > & | certs | ) |
Construct a new certificateChain object given an ordered list of certificates.
certs | chain of certificates |
shared_ptr< certificate > getAt | ( | const size_t | 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.
size_t getCount | ( | ) | const |
Return the number of certificates in the chain.
References certificateChain::m_certs.
|
protected |
Referenced by certificateChain::getAt(), and certificateChain::getCount().