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
TlsAuthentication
notifyServerCertificate
in interface TlsAuthentication
serverCertificate
- the server certificate receivedIOException
public TlsCredentials getClientCredentials(CertificateRequest certificateRequest) throws IOException
TlsAuthentication
getClientCredentials
in interface TlsAuthentication
certificateRequest
- details of the certificate requestIOException
Copyright © 2015. All rights reserved.