Package org.apache.tomcat.jni
Interface CertificateVerifier
-
public interface CertificateVerifierIs called during handshake and hooked into openssl viaSSL_CTX_set_cert_verify_callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanverify(long ssl, byte[][] x509, String authAlgorithm)Returnstrueif the passed in certificate chain could be verified and so the handshake should be successful,falseotherwise.
-
-
-
Method Detail
-
verify
boolean verify(long ssl, byte[][] x509, String authAlgorithm)Returnstrueif the passed in certificate chain could be verified and so the handshake should be successful,falseotherwise.- Parameters:
ssl- the SSL instancex509- theX509certificate chainauthAlgorithm- the auth algorithm- Returns:
- verified
trueif verified successful,falseotherwise
-
-