public class CertficateCNMatcher extends java.lang.Object implements SSL_KEY_EXCHANGE.SessionVerifier
SSL_KEY_EXCHANGE.SessionVerifier
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cn_name |
protected java.util.regex.Pattern |
pattern |
Constructor and Description |
---|
CertficateCNMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
init(java.lang.String arg)
Called after creation with session_verifier_arg
|
void |
verify(javax.net.ssl.SSLSession session)
Called to verify that the session is correct, e.g.
|
protected java.lang.String cn_name
protected java.util.regex.Pattern pattern
public void init(java.lang.String arg)
SSL_KEY_EXCHANGE.SessionVerifier
init
in interface SSL_KEY_EXCHANGE.SessionVerifier
public void verify(javax.net.ssl.SSLSession session) throws java.lang.SecurityException
SSL_KEY_EXCHANGE.SessionVerifier
verify
in interface SSL_KEY_EXCHANGE.SessionVerifier
java.lang.SecurityException
Copyright © 1998-2020 Red Hat. All Rights Reserved.