Top Description Methods
org.apache.tomcat.jni

public Interface CertificateVerifier


Is called during handshake and hooked into openssl via SSL_CTX_set_cert_verify_callback.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

verified true if verified successful, false otherwise
verify
(long
the SSL instance
ssl
,
byte[][]
the X509 certificate chain
x509
,
String
the auth algorithm
authAlgorithm
)

Returns true if the passed in certificate chain could be verified and so the handshake should be successful, false otherwise.

Method Detail

verifyback to summary
public boolean verify(long ssl, byte[][] x509, String authAlgorithm)

Returns true if the passed in certificate chain could be verified and so the handshake should be successful, false otherwise.

Parameters
ssl:long

the SSL instance

x509:byte[][]

the X509 certificate chain

authAlgorithm:String

the auth algorithm

Returns:boolean

verified true if verified successful, false otherwise