certificateChain Class Reference

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

Inheritance diagram for certificateChain:
Inheritance graph
[legend]
Collaboration diagram for certificateChain:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 certificateChain (const std::vector< ref< certificate > > &certs)
unsigned int getCount () const
ref< certificategetAt (const unsigned int index)

Protected Attributes

std::vector< ref< certificate > > m_certs

Detailed Description

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


Constructor & Destructor Documentation

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

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

Parameters:
certs chain of certificates

Member Function Documentation

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.

Parameters:
index position at which to retrieve certificate
Returns:
certificate at the specified position

References certificateChain::m_certs.

unsigned int getCount (  )  const

Return the number of certificates in the chain.

Returns:
number of certificates in the chain

References certificateChain::m_certs.


Member Data Documentation

std::vector<ref <certificate> > m_certs [protected]

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

Generated by  doxygen 1.6.2