As well as the Key Usage mask, a Key has an Algorithm Mask that specifies the cryptographic
algorithms that the key may be used for.
Namespace: BasicCard.BasicCards.ComponentsAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public enum KeyAlgorithmMask |
Visual Basic |
---|
Public Enumeration KeyAlgorithmMask |
Visual C++ |
---|
public enum class KeyAlgorithmMask |
F# |
---|
type KeyAlgorithmMask |
Members
Member name | Value | Description | |
---|---|---|---|
SingleDesCrc | 1 | Single DES with 8-byte key | |
TripleDesEde2Crc | 2 | Triple DES-EDE2 with 16-byte key | |
TripleDesEde3Crc | 8192 | Triple DES-EDE3 with 24-byte key | |
Aes128 | 4 | AES with 16-byte key | |
Aes192 | 8 | AES with 24-byte key | |
Aes256 | 16 | AES with 32-byte key | |
EaxAes128 | 32 | EAX using AES with 16-byte key | |
EaxAes192 | 64 | EAX using AES with 24-byte key | |
EaxAes256 | 128 | EAX using AES with 32-byte key | |
OmacAes128 | 256 | OMAC using AES with 16-byte key | |
OmacAes192 | 512 | OMAC using AES with 24-byte key | |
OmacAes256 | 1024 | OMAC using AES with 32-byte key | |
EC167 | 2048 | EC-167 Elliptic Curve Cryptography | |
EC211 | 4096 | EC-211 Elliptic Curve Cryptography |