A certificate trust checker that trusts any ceritficate. More...
Public Member Functions | |
virtual bool | isCertificateTrusted (const std::vector< Certificate::ref > &) |
This method is called to find out whether a certificate (chain) is trusted. |
A certificate trust checker that trusts any ceritficate.
This can be used to ignore any TLS certificate errors occurring during connection.
Definition at line 19 of file BlindCertificateTrustChecker.h.
virtual bool Swift::BlindCertificateTrustChecker::isCertificateTrusted | ( | const std::vector< Certificate::ref > & | certificateChain | ) | [inline, 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.
Implements Swift::CertificateTrustChecker.
Definition at line 12 of file BlindCertificateTrustChecker.h.