public interface TlsAuthentication
| Modifier and Type | Method and Description |
|---|---|
TlsCredentials |
getClientCredentials(CertificateRequest certificateRequest)
Return client credentials in response to server's certificate request
|
void |
notifyServerCertificate(Certificate serverCertificate)
Called by the protocol handler to report the server certificate
Note: this method is responsible for certificate verification and validation
|
void notifyServerCertificate(Certificate serverCertificate) throws IOException
serverCertificate - the server certificate receivedIOExceptionTlsCredentials getClientCredentials(CertificateRequest certificateRequest) throws IOException
certificateRequest - details of the certificate requestIOExceptionCopyright © 2015. All rights reserved.