public static interface AdvancedTlsX509TrustManager.SslSocketAndEnginePeerVerifier
| Modifier and Type | Method and Description |
|---|---|
void |
verifyPeerCertificate(X509Certificate[] peerCertChain,
String authType,
Socket socket)
Verifies the peer certificate chain.
|
void |
verifyPeerCertificate(X509Certificate[] peerCertChain,
String authType,
SSLEngine engine)
Verifies the peer certificate chain.
|
void verifyPeerCertificate(X509Certificate[] peerCertChain, String authType, Socket socket) throws 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 parametersCertificateExceptionvoid verifyPeerCertificate(X509Certificate[] peerCertChain, String authType, SSLEngine engine) throws 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 parametersCertificateException