Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DefaultTlsClient

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.AbstractTlsPeer
        |
        +--org.bouncycastle.crypto.tls.AbstractTlsClient
              |
              +--org.bouncycastle.crypto.tls.DefaultTlsClient
All Implemented Interfaces:
TlsClient, TlsPeer

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public abstract class DefaultTlsClient
extends AbstractTlsClient


Field Summary
protected  TlsDHVerifier dhVerifier
          Deprecated.  
 
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
cipherFactory, clientECPointFormats, context, namedCurves, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, supportedSignatureAlgorithms
 
Constructor Summary
DefaultTlsClient()
          Deprecated.  
DefaultTlsClient(TlsCipherFactory cipherFactory)
          Deprecated.  
DefaultTlsClient(TlsCipherFactory cipherFactory, TlsDHVerifier dhVerifier)
          Deprecated.  
 
Method Summary
protected  TlsKeyExchange createDHEKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createDHKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createECDHEKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createECDHKeyExchange(int keyExchange)
          Deprecated.  
protected  TlsKeyExchange createRSAKeyExchange()
          Deprecated.  
 int[] getCipherSuites()
          Deprecated.  
 TlsKeyExchange getKeyExchange()
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsClient
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSessionToResume, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, notifySessionID, processServerExtensions, processServerSupplementalData
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bouncycastle.crypto.tls.TlsClient
getAuthentication
 
Methods inherited from interface org.bouncycastle.crypto.tls.TlsPeer
cancel, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime
 

Field Detail

dhVerifier

protected TlsDHVerifier dhVerifier
Deprecated. 
Constructor Detail

DefaultTlsClient

public DefaultTlsClient()
Deprecated. 

DefaultTlsClient

public DefaultTlsClient(TlsCipherFactory cipherFactory)
Deprecated. 

DefaultTlsClient

public DefaultTlsClient(TlsCipherFactory cipherFactory,
                        TlsDHVerifier dhVerifier)
Deprecated. 
Method Detail

getCipherSuites

public int[] getCipherSuites()
Deprecated. 

getKeyExchange

public TlsKeyExchange getKeyExchange()
                              throws java.io.IOException
Deprecated. 

createDHKeyExchange

protected TlsKeyExchange createDHKeyExchange(int keyExchange)
Deprecated. 

createDHEKeyExchange

protected TlsKeyExchange createDHEKeyExchange(int keyExchange)
Deprecated. 

createECDHKeyExchange

protected TlsKeyExchange createECDHKeyExchange(int keyExchange)
Deprecated. 

createECDHEKeyExchange

protected TlsKeyExchange createECDHEKeyExchange(int keyExchange)
Deprecated. 

createRSAKeyExchange

protected TlsKeyExchange createRSAKeyExchange()
Deprecated. 

Bouncy Castle Cryptography Library 1.64