public abstract class TlsCipherSuite
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static short |
KE_DH_anon |
protected static short |
KE_DH_DSS |
protected static short |
KE_DH_RSA |
protected static short |
KE_DHE_DSS |
protected static short |
KE_DHE_DSS_EXPORT |
protected static short |
KE_DHE_RSA |
protected static short |
KE_DHE_RSA_EXPORT |
protected static short |
KE_RSA |
protected static short |
KE_RSA_EXPORT |
protected static short |
KE_SRP |
protected static short |
KE_SRP_DSS |
protected static short |
KE_SRP_RSA |
Constructor and Description |
---|
TlsCipherSuite() |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
decodeCiphertext(short type,
byte[] plaintext,
int offset,
int len,
TlsProtocolHandler handler) |
protected abstract byte[] |
encodePlaintext(short type,
byte[] plaintext,
int offset,
int len) |
protected abstract short |
getKeyExchangeAlgorithm() |
protected abstract void |
init(byte[] ms,
byte[] cr,
byte[] sr) |
protected static final short KE_RSA
protected static final short KE_RSA_EXPORT
protected static final short KE_DHE_DSS
protected static final short KE_DHE_DSS_EXPORT
protected static final short KE_DHE_RSA
protected static final short KE_DHE_RSA_EXPORT
protected static final short KE_DH_DSS
protected static final short KE_DH_RSA
protected static final short KE_DH_anon
protected static final short KE_SRP
protected static final short KE_SRP_RSA
protected static final short KE_SRP_DSS
protected abstract void init(byte[] ms, byte[] cr, byte[] sr)
protected abstract byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len)
protected abstract byte[] decodeCiphertext(short type, byte[] plaintext, int offset, int len, TlsProtocolHandler handler) throws java.io.IOException
java.io.IOException
protected abstract short getKeyExchangeAlgorithm()