![]() |
RSA BSAFE Cert-C |
Cert-C CryptoAPI Database Service Provider
Database Service ProviderElements: | DB_FUNCS |
Cert-C CryptoAPI Database Service Provider Elements: |
SelectCertByAttributes in DB_FUNCS is not implemented.MS_CAPI_DB_PARAMS passes initialization parameters to this implementation. S_InitializeCryptoAPIDB |
The Cert-C CryptoAPI Database service provider translates Cert-C database function calls into CryptoAPI function calls. This enables the sharing of keys and certificates among applications written to the Cert-C API and applications written to CryptoAPI. CryptoAPI 2.0 is required to use this provider. This service provider relies upon Microsoft APIs, so it is available only on Microsoft platforms.
To initialize or register the Cert-C CryptoAPI Database service provider,
call either the C_InitializeCertC or the C_RegisterService function.
Both functions take SERVICE_HANDLER
as a parameter. The Initialize member in
SERVICE_HANDLER points to the
S_InitializeCryptoAPIDB
function. The corresponding POINTER
should point to a
MS_CAPI_DB_PARAMS structure,
or it should be NULL_PTR
.
The S_InitializeCryptoAPIDB
function initializes the Cert-C CryptoAPI Database service provider's implementation
of the database functions and stores pointers to them in
SERVICE_FUNCS's db member, which is a
DB_FUNCS
structure. Never call
S_InitializeCryptoAPIDB directly.
To use the Cert-C CryptoAPI Database service provider in an application, be sure to link in the certcsp
library and include the capiprov.h header file.