org.bouncycastle.crypto.tls
Interface TlsCipher
- All Known Implementing Classes:
- TlsBlockCipher, TlsNullCipher, TlsStreamCipher
public interface TlsCipher
Method Summary |
byte[] |
decodeCiphertext(short type,
byte[] ciphertext,
int offset,
int len)
|
byte[] |
encodePlaintext(short type,
byte[] plaintext,
int offset,
int len)
|
encodePlaintext
byte[] encodePlaintext(short type,
byte[] plaintext,
int offset,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
decodeCiphertext
byte[] decodeCiphertext(short type,
byte[] ciphertext,
int offset,
int len)
throws java.io.IOException
- Throws:
java.io.IOException