Table of Contents

Class TlsImplUtilities

Namespace
Org.BouncyCastle.Tls.Crypto.Impl
Assembly
BouncyCastle.Cryptography.dll

Useful utility methods.

public abstract class TlsImplUtilities
Inheritance
TlsImplUtilities
Inherited Members

Methods

CalculateKeyBlock(TlsCryptoParameters, int)

public static byte[] CalculateKeyBlock(TlsCryptoParameters cryptoParams, int length)

Parameters

cryptoParams TlsCryptoParameters
length int

Returns

byte[]

CalculateKeyBlock(TlsCryptoParameters, Span<byte>)

public static void CalculateKeyBlock(TlsCryptoParameters cryptoParams, Span<byte> keyBlock)

Parameters

cryptoParams TlsCryptoParameters
keyBlock Span<byte>

IsSsl(TlsCryptoParameters)

public static bool IsSsl(TlsCryptoParameters cryptoParams)

Parameters

cryptoParams TlsCryptoParameters

Returns

bool

IsTlsV10(TlsCryptoParameters)

public static bool IsTlsV10(TlsCryptoParameters cryptoParams)

Parameters

cryptoParams TlsCryptoParameters

Returns

bool

IsTlsV10(ProtocolVersion)

public static bool IsTlsV10(ProtocolVersion version)

Parameters

version ProtocolVersion

Returns

bool

IsTlsV11(TlsCryptoParameters)

public static bool IsTlsV11(TlsCryptoParameters cryptoParams)

Parameters

cryptoParams TlsCryptoParameters

Returns

bool

IsTlsV11(ProtocolVersion)

public static bool IsTlsV11(ProtocolVersion version)

Parameters

version ProtocolVersion

Returns

bool

IsTlsV12(TlsCryptoParameters)

public static bool IsTlsV12(TlsCryptoParameters cryptoParams)

Parameters

cryptoParams TlsCryptoParameters

Returns

bool

IsTlsV12(ProtocolVersion)

public static bool IsTlsV12(ProtocolVersion version)

Parameters

version ProtocolVersion

Returns

bool

IsTlsV13(TlsCryptoParameters)

public static bool IsTlsV13(TlsCryptoParameters cryptoParams)

Parameters

cryptoParams TlsCryptoParameters

Returns

bool

IsTlsV13(ProtocolVersion)

public static bool IsTlsV13(ProtocolVersion version)

Parameters

version ProtocolVersion

Returns

bool