defaultCertificateVerifier Class Reference

Default implementation for certificate verification. More...

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

List of all members.

Public Member Functions

 defaultCertificateVerifier ()
 ~defaultCertificateVerifier ()
void setX509TrustedCerts (const std::vector< ref< X509Certificate > > &trustedCerts)
void setX509RootCAs (const std::vector< ref< X509Certificate > > &caCerts)
void verify (ref< certificateChain > chain)

Detailed Description

Default implementation for certificate verification.


Constructor & Destructor Documentation


Member Function Documentation

void setX509RootCAs ( const std::vector< ref< X509Certificate > > &  caCerts  ) 

Sets the X.509 root CAs used for certificate verification.

Parameters:
caCerts list of root CAs
void setX509TrustedCerts ( const std::vector< ref< X509Certificate > > &  trustedCerts  ) 

Sets a list of X.509 certificates that are trusted.

Parameters:
trustedCerts list of trusted certificates
void verify ( ref< certificateChain chain  )  [virtual]

Verify that the specified certificate chain is trusted.

Parameters:
chain certificate chain
Exceptions:
exceptions::certificate_verification_exception if one or more certificates can not be trusted

Implements certificateVerifier.


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

Generated by  doxygen 1.6.2