Table of Contents

Class PrfAlgorithm

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

RFC 5246

public abstract class PrfAlgorithm
Inheritance
PrfAlgorithm
Inherited Members

Remarks

Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the particular values (e.g. serialization).

Fields

ssl_prf_legacy

public const int ssl_prf_legacy = 0

Field Value

int

tls13_hkdf_sha256

public const int tls13_hkdf_sha256 = 4

Field Value

int

tls13_hkdf_sha384

public const int tls13_hkdf_sha384 = 5

Field Value

int

tls13_hkdf_sm3

public const int tls13_hkdf_sm3 = 7

Field Value

int

tls_prf_gostr3411_2012_256

public const int tls_prf_gostr3411_2012_256 = 8

Field Value

int

tls_prf_legacy

public const int tls_prf_legacy = 1

Field Value

int

tls_prf_sha256

public const int tls_prf_sha256 = 2

Field Value

int

tls_prf_sha384

public const int tls_prf_sha384 = 3

Field Value

int

Methods

GetName(int)

public static string GetName(int prfAlgorithm)

Parameters

prfAlgorithm int

Returns

string

GetText(int)

public static string GetText(int prfAlgorithm)

Parameters

prfAlgorithm int

Returns

string