RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Signature Identifiers

This section details the constants which specify the cryptographic algorithm to use for signing. 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_DSA "DSA"

R_CR_ID_SHA1_DSA "SHA1_DSA"

R_CR_ID_SHA1_RSA "SHA1_RSA"

R_CR_ID_SHA1_RSA_RAW "SHA1_RSA_RAW"

R_CR_ID_SHA256_RSA "SHA256_RSA"

R_CR_ID_SHA384_RSA "SHA384_RSA"

R_CR_ID_SHA512_RSA "SHA512_RSA"

R_CR_ID_SHA1_RSA_X931 "SHA1_RSA_X931"

R_CR_ID_SHA256_RSA_X931 "SHA256_RSA_X931"

R_CR_ID_SHA384_RSA_X931 "SHA384_RSA_X931"

R_CR_ID_SHA512_RSA_X931 "SHA512_RSA_X931"

R_CR_ID_SHA256_RSA_PKCS1_PSS_SHA256 "SHA256_RSA_PSS"

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"

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

Defines

#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_SHA1_RSA_RAW
 A cryptographic identifier which indicates a RAW RSA signature with SHA-1 digest. More...

#define R_CR_ID_SHA1_RSA_X931
 A cryptographic identifier which indicates an RSA X9.31 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 Documentation

#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_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_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_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_SHA1_RSA_RAW
 

A cryptographic identifier which indicates a RAW 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_RAW" This string is interpreted as the SHA1_RSA_RAW type.
R_CR_ID_to_string() "SHA1_RSA_RAW" The string that represents a SHA1_RSA_RAW type.

#define R_CR_ID_SHA1_RSA_X931
 

A cryptographic identifier which indicates an RSA X9.31 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_X931" This string is interpreted as the SHA1_RSA_X931 type.
R_CR_ID_to_string() "SHA1_RSA_X931" The string that represents an SHA1_RSA_X931 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.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1