public interface

TlsAuthentication

org.bouncycastle.crypto.tls.TlsAuthentication
Known Indirect Subclasses

Summary

Public Methods
abstract TlsCredentials getClientCredentials(CertificateRequest certificateRequest)
Return client credentials in response to server's certificate request
abstract void notifyServerCertificate(Certificate serverCertificate)
Called by the protocol handler to report the server certificate Note: this method is responsible for certificate verification and validation

Public Methods

public abstract TlsCredentials getClientCredentials (CertificateRequest certificateRequest)

Return client credentials in response to server's certificate request

Parameters
certificateRequest details of the certificate request
Returns
  • a TlsCredentials object or null for no client authentication
Throws
IOException

public abstract void notifyServerCertificate (Certificate serverCertificate)

Called by the protocol handler to report the server certificate Note: this method is responsible for certificate verification and validation

Parameters
serverCertificate the server certificate received
Throws
IOException