Table of Contents

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

input byte[]

byte array containing the input data.

inOff int

offset into input where the data starts.

length int

the length of the data to encrypt.

Returns

byte[]

the encrypted data.

Exceptions

IOException