VMime
|
Public Member Functions | |
virtual void | verify (shared_ptr< certificateChain > chain, const string &hostname)=0 |
Additional Inherited Members | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Verify that a certificate path issued by a server can be trusted.
|
pure virtual |
Verify that the specified certificate chain is trusted.
chain | certificate chain |
hostname | server hostname |
unsupportedCertificateTypeException | if a certificate in the chain is of unsupported format |
certificateExpiredException | if a certificate in the chain has expired |
certificateNotYetValidException | if a certificate in the chain is not yet valid |
certificateNotTrustedException | if a certificate in the chain cannot be verified against root and/or trusted certificates |
certificateIssuerVerificationException | if a certificate in the chain cannot be verified against the next certificate (issuer) |
serverIdentityException | if the subject name of the certificate does not match the hostname of the server |
Implemented in defaultCertificateVerifier.