Package org.apache.tomcat.jni
Interface CertificateVerifier
public interface CertificateVerifier
Is called during handshake and hooked into openssl via
SSL_CTX_set_cert_verify_callback.-
Method Summary
-
Method Details
-
verify
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
-