RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Context Information Identifiers

This section outlines the defines that identify the accessible information in a cryptographic message context. The following table details the data types to pass into value when calling R_CM_CTX_get_info().

Identifier Value Data Type
R_CM_CTX_INFO_R_LIB_CTX R_LIB_CTX **
R_CM_CTX_INFO_R_CERT_CTX R_CERT_CTX **
R_CM_CTX_INFO_R_CR_CTX R_CR_CTX **
R_CM_CTX_INFO_TYPE R_CM_TYPE *

The following table details the data types to pass into value when calling R_CM_CTX_set_info().

Identifier Value Data Type
R_CM_CTX_INFO_R_CERT_CTX R_CERT_CTX *
R_CM_CTX_INFO_R_CR_CTX R_CR_CTX *

Defines

#define R_CM_CTX_INFO_R_LIB_CTX
 Indicates the library context of the cryptographic message context. More...

#define R_CM_CTX_INFO_R_CERT_CTX
 Indicates the certificate context of the cryptographic message context. More...

#define R_CM_CTX_INFO_R_CR_CTX
 Indicates the cryptographic context of the cryptographic message context. More...

#define R_CM_CTX_INFO_TYPE
 Indicates the type of the cryptographic messages supported. More...


Define Documentation

#define R_CM_CTX_INFO_R_CERT_CTX
 

Indicates the certificate context of the cryptographic message context. The following table details the usage of identifiers in Context Functions.

Function Value Data Type Description
R_CM_CTX_get_info() R_CR_CTX ** Returns a reference to the certificate context.
R_CM_CTX_set_info() R_CR_CTX * Passes the certificate context to use when creating a certificate structure in the cryptographic message code.

#define R_CM_CTX_INFO_R_CR_CTX
 

Indicates the cryptographic context of the cryptographic message context. The following table details the usage of identifiers in Context Functions.

Function Value Data Type Description
R_CM_CTX_get_info() R_CR_CTX ** Returns a reference to the cryptographic context.
R_CM_CTX_set_info() R_CR_CTX * Passes the cryptographic context to use when creating a cryptographic structure in which the cryptographic message code is passed.

#define R_CM_CTX_INFO_R_LIB_CTX
 

Indicates the library context of the cryptographic message context. The following table details the usage of identifiers in Context Functions.

Function Value Data Type Description
R_CM_CTX_get_info() R_LIB_CTX ** Returns a reference to the library context.

#define R_CM_CTX_INFO_TYPE
 

Indicates the type of the cryptographic messages supported. The following table details the usage of identifiers in Context Functions.

Function Value Data Type Description
R_CM_CTX_get_info() R_CM_TYPE * Returns the cryptographic message types supported by the context.


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