RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Context Information Identifiers

This section lists the identifiers used to set and/or retrieve information from an R_PKEY_CTX object. The following table details the data types to pass into param when calling R_PKEY_CTX_get_info().

Identifier Param Data Type
R_PKEY_CTX_INFO_ID_LIB_CTX R_LIB_CTX **
R_PKEY_CTX_INFO_ID_R_PKEY_METHOD R_PKEY_METHOD **
R_PKEY_CTX_INFO_ID_CRYPTO_CTX void **
R_PKEY_CTX_INFO_ID_FLAG int *
R_PKEY_CTX_INFO_ID_DATA void **

The following table details the data types to pass into param when calling R_PKEY_CTX_set_info().

Identifier Param Data Type
R_PKEY_CTX_INFO_ID_FLAG int *
R_PKEY_CTX_INFO_ID_DATA void **


Defines

#define R_PKEY_CTX_INFO_ID_LIB_CTX
 This identifier is used for the retrieval of the R_LIB_CTX associated with the R_PKEY_CTX. More...

#define R_PKEY_CTX_INFO_ID_R_PKEY_METHOD
 This identifier is used for the retrieval of the R_PKEY_METHOD associated with the R_PKEY_CTX. More...

#define R_PKEY_CTX_INFO_ID_CRYPTO_CTX
 This identifier is used for the retrieval of the cryptographic context associated with the R_PKEY_CTX. More...

#define R_PKEY_CTX_INFO_ID_FLAG
 This identifier is used for the setting or retrieval of the flags associated with the R_PKEY_CTX. More...

#define R_PKEY_CTX_INFO_ID_DATA
 This identifier is used for the setting or retrieval of the extra implementation data associated with the R_PKEY_CTX. More...


Define Documentation

#define R_PKEY_CTX_INFO_ID_CRYPTO_CTX
 

This identifier is used for the retrieval of the cryptographic context associated with the R_PKEY_CTX. To retrieve this value the parameter reference should be passed in as cast void **.

See also:
R_PKEY_CTX_get_info().

#define R_PKEY_CTX_INFO_ID_DATA
 

This identifier is used for the setting or retrieval of the extra implementation data associated with the R_PKEY_CTX. To retrieve this value the parameter reference should be passed in as cast void **.

See also:
R_PKEY_CTX_get_info() and R_PKEY_CTX_set_info().

#define R_PKEY_CTX_INFO_ID_FLAG
 

This identifier is used for the setting or retrieval of the flags associated with the R_PKEY_CTX. To retrieve this value the parameter reference should be passed in as cast int *.

See also:
R_PKEY_CTX_get_info() and R_PKEY_CTX_set_info().

#define R_PKEY_CTX_INFO_ID_LIB_CTX
 

This identifier is used for the retrieval of the R_LIB_CTX associated with the R_PKEY_CTX. To retrieve this value the parameter reference should be passed in as cast R_LIB_CTX **.

See also:
R_PKEY_CTX_get_info().

#define R_PKEY_CTX_INFO_ID_R_PKEY_METHOD
 

This identifier is used for the retrieval of the R_PKEY_METHOD associated with the R_PKEY_CTX. To retrieve this value the parameter reference should be passed in as cast R_PKEY_METHOD **.

See also:
R_PKEY_CTX_get_info().


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