diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-05-12 18:24:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-05-12 18:24:40 (GMT) |
commit | 1bebb951f1a398038a602ea8ac1fc1cbc92959c1 (patch) | |
tree | 93539d7642383786bbf952e947861a3afbb48fa0 /Swiften/TLS/CertificateTrustChecker.h | |
parent | 159e773b156f531575d0d7e241e2d20c85ee6d7c (diff) | |
download | swift-contrib-1bebb951f1a398038a602ea8ac1fc1cbc92959c1.zip swift-contrib-1bebb951f1a398038a602ea8ac1fc1cbc92959c1.tar.bz2 |
Remove peer certificate from APIs.
The peer certificate chain contains the peer certificate, so this was
redundant.
Diffstat (limited to 'Swiften/TLS/CertificateTrustChecker.h')
-rw-r--r-- | Swiften/TLS/CertificateTrustChecker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/TLS/CertificateTrustChecker.h b/Swiften/TLS/CertificateTrustChecker.h index 91cc530..2ba6b40 100644 --- a/Swiften/TLS/CertificateTrustChecker.h +++ b/Swiften/TLS/CertificateTrustChecker.h @@ -21,13 +21,13 @@ namespace Swift { virtual ~CertificateTrustChecker(); /** - * This method is called to find out whether a certificate is + * 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, if available. - * This chain includes certificate. + * certificateChain contains the chain of certificates. The first certificate + * is the subject certificate. */ - virtual bool isCertificateTrusted(Certificate::ref certificate, const std::vector<Certificate::ref>& certificateChain) = 0; + virtual bool isCertificateTrusted(const std::vector<Certificate::ref>& certificateChain) = 0; }; } |