283
283
PKIX_CertStore **pCertStore,
284
284
void *plContext);
287
* FUNCTION: PKIX_PL_EkuChecker_Create
290
* Create a CertChainChecker with EkuCheckerState and add it into
291
* PKIX_ProcessingParams object.
295
* a PKIX_ProcessingParams links to PKIX_ComCertSelParams where a list of
296
* Extended Key Usage OIDs specified by application can be retrieved for
299
* Platform-specific context pointer.
302
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
305
* Returns NULL if the function succeeds.
306
* Returns a UserDefinedModules Error if the function fails in a non-fatal
308
* Returns a Fatal Error
311
PKIX_PL_EkuChecker_Create(
312
PKIX_ProcessingParams *params,
316
* FUNCTION: PKIX_PL_EkuChecker_GetRequiredEku
319
* This function retrieves application specified ExtenedKeyUsage(s) from
320
* ComCertSetparams and converts its OID representations to SECCertUsageEnum.
321
* The result is stored and returned in bit mask at "pRequiredExtKeyUsage".
325
* a PKIX_CertSelector links to PKIX_ComCertSelParams where a list of
326
* Extended Key Usage OIDs specified by application can be retrieved for
327
* verification. Must be non-NULL.
328
* "pRequiredExtKeyUsage"
329
* Address where the result is returned. Must be non-NULL.
331
* Platform-specific context pointer.
334
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
337
* Returns NULL if the function succeeds.
338
* Returns a UserDefinedModules Error if the function fails in a non-fatal
340
* Returns a Fatal Error
343
pkix_pl_EkuChecker_GetRequiredEku(
344
PKIX_CertSelector *certSelector,
345
PKIX_UInt32 *pRequiredExtKeyUsage,
348
286
/* PKIX_PL_NssContext
350
288
* A PKIX_PL_NssContext provides an example showing how the "plContext"
422
360
PKIX_PL_NssContext_Destroy(
423
361
void *nssContext);
364
* FUNCTION: PKIX_PL_NssContext_SetTimeout
367
* Sets IO timeout for network operations like OCSP response and cert
372
* Address of NssContext to be destroyed. Must be non-NULL.
374
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
376
* Returns NULL if the function succeeds.
377
* Returns a Context Error if the function fails in a non-fatal way.
378
* Returns a Fatal Error if the function fails in an unrecoverable way.
381
PKIX_PL_NssContext_SetTimeout(PKIX_UInt32 timeout, PKIX_PL_NssContext *nssContext);
384
* FUNCTION: PKIX_PL_NssContext_SetMaxResponseLen
387
* Sets maximum responce length allowed during network IO operations.
391
* Address of NssContext to be destroyed. Must be non-NULL.
393
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
395
* Returns NULL if the function succeeds.
396
* Returns a Context Error if the function fails in a non-fatal way.
397
* Returns a Fatal Error if the function fails in an unrecoverable way.
400
PKIX_PL_NssContext_SetMaxResponseLen(PKIX_UInt32 len, PKIX_PL_NssContext *nssContext);
425
402
#ifdef __cplusplus