Package org.jgroups.protocols
Interface SSL_KEY_EXCHANGE.SessionVerifier
- All Known Implementing Classes:
CertficateCNMatcher
- Enclosing class:
SSL_KEY_EXCHANGE
public static interface SSL_KEY_EXCHANGE.SessionVerifier
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after creation with session_verifier_argvoidverify(SSLSession session) Called to verify that the session is correct, e.g.
-
Method Details
-
init
Called after creation with session_verifier_arg -
verify
Called to verify that the session is correct, e.g. by matching the peer's certificate-CN. Needs to throw a SecurityException if not- Throws:
SecurityException
-