certificateChain Class Reference
Inheritance diagram for certificateChain:
Collaboration diagram for certificateChain:

Public Member Functions

 certificateChain (const std::vector< shared_ptr< certificate > > &certs)
size_t getCount () const
shared_ptr< certificategetAt (const size_t index)

Protected Attributes

std::vector< shared_ptr
< certificate > > 

Additional Inherited Members

- Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()

Detailed Description

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

Constructor & Destructor Documentation

certificateChain ( const std::vector< shared_ptr< certificate > > &  certs)

Construct a new certificateChain object given an ordered list of certificates.

certschain of certificates

Member Function Documentation

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.

indexposition at which to retrieve certificate
certificate at the specified position

References certificateChain::m_certs.

size_t getCount ( ) const

Return the number of certificates in the chain.

number of certificates in the chain

References certificateChain::m_certs.

Member Data Documentation

std::vector<shared_ptr <certificate> > m_certs

The documentation for this class was generated from the following files: