Package org.bouncycastle.tls
Class ServerOnlyTlsAuthentication
- java.lang.Object
-
- org.bouncycastle.tls.ServerOnlyTlsAuthentication
-
- All Implemented Interfaces:
TlsAuthentication
public abstract class ServerOnlyTlsAuthentication extends java.lang.Object implements TlsAuthentication
-
-
Constructor Summary
Constructors Constructor Description ServerOnlyTlsAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TlsCredentials
getClientCredentials(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, wait
-
Methods inherited from interface org.bouncycastle.tls.TlsAuthentication
notifyServerCertificate
-
-
-
-
Method Detail
-
getClientCredentials
public final TlsCredentials getClientCredentials(CertificateRequest certificateRequest)
Description copied from interface:TlsAuthentication
Return 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:
getClientCredentials
in interfaceTlsAuthentication
- Parameters:
certificateRequest
- details of the certificate request- Returns:
- a TlsCredentials object or null for no client authentication
-
-