Package org.bouncycastle.crypto.tls
Interface TlsCipher
-
- All Known Implementing Classes:
Chacha20Poly1305,TlsAEADCipher,TlsBlockCipher,TlsNullCipher,TlsStreamCipher
public interface TlsCipherDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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.intgetPlaintextLimit(int ciphertextLimit)Deprecated.
-
-
-
Method Detail
-
getPlaintextLimit
int getPlaintextLimit(int ciphertextLimit)
Deprecated.
-
encodePlaintext
byte[] encodePlaintext(long seqNo, short type, byte[] plaintext, int offset, int len) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
decodeCiphertext
byte[] decodeCiphertext(long seqNo, short type, byte[] ciphertext, int offset, int len) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-