Interface TlsEncryptor
- Namespace
- Org.BouncyCastle.Tls.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
Base interface for an encryptor.
public interface TlsEncryptor
Methods
Encrypt(byte[], int, int)
Encrypt data from the passed in input array.
byte[] Encrypt(byte[] input, int inOff, int length)
Parameters
inputbyte[]byte array containing the input data.
inOffintoffset into input where the data starts.
lengthintthe length of the data to encrypt.
Returns
- byte[]
the encrypted data.