RSA Security logo

RSA BSAFE Cert-C
API Reference

imdb.h

Go to the documentation of this file.
00001 /*
00002 ** Copyright (c) 2000-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 _IMDB_H_
00015 #define _IMDB_H_ 1
00016 
00024 #include "service.h"
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 /* Initialization parameters */
00031 
00103 typedef struct {
00104   LIST_OBJ certs;              /* cert list */
00105   LIST_OBJ crls;               /* CRL list */
00106   LIST_OBJ spkis;              /* list of subject public key info */
00107   LIST_OBJ keys;               /* private key list */
00108 } MEMORY_DB_PARAMS;
00109 
00167 int S_InitializeMemoryDB (
00168   POINTER        ctx,          /* Cert-C context */
00169   POINTER        params,       /* provider-specific parameters */
00170   SERVICE_FUNCS *funcs,        /* (out) provider functions */
00171   POINTER       *handle);      /* (out) provider handle */
00172 
00173 #ifdef __cplusplus
00174 }
00175 #endif
00176 
00177 #endif /* _IMDB_H_ */



RSA BSAFE® Cert-C 2.7 API Reference