A class to implement a check for certificate trust. More...
Public Member Functions | |
virtual | ~CertificateTrustChecker () |
virtual bool | isCertificateTrusted (const std::vector< Certificate::ref > &certificateChain)=0 |
This method is called to find out whether a certificate (chain) is trusted. |
A class to implement a check for certificate trust.
Definition at line 20 of file CertificateTrustChecker.h.
virtual Swift::CertificateTrustChecker::~CertificateTrustChecker | ( | ) | [virtual] |
virtual bool Swift::CertificateTrustChecker::isCertificateTrusted | ( | const std::vector< Certificate::ref > & | certificateChain | ) | [pure virtual] |
This method is called to find out whether a certificate (chain) is trusted.
This usually happens when a certificate's validation fails, to check whether to proceed with the connection or not.
certificateChain contains the chain of certificates. The first certificate is the subject certificate.
Implemented in Swift::BlindCertificateTrustChecker.