Chacha20Poly1305, TlsAEADCipher, TlsBlockCipher, TlsNullCipher, TlsStreamCipherpublic interface TlsCipher
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
decodeCiphertext(long seqNo,
short type,
byte[] ciphertext,
int offset,
int len) |
|
byte[] |
encodePlaintext(long seqNo,
short type,
byte[] plaintext,
int offset,
int len) |
|
int |
getPlaintextLimit(int ciphertextLimit) |
int getPlaintextLimit(int ciphertextLimit)
byte[] encodePlaintext(long seqNo,
short type,
byte[] plaintext,
int offset,
int len)
throws java.io.IOException
java.io.IOExceptionbyte[] decodeCiphertext(long seqNo,
short type,
byte[] ciphertext,
int offset,
int len)
throws java.io.IOException
java.io.IOException