Class OpenSSLCertificateVerifier
- java.lang.Object
-
- org.apache.tomcat.util.net.openssl.OpenSSLCertificateVerifier
-
- All Implemented Interfaces:
CertificateVerifier
public class OpenSSLCertificateVerifier extends java.lang.Object implements CertificateVerifier
-
-
Constructor Summary
Constructors Constructor Description OpenSSLCertificateVerifier(javax.net.ssl.X509TrustManager x509TrustManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanverify(long ssl, byte[][] chain, java.lang.String auth)Returnstrueif the passed in certificate chain could be verified and so the handshake should be successful,falseotherwise.
-
-
-
Method Detail
-
verify
public boolean verify(long ssl, byte[][] chain, java.lang.String auth)Description copied from interface:CertificateVerifierReturnstrueif the passed in certificate chain could be verified and so the handshake should be successful,falseotherwise.- Specified by:
verifyin interfaceCertificateVerifier- Parameters:
ssl- the SSL instancechain- theX509certificate chainauth- the auth algorithm- Returns:
- verified
trueif verified successful,falseotherwise
-
-