RSA Security logo

RSA BSAFE Cert-C
API Reference

crlstat.h File Reference

This file defines the public interface to a certificate revocation status provider based on CRLs.

#include "service.h"

Go to the source code of this file.

Data Structures

struct  CRL_STATUS_INIT_PARAMS
 This structure holds initialization parameters for the Cert-C CRL Revocation Status Service Provider. More...


Functions

int S_InitializeCRLStatus (CERTC_CTX ctx, POINTER params, SERVICE_FUNCS *funcs, POINTER *handle)
 This function is never called directly. More...


Function Documentation

int S_InitializeCRLStatus CERTC_CTX    ctx,
POINTER    params,
SERVICE_FUNCS   funcs,
POINTER *    handle
;
 

This function is never called directly. To initialize or register the Cert-C CRL Revocation Status service provider, call the C_InitializeCertC() or C_RegisterService() function. Both functions take SERVICE_HANDLER and a POINTER to a parameters structure as parameters. SERVICE_HANDLER's Initialize parameter points to the S_InitializeCRLStatus() function, and the corresponding POINTER must be set to NULL_PTR.

Cert-C uses S_InitializeCRLStatus() to initialize the Cert-C CMP PKI service provider functions and initialization parameters. S_InitializeCRLStatus() stores pointers to the Cert-C CRL Revocation Status service provider functions in funcs's revoke member, which is a cert_revoke_funcs structure.

Parameters:
ctx This input parameter points to an initialized Cert-C context handle.
params This input parameter should be set to NULL_PTR. No parameters are required to initialize the Cert-C CRL Revocation Status service provider.
funcs This is both an input and output parameter. As an input parameter, it points to an allocated but uninitialized SERVICE_FUNCS union. As an output parameter, it contains the the pki_funcs function pointers for the Cert-C CRL Revocation Status service provider.
handle This output parameter points to the handle for this instance of the Cert-C CRL Revocation Status service provider.
Returns:
If successful, returns 0 (zero). If not, returns a Cert-C error code.



RSA BSAFE® Cert-C 2.7 API Reference