RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Operation Types

This section details the cryptographic algorithms and their associated types. The following table details the strings that are interpreted by R_CR_TYPE_from_string() and output by R_CR_TYPE_to_string().

Identifier String
R_CR_TYPE_NONE "NONE"
R_CR_TYPE_ASYM "ASYM"
R_CR_TYPE_CIPHER "CIPHER"
R_CR_TYPE_DIGEST "DIGEST"
R_CR_TYPE_RANDOM "RANDOM"
R_CR_TYPE_KEY_EXCHANGE "KEY_EXCHANGE"
R_CR_TYPE_SIGNATURE "SIGNATURE"
R_CR_TYPE_MAC "MAC"
R_CR_TYPE_KEYGEN "KEYGEN"
R_CR_TYPE_PARAMGEN "PARAMGEN"
R_CR_TYPE_MAX "MAX"

See also:
R_CR_new() and R_CR_CTX_alg_supported().

Defines

#define R_CR_TYPE_NONE
 Indicates that the operation type is none. More...

#define R_CR_TYPE_ASYM
 Indicates an asymmetric operation type. More...

#define R_CR_TYPE_CIPHER
 Indicates a symmetric operation type. More...

#define R_CR_TYPE_DIGEST
 Indicates a digest operation type. More...

#define R_CR_TYPE_RANDOM
 Indicates a random operation type. More...

#define R_CR_TYPE_KEY_EXCHANGE
 Indicates a key agreement operation type. More...

#define R_CR_TYPE_SIGNATURE
 Indicates a signature operation type. More...

#define R_CR_TYPE_MAC
 Indicates a Message Authentication Code (MAC) operation type. More...

#define R_CR_TYPE_KEYGEN
 Indicates a key generation operation type. More...

#define R_CR_TYPE_PARAMGEN
 Indicates a parameter generation operation type. More...

#define R_CR_TYPE_MAX
 Indicates an identifier maximum value operation type. More...


Define Documentation

#define R_CR_TYPE_ASYM
 

Indicates an asymmetric operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "ASYM" This string is interpreted as the ASYM type.
R_CR_TYPE_to_string() "ASYM" The string that represents an ASYM type.

#define R_CR_TYPE_CIPHER
 

Indicates a symmetric operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "CIPHER" This string is interpreted as the CIPHER type.
R_CR_TYPE_to_string() "CIPHER" The string that represents a CIPHER type.

#define R_CR_TYPE_DIGEST
 

Indicates a digest operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "DIGEST" This string is interpreted as the DIGEST type.
R_CR_TYPE_to_string() "DIGEST" The string that represents a DIGEST type.

#define R_CR_TYPE_KEY_EXCHANGE
 

Indicates a key agreement operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "KEY_EXCHANGE" This string is interpreted as the KEY_EXCHANGE type.
R_CR_TYPE_to_string() "KEY_EXCHANGE" The string that represents a KEY_EXCHANGE type.

#define R_CR_TYPE_KEYGEN
 

Indicates a key generation operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "KEYGEN" This string is interpreted as the KEYGEN type.
R_CR_TYPE_to_string() "KEYGEN" The string that represents a KEYGEN type.

#define R_CR_TYPE_MAC
 

Indicates a Message Authentication Code (MAC) operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "MAC" This string is interpreted as the MAC type.
R_CR_TYPE_to_string() "MAC" The string that represents a MAC type.

#define R_CR_TYPE_MAX
 

Indicates an identifier maximum value operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "MAX" This string is interpreted as the MAX type.
R_CR_TYPE_to_string() "MAX" The string that represents a MAX type.

#define R_CR_TYPE_NONE
 

Indicates that the operation type is none. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "NONE" This string is interpreted as the NONE type.
R_CR_TYPE_to_string() "NONE" The string that represents a NONE type.

#define R_CR_TYPE_PARAMGEN
 

Indicates a parameter generation operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "PARAMGEN" This string is interpreted as the PARAMGEN type.
R_CR_TYPE_to_string() "PARAMGEN" The string that represents a PARAMGEN type.

#define R_CR_TYPE_RANDOM
 

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

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

#define R_CR_TYPE_SIGNATURE
 

Indicates a signature operation type. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_TYPE_from_string() "SIGNATURE" This string is interpreted as the SIGNATURE type.
R_CR_TYPE_to_string() "SIGNATURE" The string that represents a SIGNATURE type.


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