RSA Security logo

RSA BSAFE Cert-C
API Reference

crlstat.h

Go to the documentation of this file.
00001 /*
00002 ** Copyright (c) 1999-2002, RSA Security Inc.
00003 **
00004 ** This file is used to demonstrate how to interface to an RSA
00005 ** Security licensed development product.  You have a
00006 ** royalty-free right to use, modify, reproduce and distribute this
00007 ** demonstration file (including any modified version), provided that
00008 ** you agree that RSA Security has no warranty, implied or
00009 ** otherwise, or liability for this demonstration file or any modified
00010 ** version.
00011 **
00012 */
00013 
00014 #ifndef _CRLSTAT_H_
00015 #define _CRLSTAT_H_ 1
00016 
00024 #include "service.h"
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00039 typedef struct {
00040     char        *dbName;        /* db name to be used for CRL caching */
00041 } CRL_STATUS_INIT_PARAMS;
00042 
00088 int S_InitializeCRLStatus (
00089   CERTC_CTX      ctx,           /* (mod) Cert-C context */
00090   POINTER        params,        /* (in)  provider-specific parameters */
00091   SERVICE_FUNCS *funcs,         /* (out) provider functions */
00092   POINTER       *handle);       /* (out) provider handle */
00093 
00094 /*
00095    Service provider specific reason codes used in error/status logging.
00096 */
00097 #define CERT_REVOKED_CRL       1 /* Cert revoked in a CRL */
00098 #define CRL_EXPIRED_UPDATETIME 2 /* This is actually a warning message for
00099                                    the validation time is more recent than
00100                                    the next update time in the CRL */
00101 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 #endif /* _CRLSTAT_H_ */



RSA BSAFE® Cert-C 2.7 API Reference