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 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, wait
-
Methods inherited from interface org.bouncycastle.tls.TlsAuthentication
notifyServerCertificate
-
-
-
-
Method Detail
-
getClientCredentials
public final TlsCredentials getClientCredentials(CertificateRequest certificateRequest)
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
-
-