| Modifier and Type | Field and Description |
|---|---|
protected TlsContext |
context
Deprecated.
|
protected TlsMac |
readMac
Deprecated.
|
protected TlsMac |
writeMac
Deprecated.
|
| Constructor and Description |
|---|
TlsNullCipher(TlsContext context)
Deprecated.
|
TlsNullCipher(TlsContext context,
Digest clientWriteDigest,
Digest serverWriteDigest)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decodeCiphertext(long seqNo,
short type,
byte[] ciphertext,
int offset,
int len)
Deprecated.
|
byte[] |
encodePlaintext(long seqNo,
short type,
byte[] plaintext,
int offset,
int len)
Deprecated.
|
int |
getPlaintextLimit(int ciphertextLimit)
Deprecated.
|
protected TlsContext context
protected TlsMac writeMac
protected TlsMac readMac
public TlsNullCipher(TlsContext context)
public TlsNullCipher(TlsContext context, Digest clientWriteDigest, Digest serverWriteDigest) throws java.io.IOException
java.io.IOExceptionpublic int getPlaintextLimit(int ciphertextLimit)
getPlaintextLimit in interface TlsCipherpublic byte[] encodePlaintext(long seqNo,
short type,
byte[] plaintext,
int offset,
int len)
throws java.io.IOException
encodePlaintext in interface TlsCipherjava.io.IOExceptionpublic byte[] decodeCiphertext(long seqNo,
short type,
byte[] ciphertext,
int offset,
int len)
throws java.io.IOException
decodeCiphertext in interface TlsCipherjava.io.IOException