Top Constructors Methods
org.bouncycastle.tls

public abstract Class ServerOnlyTlsAuthentication

extends Object
implements TlsAuthentication
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.TlsAuthentication

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final TlsCredentials
getClientCredentials(CertificateRequest
details of the certificate request
certificateRequest
)

Implements org.bouncycastle.tls.TlsAuthentication.getClientCredentials.

Return client credentials in response to server's certificate request.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ServerOnlyTlsAuthenticationback to summary
public ServerOnlyTlsAuthentication()

Method Detail

getClientCredentialsback to summary
public final TlsCredentials getClientCredentials(CertificateRequest certificateRequest)

Implements org.bouncycastle.tls.TlsAuthentication.getClientCredentials.

Doc from org.bouncycastle.tls.TlsAuthentication.getClientCredentials.

Return client credentials in response to server's certificate request. The returned value may be null, or else it MUST implement exactly one of TlsCredentialedAgreement, TlsCredentialedDecryptor, or TlsCredentialedSigner, depending on the key exchange that was negotiated and the details of the CertificateRequest.

Parameters
certificateRequest:CertificateRequest

details of the certificate request

Returns:TlsCredentials

a TlsCredentials object or null for no client authentication