Table of Contents

Class EncryptionAlgorithm

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

RFC 2246

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

AES_128_CBC

public const int AES_128_CBC = 8

Field Value

int

AES_128_CCM

public const int AES_128_CCM = 15

Field Value

int

AES_128_CCM_8

public const int AES_128_CCM_8 = 16

Field Value

int

AES_128_GCM

public const int AES_128_GCM = 10

Field Value

int

AES_256_CBC

public const int AES_256_CBC = 9

Field Value

int

AES_256_CCM

public const int AES_256_CCM = 17

Field Value

int

AES_256_CCM_8

public const int AES_256_CCM_8 = 18

Field Value

int

AES_256_GCM

public const int AES_256_GCM = 11

Field Value

int

ARIA_128_CBC

public const int ARIA_128_CBC = 22

Field Value

int

ARIA_128_GCM

public const int ARIA_128_GCM = 24

Field Value

int

ARIA_256_CBC

public const int ARIA_256_CBC = 23

Field Value

int

ARIA_256_GCM

public const int ARIA_256_GCM = 25

Field Value

int

CAMELLIA_128_CBC

public const int CAMELLIA_128_CBC = 12

Field Value

int

CAMELLIA_128_GCM

public const int CAMELLIA_128_GCM = 19

Field Value

int

CAMELLIA_256_CBC

public const int CAMELLIA_256_CBC = 13

Field Value

int

CAMELLIA_256_GCM

public const int CAMELLIA_256_GCM = 20

Field Value

int

CHACHA20_POLY1305

public const int CHACHA20_POLY1305 = 21

Field Value

int

DES40_CBC

public const int DES40_CBC = 5

Field Value

int

DES_CBC

public const int DES_CBC = 6

Field Value

int

IDEA_CBC

public const int IDEA_CBC = 4

Field Value

int

KUZNYECHIK_CTR_OMAC

public const int KUZNYECHIK_CTR_OMAC = 29

Field Value

int

MAGMA_CTR_OMAC

public const int MAGMA_CTR_OMAC = 30

Field Value

int

NULL

public const int NULL = 0

Field Value

int

RC2_CBC_40

public const int RC2_CBC_40 = 3

Field Value

int

RC4_128

public const int RC4_128 = 2

Field Value

int

RC4_40

public const int RC4_40 = 1

Field Value

int

SEED_CBC

public const int SEED_CBC = 14

Field Value

int

SM4_CBC

public const int SM4_CBC = 28

Field Value

int

SM4_CCM

public const int SM4_CCM = 26

Field Value

int

SM4_GCM

public const int SM4_GCM = 27

Field Value

int

cls_28147_CNT_IMIT

public const int cls_28147_CNT_IMIT = 31

Field Value

int

cls_3DES_EDE_CBC

public const int cls_3DES_EDE_CBC = 7

Field Value

int