org.bouncycastle.crypto.tls
Class TlsCipherSuite
java.lang.Object
org.bouncycastle.crypto.tls.TlsCipherSuite
public abstract class TlsCipherSuite
extends java.lang.Object
A generic class for ciphersuites in TLS 1.0.
KE_DHE_DSS
protected static final short KE_DHE_DSS
KE_DHE_DSS_EXPORT
protected static final short KE_DHE_DSS_EXPORT
KE_DHE_RSA
protected static final short KE_DHE_RSA
KE_DHE_RSA_EXPORT
protected static final short KE_DHE_RSA_EXPORT
KE_DH_DSS
protected static final short KE_DH_DSS
KE_DH_RSA
protected static final short KE_DH_RSA
KE_DH_anon
protected static final short KE_DH_anon
KE_RSA
protected static final short KE_RSA
KE_RSA_EXPORT
protected static final short KE_RSA_EXPORT
decodeCiphertext
protected abstract byte[] decodeCiphertext(short type,
byte[] plaintext,
int offset,
int len,
TlsProtocolHandler handler)
throws IOException
encodePlaintext
protected abstract byte[] encodePlaintext(short type,
byte[] plaintext,
int offset,
int len)
getKeyExchangeAlgorithm
protected abstract short getKeyExchangeAlgorithm()
init
protected abstract void init(byte[] ms,
byte[] cr,
byte[] sr)