<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />

TlsNullNullCipher

public sealed class TlsNullNullCipher : TlsCipher
The cipher for TLS_NULL_WITH_NULL_NULL.
public static readonly TlsNullNullCipher Instance

public bool UsesOpaqueRecordType { get; }

public TlsDecodeResult DecodeCiphertext(long seqNo, short recordType, ProtocolVersion recordVersion, byte[] ciphertext, int offset, int len)

public TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, byte[] plaintext, int offset, int len)

public int GetCiphertextDecodeLimit(int plaintextLimit)

public int GetCiphertextEncodeLimit(int plaintextLength, int plaintextLimit)

public int GetPlaintextLimit(int ciphertextLimit)

public void RekeyDecoder()

public void RekeyEncoder()