Package org.bouncycastle.tls
Class ServerOnlyTlsAuthentication
java.lang.Object
org.bouncycastle.tls.ServerOnlyTlsAuthentication
- All Implemented Interfaces:
TlsAuthentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TlsCredentialsgetClientCredentials(CertificateRequest certificateRequest) Return client credentials in response to server's certificate request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bouncycastle.tls.TlsAuthentication
notifyServerCertificate
-
Constructor Details
-
ServerOnlyTlsAuthentication
public ServerOnlyTlsAuthentication()
-
-
Method Details
-
getClientCredentials
Description copied from interface:TlsAuthenticationReturn client credentials in response to server's certificate request. The returned value may be null, or else it MUST implement exactly one ofTlsCredentialedAgreement,TlsCredentialedDecryptor, orTlsCredentialedSigner, depending on the key exchange that was negotiated and the details of theCertificateRequest.- Specified by:
getClientCredentialsin interfaceTlsAuthentication- Parameters:
certificateRequest- details of the certificate request- Returns:
- a TlsCredentials object or null for no client authentication
-