Interface TlsCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public interface TlsCipher
Methods
DecodeCiphertext(long, byte, byte[], int, int)
byte[] DecodeCiphertext(long seqNo, byte type, byte[] ciphertext, int offset, int len)
Parameters
seqNo long
type byte
ciphertext byte[]
offset int
len int
Returns
- byte[]
EncodePlaintext(long, byte, byte[], int, int)
byte[] EncodePlaintext(long seqNo, byte type, byte[] plaintext, int offset, int len)
Parameters
seqNo long
type byte
plaintext byte[]
offset int
len int
Returns
- byte[]
GetPlaintextLimit(int)
int GetPlaintextLimit(int ciphertextLimit)
Parameters
ciphertextLimit int
Returns
- int