Table of Contents

Class KeyExchangeAlgorithm

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

RFC 2246

public abstract class KeyExchangeAlgorithm
Inheritance
KeyExchangeAlgorithm
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

DHE_DSS

public const int DHE_DSS = 3

Field Value

int

DHE_DSS_EXPORT

public const int DHE_DSS_EXPORT = 4

Field Value

int

DHE_PSK

public const int DHE_PSK = 14

Field Value

int

DHE_RSA

public const int DHE_RSA = 5

Field Value

int

DHE_RSA_EXPORT

public const int DHE_RSA_EXPORT = 6

Field Value

int

DH_DSS

public const int DH_DSS = 7

Field Value

int

DH_DSS_EXPORT

public const int DH_DSS_EXPORT = 8

Field Value

int

DH_RSA

public const int DH_RSA = 9

Field Value

int

DH_RSA_EXPORT

public const int DH_RSA_EXPORT = 10

Field Value

int

DH_anon

public const int DH_anon = 11

Field Value

int

DH_anon_EXPORT

public const int DH_anon_EXPORT = 12

Field Value

int

ECDHE_ECDSA

public const int ECDHE_ECDSA = 17

Field Value

int

ECDHE_PSK

public const int ECDHE_PSK = 24

Field Value

int

ECDHE_RSA

public const int ECDHE_RSA = 19

Field Value

int

ECDH_ECDSA

public const int ECDH_ECDSA = 16

Field Value

int

ECDH_RSA

public const int ECDH_RSA = 18

Field Value

int

ECDH_anon

public const int ECDH_anon = 20

Field Value

int

GOSTR341112_256

public const int GOSTR341112_256 = 26

Field Value

int

NULL

public const int NULL = 0

Field Value

int

PSK

public const int PSK = 13

Field Value

int

RSA

public const int RSA = 1

Field Value

int

RSA_EXPORT

public const int RSA_EXPORT = 2

Field Value

int

RSA_PSK

public const int RSA_PSK = 15

Field Value

int

SM2

public const int SM2 = 25

Field Value

int

SRP

public const int SRP = 21

Field Value

int

SRP_DSS

public const int SRP_DSS = 22

Field Value

int

SRP_RSA

public const int SRP_RSA = 23

Field Value

int

Methods

IsAnonymous(int)

public static bool IsAnonymous(int keyExchangeAlgorithm)

Parameters

keyExchangeAlgorithm int

Returns

bool