public abstract class

DefaultTlsClient

extends Object
implements TlsClient
java.lang.Object
   ↳ org.bouncycastle.crypto.tls.DefaultTlsClient
Known Direct Subclasses

Summary

Fields
protected TlsCipherFactory cipherFactory
protected TlsClientContext context
protected int selectedCipherSuite
protected int selectedCompressionMethod
Public Constructors
DefaultTlsClient()
DefaultTlsClient(TlsCipherFactory cipherFactory)
Public Methods
TlsCipher getCipher()
int[] getCipherSuites()
Hashtable getClientExtensions()
TlsCompression getCompression()
short[] getCompressionMethods()
TlsKeyExchange getKeyExchange()
void init(TlsClientContext context)
void notifySecureRenegotiation(boolean secureRenegotiation)
void notifySelectedCipherSuite(int selectedCipherSuite)
void notifySelectedCompressionMethod(short selectedCompressionMethod)
void notifySessionID(byte[] sessionID)
void processServerExtensions(Hashtable serverExtensions)
Protected Methods
TlsKeyExchange createDHEKeyExchange(int keyExchange)
TlsKeyExchange createDHKeyExchange(int keyExchange)
TlsKeyExchange createECDHEKeyExchange(int keyExchange)
TlsKeyExchange createECDHKeyExchange(int keyExchange)
TlsKeyExchange createRSAKeyExchange()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.tls.TlsClient

Fields

protected TlsCipherFactory cipherFactory

protected TlsClientContext context

protected int selectedCipherSuite

protected int selectedCompressionMethod

Public Constructors

public DefaultTlsClient ()

public DefaultTlsClient (TlsCipherFactory cipherFactory)

Public Methods

public TlsCipher getCipher ()

Throws
IOException

public int[] getCipherSuites ()

public Hashtable getClientExtensions ()

public TlsCompression getCompression ()

Throws
IOException

public short[] getCompressionMethods ()

public TlsKeyExchange getKeyExchange ()

Throws
IOException

public void init (TlsClientContext context)

public void notifySecureRenegotiation (boolean secureRenegotiation)

Throws
IOException

public void notifySelectedCipherSuite (int selectedCipherSuite)

public void notifySelectedCompressionMethod (short selectedCompressionMethod)

public void notifySessionID (byte[] sessionID)

public void processServerExtensions (Hashtable serverExtensions)

Protected Methods

protected TlsKeyExchange createDHEKeyExchange (int keyExchange)

protected TlsKeyExchange createDHKeyExchange (int keyExchange)

protected TlsKeyExchange createECDHEKeyExchange (int keyExchange)

protected TlsKeyExchange createECDHKeyExchange (int keyExchange)

protected TlsKeyExchange createRSAKeyExchange ()