276
275
void *plContext);
278
* FUNCTION: PKIX_CertStore_ImportCrlCallback
281
* The function imports crl list into a cert store. Stores that
282
* have local cache may only have that function defined.
286
* Address of CertStore from which CRLs are to be retrieved.
289
* Address on the importing crl list.
291
* Platform-specific context pointer.
295
* Multiple threads must be able to safely call this function without
296
* worrying about conflicts, even if they're operating on the same object.
298
* Returns NULL if the function succeeds.
299
* Returns a CertStore Error if the function fails in a non-fatal way.
300
* Returns a Fatal Error if the function fails in an unrecoverable way.
303
(*PKIX_CertStore_ImportCrlCallback)(
304
PKIX_CertStore *store,
309
* FUNCTION: PKIX_CertStore_CheckRevokationByCrlCallback
312
* The function checks revocation status of a cert with specified
313
* issuer, date. It returns revocation status of a cert and
314
* a reason code(if any) if a cert was revoked.
318
* Address of CertStore from which CRLs are to be retrieved.
321
* Certificate which revocation status will be checked.
323
* Issuer certificate of the "crl".
325
* Date of the revocation check.
327
* If cert is revoked, returned reason code for which a cert was revoked.
329
* Returned revocation status of the cert. See PKIX_RevocationStatus
332
* Platform-specific context pointer.
336
* Multiple threads must be able to safely call this function without
337
* worrying about conflicts, even if they're operating on the same object.
339
* Returns NULL if the function succeeds.
340
* Returns a CertStore Error if the function fails in a non-fatal way.
341
* Returns a Fatal Error if the function fails in an unrecoverable way.
344
(*PKIX_CertStore_CheckRevokationByCrlCallback)(
345
PKIX_CertStore *store,
347
PKIX_PL_Cert *issuer,
349
PKIX_Boolean delayCrlSigCheck,
350
PKIX_UInt32 *reasonCode,
351
PKIX_RevocationStatus *revStatus,
279
355
* FUNCTION: PKIX_CertStore_CrlContinue
427
503
PKIX_CertStore_CertContinueFunction certContinue,
428
504
PKIX_CertStore_CrlContinueFunction crlContinue,
429
505
PKIX_CertStore_CheckTrustCallback trustCallback,
506
PKIX_CertStore_ImportCrlCallback importCrlCallback,
507
PKIX_CertStore_CheckRevokationByCrlCallback checkRevByCrlCallback,
430
508
PKIX_PL_Object *certStoreContext,
431
509
PKIX_Boolean cachedFlag,
432
510
PKIX_Boolean localFlag,
488
566
void *plContext);
569
* FUNCTION: PKIX_CertStore_GetImportCrlCallback
572
* Retrieves a pointer to "store's" Import CRL callback function and put it in
577
* The CertStore whose CRL callback is desired. Must be non-NULL.
579
* Address where CRL callback function pointer will be stored.
582
* Platform-specific context pointer.
584
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
586
* Returns NULL if the function succeeds.
587
* Returns a Fatal Error if the function fails in an unrecoverable way.
590
PKIX_CertStore_GetImportCrlCallback(
591
PKIX_CertStore *store,
592
PKIX_CertStore_ImportCrlCallback *pCallback,
596
* FUNCTION: PKIX_CertStore_GetCheckRevByCrl
599
* Retrieves a pointer to "store's" CRL revocation checker callback function
600
* and put it in "pCallback".
604
* The CertStore whose CRL callback is desired. Must be non-NULL.
606
* Address where CRL callback function pointer will be stored.
609
* Platform-specific context pointer.
611
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
613
* Returns NULL if the function succeeds.
614
* Returns a Fatal Error if the function fails in an unrecoverable way.
617
PKIX_CertStore_GetCrlCheckerFn(
618
PKIX_CertStore *store,
619
PKIX_CertStore_CheckRevokationByCrlCallback *pCallback,
491
623
* FUNCTION: PKIX_CertStore_GetTrustCallback