ServerOnlyTlsAuthentication
public interface TlsAuthentication
Modifier and Type | Method | 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 java.io.IOException
serverCertificate
- the server certificate receivedjava.io.IOException
TlsCredentials getClientCredentials(CertificateRequest certificateRequest) throws java.io.IOException
certificateRequest
- details of the certificate requestjava.io.IOException