RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Asymmetric Cipher Identifiers

This section details the constants which specify the cryptographic algorithm to use for asymmetric ciphers. 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_RSA "RSA"

R_CR_ID_RSA_PKCS1 "RSA_PKCS1"

R_CR_ID_RSA_PKCS1_OAEP "RSA_PKCS1_OAEP"

R_CR_ID_RSA_PKCS1_OAEP_SHA256 "RSA_PKCS1_OAEP_SHA256"

R_CR_ID_RSA_PKCS1_SSL "RSA_PKCS1_SSL"

R_CR_ID_RSA_PKCS1_RAW "RSA_PKCS1_RAW"

R_CR_ID_RSA_X931 "RSA_X931"

R_CR_ID_RSA_PKCS1_PSS_SHA256 "RSA_PSS"

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

Defines

#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_RSA_PKCS1_RAW
 A cryptographic identifier which indicates an asymmetric RSA PKCS #1 RAW padding cipher. More...

#define R_CR_ID_RSA_X931
 A cryptographic identifier which indicates an asymmetric RSA X9.31 padding cipher. More...


Define Documentation

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

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

Function String Description
R_CR_ID_from_string() "RSA_PKCS1_RAW" This string is interpreted as the RSA_PKCS1_RAW type.
R_CR_ID_to_string() "RSA_PKCS1_RAW" The string that represents an RSA_PKCS1_RAW 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.