public static interface AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier
| Modifier and Type | Method and Description |
|---|---|
void |
verifyPeerCertificate(java.security.cert.X509Certificate[] peerCertChain,
java.lang.String authType,
java.net.Socket socket)
Verifies the peer certificate chain.
|
void |
verifyPeerCertificate(java.security.cert.X509Certificate[] peerCertChain,
java.lang.String authType,
javax.net.ssl.SSLEngine engine)
Verifies the peer certificate chain.
|
void verifyPeerCertificate(java.security.cert.X509Certificate[] peerCertChain,
java.lang.String authType,
java.net.Socket socket)
throws java.security.cert.CertificateException
X509ExtendedTrustManager.peerCertChain - the certificate chain sent from the peerauthType - the key exchange algorithm used, e.g. "RSA", "DHE_DSS", etcsocket - the socket used for this connection. This parameter can be null, which
indicates that implementations need not check the ssl parametersjava.security.cert.CertificateExceptionvoid verifyPeerCertificate(java.security.cert.X509Certificate[] peerCertChain,
java.lang.String authType,
javax.net.ssl.SSLEngine engine)
throws java.security.cert.CertificateException
X509ExtendedTrustManager.peerCertChain - the certificate chain sent from the peerauthType - the key exchange algorithm used, e.g. "RSA", "DHE_DSS", etcengine - the engine used for this connection. This parameter can be null, which
indicates that implementations need not check the ssl parametersjava.security.cert.CertificateException