RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Operation Subtypes

This section details the cryptographic algorithms and possible variations denoted by a subtype identifier. The algorithm subtype is often used to define the area of operation available to the algorithm type selected. The following table details the strings that are interpreted by R_CR_SUB_from_string() and output by R_CR_SUB_to_string().

Identifier String
R_CR_SUB_NONE "NONE"
R_CR_SUB_SIGN "SIGN"
R_CR_SUB_VERIFY "VERIFY"
R_CR_SUB_ENCRYPT "ENCRYPT"
R_CR_SUB_DECRYPT "DECRYPT"
R_CR_SUB_PUBLIC "PUBLIC"
R_CR_SUB_PRIVATE "PRIVATE"
R_CR_SUB_MAC "MAC"
R_CR_SUB_PUB_ENC "PUB_ENC"
R_CR_SUB_PUB_DEC "PUB_DEC"
R_CR_SUB_PRIV_ENC "PRIV_ENC"
R_CR_SUB_PRIV_DEC "PRIV_DEC"

See also:
R_CR_new() and R_CR_CTX_alg_supported().

Defines

#define R_CR_SUB_NONE
 Indicates that the operation subtype identifier is none. More...

#define R_CR_SUB_SIGN
 A subtype identifier which indicates a sign operation. More...

#define R_CR_SUB_VERIFY
 A subtype identifier which indicates a signature verification operation. More...

#define R_CR_SUB_ENCRYPT
 A subtype identifier which indicates an encryption operation. More...

#define R_CR_SUB_DECRYPT
 A subtype identifier which indicates a decryption operation. More...

#define R_CR_SUB_PUBLIC
 A subtype identifier which indicates a public key operation. More...

#define R_CR_SUB_PRIVATE
 A subtype identifier which indicates a private key operation. More...

#define R_CR_SUB_MAC
 A subtype identifier which indicates a Message Authentication Code (MAC) operation. More...

#define R_CR_SUB_PUB_ENC
 A subtype identifier which indicates a public key encryption operation. More...

#define R_CR_SUB_PUB_DEC
 A subtype identifier which indicates a public key decryption operation. More...

#define R_CR_SUB_PRIV_ENC
 A subtype identifier which indicates a private key encryption operation. More...

#define R_CR_SUB_PRIV_DEC
 A subtype identifier which indicates a private key decryption operation. More...


Define Documentation

#define R_CR_SUB_DECRYPT
 

A subtype identifier which indicates a decryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "DECRYPT" This string is interpreted as the DECRYPT type.
R_CR_SUB_to_string() "DECRYPT" The string that represents a DECRYPT type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_ENCRYPT
 

A subtype identifier which indicates an encryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "ENCRYPT" This string is interpreted as the ENCRYPT type.
R_CR_SUB_to_string() "ENCRYPT" The string that represents an ENCRYPT type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_MAC
 

A subtype identifier which indicates a Message Authentication Code (MAC) operation. The following table details the usage of the identifier in Operation Functions.

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

See also:
R_CR_TYPE_MAC.

#define R_CR_SUB_NONE
 

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

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

See also:
R_CR_TYPE_CIPHER, R_CR_TYPE_DIGEST, R_CR_TYPE_RANDOM, R_CR_TYPE_KEYGEN, R_CR_TYPE_PARAMGEN and R_CR_TYPE_KEY_EXCHANGE.

#define R_CR_SUB_PRIV_DEC
 

A subtype identifier which indicates a private key decryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PRIV_DEC" This string is interpreted as the PRIV_DEC type.
R_CR_SUB_to_string() "PRIV_DEC" The string that represents a PRIV_DEC type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_PRIV_ENC
 

A subtype identifier which indicates a private key encryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PRIV_ENC" This string is interpreted as the PRIV_ENC type.
R_CR_SUB_to_string() "PRIV_ENC" The string that represents a PRIV_ENC type.

#define R_CR_SUB_PRIVATE
 

A subtype identifier which indicates a private key operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PRIVATE" This string is interpreted as the PRIVATE type.
R_CR_SUB_to_string() "PRIVATE" The string that represents a PRIVATE type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_PUB_DEC
 

A subtype identifier which indicates a public key decryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PUB_DEC" This string is interpreted as the PUB_DEC type.
R_CR_SUB_to_string() "PUB_DEC" The string that represents a PUB_DEC type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_PUB_ENC
 

A subtype identifier which indicates a public key encryption operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PUB_ENC" This string is interpreted as the PUB_ENC type.
R_CR_SUB_to_string() "PUB_ENC" The string that represents a PUB_ENC type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_PUBLIC
 

A subtype identifier which indicates a public key operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "PUBLIC" This string is interpreted as the PUBLIC type.
R_CR_SUB_to_string() "PUBLIC" The string that represents a PUBLIC type.

See also:
R_CR_TYPE_ASYM.

#define R_CR_SUB_SIGN
 

A subtype identifier which indicates a sign operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "SIGN" This string is interpreted as the SIGN type.
R_CR_SUB_to_string() "SIGN" The string that represents a SIGN type.

See also:
R_CR_TYPE_SIGNATURE.

#define R_CR_SUB_VERIFY
 

A subtype identifier which indicates a signature verification operation. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_SUB_from_string() "VERIFY" This string is interpreted as the VERIFY type.
R_CR_SUB_to_string() "VERIFY" The string that represents a VERIFY type.

See also:
R_CR_TYPE_SIGNATURE.


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