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

Org.BouncyCastle.Tls.Crypto.TlsNullNullCipher

public sealed class TlsNullNullCipher : TlsCipher
The cipher for TLS_NULL_WITH_NULL_NULL.
namespace Org.BouncyCastle.Tls.Crypto { public sealed class TlsNullNullCipher : TlsCipher { public static readonly TlsNullNullCipher Instance; public bool UsesOpaqueRecordType { get; } public int GetCiphertextDecodeLimit(int plaintextLimit); public int GetCiphertextEncodeLimit(int plaintextLength, int plaintextLimit); public int GetPlaintextLimit(int ciphertextLimit); public TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, byte[] plaintext, int offset, int len); public TlsEncodeResult EncodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, ReadOnlySpan<byte> plaintext); public TlsDecodeResult DecodeCiphertext(long seqNo, short recordType, ProtocolVersion recordVersion, byte[] ciphertext, int offset, int len); public void RekeyDecoder(); public void RekeyEncoder(); public TlsNullNullCipher(); } }