Chacha20Poly1305
, TlsAEADCipher
, TlsBlockCipher
, TlsNullCipher
, TlsStreamCipher
public 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.IOException
byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len) throws java.io.IOException
java.io.IOException