RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

Operation Functions

This section outlines the functions used for initialization and manipulation of the R_LIB_CTX and resources used within.

Functions

int R_LIB_CTX_new (R_RES_LIST *r_list, R_RES_FLAG flag, R_LIB_CTX **lib_ctx)
 Allocates the library context based upon a supplied resource list. More...

int R_LIB_CTX_free (R_LIB_CTX *lib_ctx)
 Deallocates the library context. More...


Function Documentation

int R_LIB_CTX_free R_LIB_CTX   lib_ctx ;
 

Deallocates the library context.

Parameters:
lib_ctx [In] The R_LIB_CTX reference.
Returns:
R_ERROR_NONE indicates success.
See Error Identifiers for valid values.
Note:
This function is the default library context deallocation function. This function should be called where product-specific library de-allocation functions exist. It is the calling application's responsibility to set the library context reference lib_ctx to NULL after this function has been called.
See also:
R_LIB_CTX_new().

int R_LIB_CTX_new R_RES_LIST   r_list,
R_RES_FLAG    flag,
R_LIB_CTX **    lib_ctx
;
 

Allocates the library context based upon a supplied resource list.

Parameters:
r_list [In] The resource list reference.
flag [In] The library initialization flags.
lib_ctx [Out] The allocated library context.
Returns:
R_ERROR_NONE indicates success.
See Error Identifiers for valid values.
See also:
R_LIB_CTX_free().


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