public class LegacyTlsAuthentication extends Object implements TlsAuthentication
| Modifier and Type | Field and Description |
|---|---|
protected CertificateVerifyer |
verifyer
Deprecated.
|
| Constructor and Description |
|---|
LegacyTlsAuthentication(CertificateVerifyer verifyer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TlsCredentials |
getClientCredentials(CertificateRequest certificateRequest)
Deprecated.
Return client credentials in response to server's certificate request
|
void |
notifyServerCertificate(Certificate serverCertificate)
Deprecated.
Called by the protocol handler to report the server certificate
Note: this method is responsible for certificate verification and validation
|
protected CertificateVerifyer verifyer
public LegacyTlsAuthentication(CertificateVerifyer verifyer)
public void notifyServerCertificate(Certificate serverCertificate) throws IOException
TlsAuthenticationnotifyServerCertificate in interface TlsAuthenticationserverCertificate - the server certificate receivedIOExceptionpublic TlsCredentials getClientCredentials(CertificateRequest certificateRequest) throws IOException
TlsAuthenticationgetClientCredentials in interface TlsAuthenticationcertificateRequest - details of the certificate requestIOExceptionCopyright © 2015. All rights reserved.