Package org.apache.tomcat.jni
Interface CertificateVerifier
-
public interface CertificateVerifier
Is 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 boolean
verify(long ssl, byte[][] x509, java.lang.String authAlgorithm)
Returnstrue
if the passed in certificate chain could be verified and so the handshake should be successful,false
otherwise.
-
-
-
Method Detail
-
verify
boolean verify(long ssl, byte[][] x509, java.lang.String authAlgorithm)
Returnstrue
if the passed in certificate chain could be verified and so the handshake should be successful,false
otherwise.- Parameters:
ssl
- the SSL instancex509
- theX509
certificate chainauthAlgorithm
- the auth algorithm- Returns:
- verified
true
if verified successful,false
otherwise
-
-