RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Algorithm Identifiers

This section details the constants which specify the cryptographic algorithm to use in a particular cryptographic operation. The following table details the strings that are interpreted by R_CR_ID_from_string() and output by R_CR_ID_to_string().

Identifier String
R_CR_ID_UNKNOWN "UNKNOWN"
R_CR_ID_NULL "NULL"
R_CR_ID_RANDOM "RANDOM"
R_CR_ID_RANDOM_SYS "RANDOM_SYS"
R_CR_ID_DIGEST_NULL "DIGEST_NULL"
R_CR_ID_SHA1 "SHA1"
R_CR_ID_SHA256 "SHA256"
R_CR_ID_SHA384 "SHA384"
R_CR_ID_SHA512 "SHA512"
R_CR_ID_MD2 "MD2"
R_CR_ID_MD5 "MD5"
R_CR_ID_HMAC_MD5 "HMAC_MD5"
R_CR_ID_HMAC_SHA1 "HMAC_SHA1"
R_CR_ID_DES_CBC "DES_CBC"
R_CR_ID_DES_EDE "DES_EDE"
R_CR_ID_DES_ECB "DES_ECB"
R_CR_ID_DES_CFB64 "DES_CFB64"
R_CR_ID_DES_EDE3 "DES_EDE3"
R_CR_ID_DES_EDE_CBC "DES_EDE_CBC"
R_CR_ID_DES_EDE3_CBC "DES_EDE3_CBC"
R_CR_ID_DES_EDE_CFB64 "DES_EDE_CFB64"
R_CR_ID_DES_EDE3_CFB64 "DES_EDE3_CFB64"
R_CR_ID_DES_EDE_OFB64 "DES_EDE_OFB64"
R_CR_ID_DES_EDE3_OFB64 "DES_EDE3_OFB64"
R_CR_ID_DES_40_CBC "DES_40_CBC"
R_CR_ID_DES_40_CFB "DES_40_CFB"
R_CR_ID_DES_OFB "DES_OFB"
R_CR_ID_RC2_CBC "RC2_CBC"
R_CR_ID_RC2_ECB "RC2_ECB"
R_CR_ID_RC2_CFB "RC2_CFB"
R_CR_ID_RC2_OFB "RC2_OFB"
R_CR_ID_RC2_40_CBC "RC2_40_CBC"
R_CR_ID_RC4 "RC4"
R_CR_ID_RC4_40 "RC4_40"
R_CR_ID_RC5_CBC "RC5_CBC"
R_CR_ID_RC5_ECB "RC5_ECB"
R_CR_ID_RC5_CFB "RC5_CFB"
R_CR_ID_RC5_OFB "RC5_OFB"
R_CR_ID_AES_128_CBC "AES_128_CBC"
R_CR_ID_AES_128_ECB "AES_128_ECB"
R_CR_ID_AES_128_CFB "AES_128_CFB"
R_CR_ID_AES_128_OFB "AES_128_OFB"
R_CR_ID_AES_192_CBC "AES_192_CBC"
R_CR_ID_AES_192_ECB "AES_192_ECB"
R_CR_ID_AES_192_CFB "AES_192_CFB"
R_CR_ID_AES_192_OFB "AES_192_OFB"
R_CR_ID_AES_256_CBC "AES_256_CBC"
R_CR_ID_AES_256_ECB "AES_256_ECB"
R_CR_ID_AES_256_CFB "AES_256_CFB"
R_CR_ID_AES_256_OFB "AES_256_OFB"
R_CR_ID_RSA "RSA"
R_CR_ID_RSA_PKCS1 "RSA_PKCS1"
R_CR_ID_RSA_PKCS1_OAEP "RSA_PKCS1_OAEP"
R_CR_ID_RSA_PKCS1_SSL "RSA_PKCS1_SSL"
R_CR_ID_DSA "DSA"
R_CR_ID_SHA1_DSA "SHA1_DSA"
R_CR_ID_SHA1_RSA "SHA1_RSA"
R_CR_ID_MD2_RSA "MD2_RSA"
R_CR_ID_MD5_RSA "MD5_RSA"
R_CR_ID_SIGNATURE_TYPE_NONE "SIGNATURE_TYPE_NONE"
R_CR_ID_SIGNATURE_TYPE_DER "SIGNATURE_TYPE_DER"
R_CR_ID_KE_DH "KE_DH"
R_CR_ID_RSA_KEY_GENERATION "RSA_KEY_GENERATION"
R_CR_ID_DSA_KEY_GENERATION "DSA_KEY_GENERATION"
R_CR_ID_DSA_PARAMETER_GENERATION "DSA_PARAMETER_GENERATION"
R_CR_ID_DH_PARAMETER_GENERATION "DH_PARAMETER_GENERATION"

See R_CR_new(), R_CR_get_info() and R_CR_CTX_alg_supported().

Defines

#define R_CR_ID_UNKNOWN
 Indicates that the cryptographic identifier is an unknown algorithm. More...

#define R_CR_ID_NULL
 Indicates that the cryptographic identifier is NULL. More...

#define R_CR_ID_RANDOM
 Indicates a random cryptographic identifier. More...

#define R_CR_ID_RANDOM_SYS
 Indicates that the cryptographic identifier is random and uses local system random function calls. More...

#define R_CR_ID_DIGEST_NULL
 A cryptographic identifier which indicates a null digest. More...

#define R_CR_ID_SHA1
 A cryptographic identifier which indicates a SHA-1 digest. More...

#define R_CR_ID_SHA256
 A cryptographic identifier which indicates a SHA-256 digest. More...

#define R_CR_ID_SHA384
 A cryptographic identifier which indicates a SHA-384 digest. More...

#define R_CR_ID_SHA512
 A cryptographic identifier which indicates a SHA-512 digest. More...

#define R_CR_ID_MD2
 A cryptographic identifier which indicates an MD2 digest. More...

#define R_CR_ID_MD5
 A cryptographic identifier which indicates an MD5 digest. More...

#define R_CR_ID_HMAC_MD5
 A cryptographic identifier which indicates a Message Authentication Code (MAC) utilizing MD5 digest. More...

#define R_CR_ID_HMAC_SHA1
 A cryptographic identifier which indicates a Message Authentication Code (MAC) utilizing SHA-1 digest. More...

#define R_CR_ID_DES_CBC
 A cryptographic identifier which indicates a DES CBC symmetric cipher. More...

#define R_CR_ID_DES_EDE
 A cryptographic identifier which indicates a DES EDE symmetric cipher. More...

#define R_CR_ID_DES_ECB
 A cryptographic identifier which indicates a DES ECB symmetric cipher. More...

#define R_CR_ID_DES_CFB64
 A cryptographic identifier which indicates a DES CFB64 symmetric cipher. More...

#define R_CR_ID_DES_EDE3
 A cryptographic identifier which indicates a DES EDE3 symmetric cipher. More...

#define R_CR_ID_DES_EDE_CBC
 A cryptographic identifier which indicates a DES EDE CBC symmetric cipher. More...

#define R_CR_ID_DES_EDE3_CBC
 A cryptographic identifier which indicates a DES EDE3 CBC symmetric cipher. More...

#define R_CR_ID_DES_EDE_CFB64
 A cryptographic identifier which indicates a DES EDE CFB64 symmetric cipher. More...

#define R_CR_ID_DES_EDE3_CFB64
 A cryptographic identifier which indicates a DES EDE3 CFB64 symmetric cipher. More...

#define R_CR_ID_DES_EDE_OFB64
 A cryptographic identifier which indicates a DES EDE OFB64 symmetric cipher. More...

#define R_CR_ID_DES_EDE3_OFB64
 A cryptographic identifier which indicates a DES EDE OFB64 symmetric cipher. More...

#define R_CR_ID_DES_40_CBC
 A cryptographic identifier which indicates a DES 40-bit CBC symmetric cipher. More...

#define R_CR_ID_DES_40_CFB
 A cryptographic identifier which indicates a DES 40-bit CFB symmetric cipher. More...

#define R_CR_ID_DES_OFB
 A cryptographic identifier which indicates a DES OFB symmetric cipher. More...

#define R_CR_ID_RC2_CBC
 A cryptographic identifier which indicates an RC2 CBC symmetric cipher. More...

#define R_CR_ID_RC2_ECB
 A cryptographic identifier which indicates an RC2 ECB symmetric cipher. More...

#define R_CR_ID_RC2_CFB
 A cryptographic identifier which indicates an RC2 CFB symmetric cipher. More...

#define R_CR_ID_RC2_OFB
 A cryptographic identifier which indicates an RC2 OFB symmetric cipher. More...

#define R_CR_ID_RC2_40_CBC
 A cryptographic identifier which indicates an RC2 40-bit CBC symmetric cipher. More...

#define R_CR_ID_RC4
 A cryptographic identifier which indicates an RC4 symmetric cipher. More...

#define R_CR_ID_RC4_40
 A cryptographic identifier which indicates an RC4 40-bit symmetric cipher. More...

#define R_CR_ID_RC5_CBC
 A cryptographic identifier which indicates an RC5 CBC symmetric cipher. More...

#define R_CR_ID_RC5_ECB
 A cryptographic identifier which indicates an RC5 ECB symmetric cipher. More...

#define R_CR_ID_RC5_CFB
 A cryptographic identifier which indicates an RC5 CFB symmetric cipher. More...

#define R_CR_ID_RC5_OFB
 A cryptographic identifier which indicates an RC5 OFB symmetric cipher. More...

#define R_CR_ID_AES_128_CBC
 A cryptographic identifier which indicates an AES 128 CBC symmetric cipher. More...

#define R_CR_ID_AES_128_ECB
 A cryptographic identifier which indicates an AES 128 ECB symmetric cipher. More...

#define R_CR_ID_AES_128_CFB
 A cryptographic identifier which indicates an AES 128 CFB symmetric cipher. More...

#define R_CR_ID_AES_128_OFB
 A cryptographic identifier which indicates an AES 128 OFB symmetric cipher. More...

#define R_CR_ID_AES_192_CBC
 A cryptographic identifier which indicates an AES 192 CBC symmetric cipher. More...

#define R_CR_ID_AES_192_ECB
 A cryptographic identifier which indicates an AES 192 ECB symmetric cipher. More...

#define R_CR_ID_AES_192_CFB
 A cryptographic identifier which indicates an AES 192 CFB symmetric cipher. More...

#define R_CR_ID_AES_192_OFB
 A cryptographic identifier which indicates an AES 192 OFB symmetric cipher. More...

#define R_CR_ID_AES_256_CBC
 A cryptographic identifier which indicates an AES 256 CBC symmetric cipher. More...

#define R_CR_ID_AES_256_ECB
 A cryptographic identifier which indicates an AES 256 ECB symmetric cipher. More...

#define R_CR_ID_AES_256_CFB
 A cryptographic identifier which indicates an AES 256 CFB symmetric cipher. More...

#define R_CR_ID_AES_256_OFB
 A cryptographic identifier which indicates an AES 256 OFB symmetric cipher. More...

#define R_CR_ID_RSA
 A cryptographic identifier which indicates an asymmetric RSA cipher. More...

#define R_CR_ID_RSA_PKCS1
 A cryptographic identifier which indicates an asymmetric RSA PKCS1 padding cipher. More...

#define R_CR_ID_RSA_PKCS1_OAEP
 A cryptographic identifier which indicates an asymmetric RSA PKCS #1 OAEP padding cipher. More...

#define R_CR_ID_RSA_PKCS1_SSL
 A cryptographic identifier which indicates an asymmetric RSA PKCS #1 SSL padding cipher. More...

#define R_CR_ID_DSA
 A cryptographic identifier which indicates an asymmetric DSA signature cipher. More...

#define R_CR_ID_SHA1_DSA
 A cryptographic identifier which indicates a DSA signature with SHA-1 digest. More...

#define R_CR_ID_SHA1_RSA
 A cryptographic identifier which indicates an RSA signature with SHA-1 digest. More...

#define R_CR_ID_MD2_RSA
 A cryptographic identifier which indicates an RSA signature with MD2 digest. More...

#define R_CR_ID_MD5_RSA
 A cryptographic identifier which indicates an RSA signature with MD5 digest. More...

#define R_CR_ID_SIGNATURE_TYPE_NONE
 A signature type identifier which indicates none. More...

#define R_CR_ID_SIGNATURE_TYPE_DER
 A signature type identifier which indicates Distinguished Encoding Rules (DER). More...

#define R_CR_ID_KE_DH
 A cryptographic identifier which indicates the Diffie-Hellman key agreement. More...

#define R_CR_ID_RSA_KEY_GENERATION
 A cryptographic identifier which indicates RSA key generation. More...

#define R_CR_ID_DSA_KEY_GENERATION
 A cryptographic identifier which indicates DSA key generation. More...

#define R_CR_ID_DSA_PARAMETER_GENERATION
 A cryptographic identifier which indicates DSA parameter generation. More...

#define R_CR_ID_DH_PARAMETER_GENERATION
 A cryptographic identifier which indicates Diffie-Hellman parameter generation. More...


Define Documentation

#define R_CR_ID_AES_128_CBC
 

A cryptographic identifier which indicates an AES 128 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_128_CBC" This string is interpreted as the AES_128_CBC type.
R_CR_ID_to_string() "AES_128_CBC" The string that represents an AES_128_CBC type.

#define R_CR_ID_AES_128_CFB
 

A cryptographic identifier which indicates an AES 128 CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_128_CFB" This string is interpreted as the AES_128_CFB type.
R_CR_ID_to_string() "AES_128_CFB" The string that represents an AES_128_CFB type.

#define R_CR_ID_AES_128_ECB
 

A cryptographic identifier which indicates an AES 128 ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_128_ECB" This string is interpreted as the AES_128_ECB type.
R_CR_ID_to_string() "AES_128_ECB" The string that represents an AES_128_ECB type.

#define R_CR_ID_AES_128_OFB
 

A cryptographic identifier which indicates an AES 128 OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_128_OFB" This string is interpreted as the AES_128_OFB type.
R_CR_ID_to_string() "AES_128_OFB" The string that represents an AES_128_OFB type.

#define R_CR_ID_AES_192_CBC
 

A cryptographic identifier which indicates an AES 192 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_192_CBC" This string is interpreted as the AES_192_CBC type.
R_CR_ID_to_string() "AES_192_CBC" The string that represents an AES_192_CBC type.

#define R_CR_ID_AES_192_CFB
 

A cryptographic identifier which indicates an AES 192 CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_192_CFB" This string is interpreted as the AES_192_CFB type.
R_CR_ID_to_string() "AES_192_CFB" The string that represents an AES_192_CFB type.

#define R_CR_ID_AES_192_ECB
 

A cryptographic identifier which indicates an AES 192 ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_192_ECB" This string is interpreted as the AES_192_ECB type.
R_CR_ID_to_string() "AES_192_ECB" The string that represents an AES_192_ECB type.

#define R_CR_ID_AES_192_OFB
 

A cryptographic identifier which indicates an AES 192 OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_192_OFB" This string is interpreted as the AES_192_OFB type.
R_CR_ID_to_string() "AES_192_OFB" The string that represents an AES_192_OFB type.

#define R_CR_ID_AES_256_CBC
 

A cryptographic identifier which indicates an AES 256 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_256_CBC" This string is interpreted as the AES_256_CBC type.
R_CR_ID_to_string() "AES_256_CBC" The string that represents an AES_256_CBC type.

#define R_CR_ID_AES_256_CFB
 

A cryptographic identifier which indicates an AES 256 CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_256_CFB" This string is interpreted as the AES_256_CFB type.
R_CR_ID_to_string() "AES_256_CFB" The string that represents an AES_256_CFB type.

#define R_CR_ID_AES_256_ECB
 

A cryptographic identifier which indicates an AES 256 ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_256_ECB" This string is interpreted as the AES_256_ECB type.
R_CR_ID_to_string() "AES_256_ECB" The string that represents an AES_256_ECB type.

#define R_CR_ID_AES_256_OFB
 

A cryptographic identifier which indicates an AES 256 OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "AES_256_OFB" This string is interpreted as the AES_256_OFB type.
R_CR_ID_to_string() "AES_256_OFB" The string that represents an AES_256_OFB type.

#define R_CR_ID_DES_40_CBC
 

A cryptographic identifier which indicates a DES 40-bit CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_40_CBC" This string is interpreted as the DES_40_CBC type.
R_CR_ID_to_string() "DES_40_CBC" The string that represents a DES_40_CBC type.

#define R_CR_ID_DES_40_CFB
 

A cryptographic identifier which indicates a DES 40-bit CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_40_CFB" This string is interpreted as the DES_40_CFB type.
R_CR_ID_to_string() "DES_40_CFB" The string that represents a DES_40_CFB type.

#define R_CR_ID_DES_CBC
 

A cryptographic identifier which indicates a DES CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_CBC" This string is interpreted as the DES_CBC type.
R_CR_ID_to_string() "DES_CBC" The string that represents a DES_CBC type.

#define R_CR_ID_DES_CFB64
 

A cryptographic identifier which indicates a DES CFB64 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_CFB64" This string is interpreted as the DES_CFB64 type.
R_CR_ID_to_string() "DES_CFB64" The string that represents a DES_CFB64 type.

#define R_CR_ID_DES_ECB
 

A cryptographic identifier which indicates a DES ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_ECB" This string is interpreted as the DES_ECB type.
R_CR_ID_to_string() "DES_ECB" The string that represents a DES_ECB type.

#define R_CR_ID_DES_EDE
 

A cryptographic identifier which indicates a DES EDE symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE" This string is interpreted as the DES_EDE type.
R_CR_ID_to_string() "DES_EDE" The string that represents a DES_EDE type.

#define R_CR_ID_DES_EDE3
 

A cryptographic identifier which indicates a DES EDE3 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE3" This string is interpreted as the DES_EDE3 type.
R_CR_ID_to_string() "DES_EDE3" The string that represents a DES_EDE3 type.

#define R_CR_ID_DES_EDE3_CBC
 

A cryptographic identifier which indicates a DES EDE3 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE3_CBC" This string is interpreted as the DES_EDE3_CBC type.
R_CR_ID_to_string() "DES_EDE3_CBC" The string that represents a DES_EDE3_CBC type.

#define R_CR_ID_DES_EDE3_CFB64
 

A cryptographic identifier which indicates a DES EDE3 CFB64 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE3_CFB64" This string is interpreted as the DES_EDE3_CFB64 type.
R_CR_ID_to_string() "DES_EDE3_CFB64" The string that represents a DES_EDE3_CFB64 type.

#define R_CR_ID_DES_EDE3_OFB64
 

A cryptographic identifier which indicates a DES EDE OFB64 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE3_OFB64" This string is interpreted as the DES_EDE3_OFB64 type.
R_CR_ID_to_string() "DES_EDE3_OFB64" The string that represents a DES_EDE3_OFB64 type.

#define R_CR_ID_DES_EDE_CBC
 

A cryptographic identifier which indicates a DES EDE CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE_CBC" This string is interpreted as the DES_EDE_CBC type.
R_CR_ID_to_string() "DES_EDE_CBC" The string that represents a DES_EDE_CBC type.

#define R_CR_ID_DES_EDE_CFB64
 

A cryptographic identifier which indicates a DES EDE CFB64 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE_CFB64" This string is interpreted as the DES_EDE_CFB64 type.
R_CR_ID_to_string() "DES_EDE_CFB64" The string that represents a DES_EDE_CFB64 type.

#define R_CR_ID_DES_EDE_OFB64
 

A cryptographic identifier which indicates a DES EDE OFB64 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_EDE_OFB64" This string is interpreted as the DES_EDE_OFB64 type.
R_CR_ID_to_string() "DES_EDE_OFB64" The string that represents a DES_EDE_OFB64 type.

#define R_CR_ID_DES_OFB
 

A cryptographic identifier which indicates a DES OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DES_OFB" This string is interpreted as the DES_OFB type.
R_CR_ID_to_string() "DES_OFB" The string that represents a DES_OFB type.

#define R_CR_ID_DH_PARAMETER_GENERATION
 

A cryptographic identifier which indicates Diffie-Hellman parameter generation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DH_PARAMETER_GENERATION" This string is interpreted as the DH_PARAMETER_GENERATION type.
R_CR_ID_to_string() "DH_PARAMETER_GENERATION" The string that represents a DH_PARAMETER_GENERATION type.

#define R_CR_ID_DIGEST_NULL
 

A cryptographic identifier which indicates a null digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DIGEST_NULL" This string is interpreted as the DIGEST_NULL type.
R_CR_ID_to_string() "DIGEST_NULL" The string that represents a DIGEST_NULL type.

#define R_CR_ID_DSA
 

A cryptographic identifier which indicates an asymmetric DSA signature cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DSA" This string is interpreted as the DSA type.
R_CR_ID_to_string() "DSA" The string that represents a DSA type.

#define R_CR_ID_DSA_KEY_GENERATION
 

A cryptographic identifier which indicates DSA key generation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DSA_KEY_GENERATION" This string is interpreted as the DSA_KEY_GENERATION type.
R_CR_ID_to_string() "DSA_KEY_GENERATION" The string that represents a DSA_KEY_GENERATION type.

#define R_CR_ID_DSA_PARAMETER_GENERATION
 

A cryptographic identifier which indicates DSA parameter generation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DSA_PARAMETER_GENERATION" This string is interpreted as the DSA_PARAMETER_GENERATION type.
R_CR_ID_to_string() "DSA_PARAMETER_GENERATION" The string that represents a DSA_PARAMETER_GENERATION type.

#define R_CR_ID_HMAC_MD5
 

A cryptographic identifier which indicates a Message Authentication Code (MAC) utilizing MD5 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "HMAC_MD5" This string is interpreted as the HMAC_MD5 type.
R_CR_ID_to_string() "HMAC_MD5" The string that represents a HMAC_MD5 type.

#define R_CR_ID_HMAC_SHA1
 

A cryptographic identifier which indicates a Message Authentication Code (MAC) utilizing SHA-1 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "HMAC_SHA1" This string is interpreted as the HMAC_SHA1 type.
R_CR_ID_to_string() "HMAC_SHA1" The string that represents a HMAC_SHA1 type.

#define R_CR_ID_KE_DH
 

A cryptographic identifier which indicates the Diffie-Hellman key agreement. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "KE_DH" This string is interpreted as the KE_DH type.
R_CR_ID_to_string() "KE_DH" The string that represents a KE_DH type.

#define R_CR_ID_MD2
 

A cryptographic identifier which indicates an MD2 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD2" This string is interpreted as the MD2 type.
R_CR_ID_to_string() "MD2" The string that represents a MD2 type.

#define R_CR_ID_MD2_RSA
 

A cryptographic identifier which indicates an RSA signature with MD2 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD2_RSA" This string is interpreted as the MD2_RSA type.
R_CR_ID_to_string() "MD2_RSA" The string that represents a MD2_RSA type.

#define R_CR_ID_MD5
 

A cryptographic identifier which indicates an MD5 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD5" This string is interpreted as the MD5 type.
R_CR_ID_to_string() "MD5" The string that represents a MD5 type.

#define R_CR_ID_MD5_RSA
 

A cryptographic identifier which indicates an RSA signature with MD5 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD5_RSA" This string is interpreted as the MD5_RSA type.
R_CR_ID_to_string() "MD5_RSA" The string that represents a MD5_RSA type.

#define R_CR_ID_NULL
 

Indicates that the cryptographic identifier is NULL. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "NULL" This string is interpreted as the NULL type.
R_CR_ID_to_string() "NULL" The string that represents a NULL type.

#define R_CR_ID_RANDOM
 

Indicates a random cryptographic identifier. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RANDOM" This string is interpreted as the RANDOM type.
R_CR_ID_to_string() "RANDOM" The string that represents a RANDOM type.

#define R_CR_ID_RANDOM_SYS
 

Indicates that the cryptographic identifier is random and uses local system random function calls. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RANDOM_SYS" This string is interpreted as the RANDOM_SYS type.
R_CR_ID_to_string() "RANDOM_SYS" The string that represents a RANDOM_SYS type.

#define R_CR_ID_RC2_40_CBC
 

A cryptographic identifier which indicates an RC2 40-bit CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC2_40_CBC" This string is interpreted as the RC2_40_CBC type.
R_CR_ID_to_string() "RC2_40_CBC" The string that represents an RC2_40_CBC type.

#define R_CR_ID_RC2_CBC
 

A cryptographic identifier which indicates an RC2 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC2_CBC" This string is interpreted as the RC2_CBC type.
R_CR_ID_to_string() "RC2_CBC" The string that represents an RC2_CBC type.

#define R_CR_ID_RC2_CFB
 

A cryptographic identifier which indicates an RC2 CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC2_CFB" This string is interpreted as the RC2_CFB type.
R_CR_ID_to_string() "RC2_CFB" The string that represents an RC2_CFB type.

#define R_CR_ID_RC2_ECB
 

A cryptographic identifier which indicates an RC2 ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC2_ECB" This string is interpreted as the RC2_ECB type.
R_CR_ID_to_string() "RC2_ECB" The string that represents an RC2_ECB type.

#define R_CR_ID_RC2_OFB
 

A cryptographic identifier which indicates an RC2 OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC2_OFB" This string is interpreted as the RC2_OFB type.
R_CR_ID_to_string() "RC2_OFB" The string that represents an RC2_OFB type.

#define R_CR_ID_RC4
 

A cryptographic identifier which indicates an RC4 symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC4" This string is interpreted as the RC4 type.
R_CR_ID_to_string() "RC4" The string that represents an RC4 type.

#define R_CR_ID_RC4_40
 

A cryptographic identifier which indicates an RC4 40-bit symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC4_40" This string is interpreted as the RC4_40 type.
R_CR_ID_to_string() "RC4_40" The string that represents an RC4_40 type.

#define R_CR_ID_RC5_CBC
 

A cryptographic identifier which indicates an RC5 CBC symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC5_CBC" This string is interpreted as the RC5_CBC type.
R_CR_ID_to_string() "RC5_CBC" The string that represents an RC5_CBC type.

#define R_CR_ID_RC5_CFB
 

A cryptographic identifier which indicates an RC5 CFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC5_CFB" This string is interpreted as the RC5_CFB type.
R_CR_ID_to_string() "RC5_CFB" The string that represents an RC5_CFB type.

#define R_CR_ID_RC5_ECB
 

A cryptographic identifier which indicates an RC5 ECB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC5_ECB" This string is interpreted as the RC5_ECB type.
R_CR_ID_to_string() "RC5_ECB" The string that represents an RC5_ECB type.

#define R_CR_ID_RC5_OFB
 

A cryptographic identifier which indicates an RC5 OFB symmetric cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RC5_OFB" This string is interpreted as the RC5_OFB type.
R_CR_ID_to_string() "RC5_OFB" The string that represents an RC5_OFB type.

#define R_CR_ID_RSA
 

A cryptographic identifier which indicates an asymmetric RSA cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RSA" This string is interpreted as the RSA type.
R_CR_ID_to_string() "RSA" The string that represents an RSA type.

#define R_CR_ID_RSA_KEY_GENERATION
 

A cryptographic identifier which indicates RSA key generation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RSA_KEY_GENERATION" This string is interpreted as the RSA_KEY_GENERATION type.
R_CR_ID_to_string() "RSA_KEY_GENERATION" The string that represents an RSA_KEY_GENERATION type.

#define R_CR_ID_RSA_PKCS1
 

A cryptographic identifier which indicates an asymmetric RSA PKCS1 padding cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RSA_PKCS1" This string is interpreted as the RSA_PKCS1 type.
R_CR_ID_to_string() "RSA_PKCS1" The string that represents an RSA_PKCS1 type.

#define R_CR_ID_RSA_PKCS1_OAEP
 

A cryptographic identifier which indicates an asymmetric RSA PKCS #1 OAEP padding cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RSA_PKCS1_OAEP" This string is interpreted as the RSA_PKCS1_OAEP type.
R_CR_ID_to_string() "RSA_PKCS1_OAEP" The string that represents an RSA_PKCS1_OAEP type.

#define R_CR_ID_RSA_PKCS1_SSL
 

A cryptographic identifier which indicates an asymmetric RSA PKCS #1 SSL padding cipher. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "RSA_PKCS1_SSL" This string is interpreted as the RSA_PKCS1_SSL type.
R_CR_ID_to_string() "RSA_PKCS1_SSL" The string that represents an RSA_PKCS1_SSL type.

#define R_CR_ID_SHA1
 

A cryptographic identifier which indicates a SHA-1 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA1" This string is interpreted as the SHA1 type.
R_CR_ID_to_string() "SHA1" The string that represents a SHA1 type.

#define R_CR_ID_SHA1_DSA
 

A cryptographic identifier which indicates a DSA signature with SHA-1 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA1_DSA" This string is interpreted as the SHA1_DSA type.
R_CR_ID_to_string() "SHA1_DSA" The string that represents a SHA1_DSA type.

#define R_CR_ID_SHA1_RSA
 

A cryptographic identifier which indicates an RSA signature with SHA-1 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA1_RSA" This string is interpreted as the SHA1_RSA type.
R_CR_ID_to_string() "SHA1_RSA" The string that represents a SHA1_RSA type.

#define R_CR_ID_SHA256
 

A cryptographic identifier which indicates a SHA-256 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA256" This string is interpreted as the SHA256 type.
R_CR_ID_to_string() "SHA256" The string that represents a SHA256 type.

#define R_CR_ID_SHA384
 

A cryptographic identifier which indicates a SHA-384 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA384" This string is interpreted as the SHA384 type.
R_CR_ID_to_string() "SHA384" The string that represents a SHA384 type.

#define R_CR_ID_SHA512
 

A cryptographic identifier which indicates a SHA-512 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA512" This string is interpreted as the SHA512 type.
R_CR_ID_to_string() "SHA512" The string that represents a SHA512 type.

#define R_CR_ID_SIGNATURE_TYPE_DER
 

A signature type identifier which indicates Distinguished Encoding Rules (DER). The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SIGNATURE_TYPE_DER" This string is interpreted as the SIGNATURE_TYPE_DER type.
R_CR_ID_to_string() "SIGNATURE_TYPE_DER" The string that represents a SIGNATURE_TYPE_DER type.

#define R_CR_ID_SIGNATURE_TYPE_NONE
 

A signature type identifier which indicates none. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SIGNATURE_TYPE_NONE" This string is interpreted as the SIGNATURE_TYPE_NONE type.
R_CR_ID_to_string() "SIGNATURE_TYPE_NONE" The string that represents a SIGNATURE_TYPE_NONE type.

#define R_CR_ID_UNKNOWN
 

Indicates that the cryptographic identifier is an unknown algorithm. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "UNKNOWN" This string is interpreted as the UNKNOWN type.
R_CR_ID_to_string() "UNKNOWN" The string that represents an UNKNOWN type.


Copyright (c) 1999-2002 RSA Security Inc. All rights reserved. 061-001005-150-001-000-3768 - 1.5