PKIFCRYPTO Namespace Reference


Detailed Description

The HASH_ALG enum is used to identify a hash algorithm. Note that the values correspond to the byte length of the resulting hash. This property is not guaranteed and should not be relied upon for future algorithms; use CPKIFAlgorithm to determine digest length instead.


Enumerations

enum  HASH_ALG {
  MD5 = 16, SHA1 = 20, SHA224 = 28, SHA256 = 32,
  SHA384 = 48, SHA512 = 64
}
enum  SYMKEY_ALG {
  TDES, DES, AES, AES128,
  AES192, AES256, AES128Wrap, AES192Wrap,
  AES256Wrap, CAST, RC4, RC2,
  SKIPJACK
}
enum  SYMKEY_MODE {
  ECB, CBC, CTR, CFB8,
  CFB64, OFB8, OFB64
}
 The SYMKEY_MODE enum identify symmetric encryption modes. More...
enum  ASYMKEY_ALG { RSA, DSS, ECC }
 The ASYMKEY_ALG enum is used to identify asymmetric algorithms. More...
enum  EC_CURVE { NIST_P256, NIST_P384, NIST_P521 }
 The EC_CURVE enum is used to identify named elliptic curves. More...
enum  PADDING { NOPADDING, PKCS5 }
 The PADDING enum is used to identify padding methods. More...
enum  KeyUsage {
  DigitalSignature = 1, NonRepudiation = 2, KeyEncipherment = 4, DataEncipherment = 8,
  KeyAgreement = 16, KeyCertSign = 32, CRLSign = 64, EncipherOnly = 128,
  DecipherOnly = 256
}
 The KeyUsage enum is used to identify key usages. More...
enum  DefaultKeyType { SIGNATURE = 0, DECRYPTION, NUMDEFTYPES }
 The DefaultKeyType enum is used to identify the default key to use with credentials. More...


Enumeration Type Documentation

The ASYMKEY_ALG enum is used to identify asymmetric algorithms.

Enumerator:
RSA 
DSS 
ECC 

Definition at line 29 of file PKIFCryptoConstants.h.

The DefaultKeyType enum is used to identify the default key to use with credentials.

Enumerator:
SIGNATURE 
DECRYPTION 
NUMDEFTYPES 

Definition at line 51 of file PKIFCryptoConstants.h.

The EC_CURVE enum is used to identify named elliptic curves.

Enumerator:
NIST_P256 
NIST_P384 
NIST_P521 

Definition at line 31 of file PKIFCryptoConstants.h.

Enumerator:
MD5 
SHA1 
SHA224 
SHA256 
SHA384 
SHA512 

Definition at line 19 of file PKIFCryptoConstants.h.

The KeyUsage enum is used to identify key usages.

Enumerator:
DigitalSignature 
NonRepudiation 
KeyEncipherment 
DataEncipherment 
KeyAgreement 
KeyCertSign 
CRLSign 
EncipherOnly 
DecipherOnly 

Definition at line 35 of file PKIFCryptoConstants.h.

The PADDING enum is used to identify padding methods.

Enumerator:
NOPADDING 
PKCS5 

Definition at line 33 of file PKIFCryptoConstants.h.

The SYMKEY_ALG enum is used to identify symmetric encryption algorithms. AES is a synonym for AES128

Enumerator:
TDES 
DES 
AES 
AES128 
AES192 
AES256 
AES128Wrap 
AES192Wrap 
AES256Wrap 
CAST 
RC4 
RC2 
SKIPJACK 

Definition at line 25 of file PKIFCryptoConstants.h.

The SYMKEY_MODE enum identify symmetric encryption modes.

Enumerator:
ECB 
CBC 
CTR 
CFB8 
CFB64 
OFB8 
OFB64 

Definition at line 27 of file PKIFCryptoConstants.h.


Generated on Mon Nov 15 11:22:54 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6