public class SSLMirrorAuthenticator extends Object implements SSLAuthenticator
| Constructor and Description |
|---|
SSLMirrorAuthenticator(InstanceParams params)
Construct an SSLMirrorAuthenticator
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrusted(SSLSession sslSession) |
boolean |
peerMatches(SSLSession sslSession)
Checks whether the SSL session peer's certificate DN matches our own.
|
public SSLMirrorAuthenticator(InstanceParams params) throws IllegalArgumentException
params - the instantiation parameters.IllegalArgumentException - if the instance cannot be created due
to a problem related to the input parameterspublic boolean isTrusted(SSLSession sslSession)
isTrusted in interface SSLAuthenticatorpublic boolean peerMatches(SSLSession sslSession)
sslSession - the SSL session that has been established with a peerCopyright © 2024. All rights reserved.