Bouncy Castle Cryptography 1.46

org.bouncycastle.crypto.tls
Class LegacyTlsAuthentication

java.lang.Object
  extended by org.bouncycastle.crypto.tls.LegacyTlsAuthentication
All Implemented Interfaces:
TlsAuthentication

Deprecated.

public class LegacyTlsAuthentication
extends java.lang.Object
implements TlsAuthentication

A temporary class to wrap old CertificateVerifyer stuff for new TlsAuthentication


Field Summary
protected  CertificateVerifyer verifyer
          Deprecated.  
 
Constructor Summary
LegacyTlsAuthentication(CertificateVerifyer verifyer)
          Deprecated.  
 
Method Summary
 TlsCredentials getClientCredentials(CertificateRequest certificateRequest)
          Deprecated. Return client credentials in response to server's certificate request
 void notifyServerCertificate(Certificate serverCertificate)
          Deprecated. Called by the protocol handler to report the server certificate Note: this method is responsible for certificate verification and validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verifyer

protected CertificateVerifyer verifyer
Deprecated. 
Constructor Detail

LegacyTlsAuthentication

public LegacyTlsAuthentication(CertificateVerifyer verifyer)
Deprecated. 
Method Detail

notifyServerCertificate

public void notifyServerCertificate(Certificate serverCertificate)
                             throws java.io.IOException
Deprecated. 
Description copied from interface: TlsAuthentication
Called by the protocol handler to report the server certificate Note: this method is responsible for certificate verification and validation

Specified by:
notifyServerCertificate in interface TlsAuthentication
Parameters:
serverCertificate - the server certificate received
Throws:
java.io.IOException

getClientCredentials

public TlsCredentials getClientCredentials(CertificateRequest certificateRequest)
                                    throws java.io.IOException
Deprecated. 
Description copied from interface: TlsAuthentication
Return client credentials in response to server's certificate request

Specified by:
getClientCredentials in interface TlsAuthentication
Parameters:
certificateRequest - details of the certificate request
Returns:
a TlsCredentials object or null for no client authentication
Throws:
java.io.IOException

Bouncy Castle Cryptography 1.46