1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is the PKIX-C library.
16 * The Initial Developer of the Original Code is
17 * Sun Microsystems, Inc.
18 * Portions created by the Initial Developer are
19 * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
22 * Sun Microsystems, Inc.
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 * This file defines functions associated with the PKIX_CRLSelector and the
39 * PKIX_ComCRLSelParams types.
44 #ifndef _PKIX_CRLSEL_H
45 #define _PKIX_CRLSEL_H
55 * Please refer to the libpkix Programmer's Guide for detailed information
56 * about how to use the libpkix library. Certain key warnings and notices from
57 * that document are repeated here for emphasis.
59 * All identifiers in this file (and all public identifiers defined in
60 * libpkix) begin with "PKIX_". Private identifiers only intended for use
61 * within the library begin with "pkix_".
63 * A function returns NULL upon success, and a PKIX_Error pointer upon failure.
65 * Unless otherwise noted, for all accessor (gettor) functions that return a
66 * PKIX_PL_Object pointer, callers should assume that this pointer refers to a
67 * shared object. Therefore, the caller should treat this shared object as
68 * read-only and should not modify this shared object. When done using the
69 * shared object, the caller should release the reference to the object by
70 * using the PKIX_PL_Object_DecRef function.
72 * While a function is executing, if its arguments (or anything referred to by
73 * its arguments) are modified, free'd, or destroyed, the function's behavior
80 * PKIX_CRLSelectors provide a standard way for the caller to select CRLs
81 * based on particular criteria. A CRLSelector is typically used by libpkix
82 * to retrieve CRLs from a CertStore during certificate chain validation or
83 * building. (see pkix_certstore.h) For example, the caller may wish to only
84 * select those CRLs that have a particular issuer or a particular value for a
85 * private CRL extension. The MatchCallback allows the caller to specify the
86 * custom matching logic to be used by a CRLSelector.
88 * By default, the MatchCallback is set to point to the default implementation
89 * provided by libpkix, which understands how to process the most common
90 * parameters. If the default implementation is used, the caller should set
91 * these common parameters using PKIX_CRLSelector_SetCommonCRLSelectorParams.
92 * Any common parameter that is not set is assumed to be disabled, which means
93 * the default MatchCallback implementation will select all CRLs without
94 * regard to that particular disabled parameter. For example, if the
95 * MaxCRLNumber parameter is not set, MatchCallback will not filter out any
96 * CRL based on its CRL number. As such, if no parameters are set, all are
97 * disabled and any CRL will match. If a parameter is disabled, its associated
98 * PKIX_ComCRLSelParams_Get* function returns a default value of NULL.
100 * If a custom implementation is desired, the default implementation can be
101 * overridden by calling PKIX_CRLSelector_SetMatchCallback. In this case, the
102 * CRLSelector can be initialized with a crlSelectorContext, which is where
103 * the caller can specify the desired parameters the caller wishes to match
104 * against. Note that this crlSelectorContext must be a PKIX_PL_Object,
105 * allowing it to be reference-counted and allowing it to provide the standard
106 * PKIX_PL_Object functions (Equals, Hashcode, ToString, Compare, Duplicate).
111 * FUNCTION: PKIX_CRLSelector_MatchCallback
114 * This callback function determines whether the specified CRL pointed to by
115 * "crl" matches the criteria of the CRLSelector pointed to by "selector".
116 * If the CRL matches the CRLSelector's criteria, PKIX_TRUE is stored at
117 * "pMatch". Otherwise PKIX_FALSE is stored at "pMatch".
121 * Address of CRLSelector whose MatchCallback logic and parameters are
122 * to be used. Must be non-NULL.
124 * Address of CRL that is to be matched using "selector". Must be non-NULL.
126 * Address at which Boolean result is stored. Must be non-NULL.
128 * Platform-specific context pointer.
132 * Multiple threads must be able to safely call this function without
133 * worrying about conflicts, even if they're operating on the same objects.
135 * Returns NULL if the function succeeds.
136 * Returns a CRLSelector Error if the function fails in a non-fatal way.
137 * Returns a Fatal Error if the function fails in an unrecoverable way.
140 (*PKIX_CRLSelector_MatchCallback
)(
141 PKIX_CRLSelector
*selector
,
143 PKIX_Boolean
*pMatch
,
147 * FUNCTION: PKIX_CRLSelector_Create
150 * Creates a new CRLSelector using the Object pointed to by
151 * "crlSelectorContext" (if any) and stores it at "pSelector". As noted
152 * above, by default, the MatchCallback is set to point to the default
153 * implementation provided by libpkix, which understands how to process
154 * ComCRLSelParams. This is overridden if the MatchCallback pointed to by
155 * "callback" is not NULL, in which case the parameters are specified using
156 * the Object pointed to by "crlSelectorContext".
160 * The MatchCallback function to be used.
161 * "crlSelectorContext"
162 * Address of Object representing the CRLSelector's context (if any).
164 * Address where object pointer will be stored. Must be non-NULL.
166 * Platform-specific context pointer.
168 * Thread Safe (see Thread Safety Definitions in Programmer's Guide)
170 * Returns NULL if the function succeeds.
171 * Returns a CRLSelector Error if the function fails in a non-fatal way.
172 * Returns a Fatal Error if the function fails in an unrecoverable way.
175 PKIX_CRLSelector_Create(
176 PKIX_CRLSelector_MatchCallback callback
,
177 PKIX_PL_Object
*crlSelectorContext
,
178 PKIX_CRLSelector
**pSelector
,
182 * FUNCTION: PKIX_CRLSelector_GetMatchCallback
185 * Retrieves a pointer to "selector's" Match callback function and puts it in
190 * The CRLSelector whose Match callback is desired. Must be non-NULL.
192 * Address where Match callback function pointer will be stored.
195 * Platform-specific context pointer.
197 * Thread Safe (see Thread Safety Definitions in Programmer's Guide)
199 * Returns NULL if the function succeeds.
200 * Returns a CRLSelector Error if the function fails in a non-fatal way.
201 * Returns a Fatal Error if the function fails in an unrecoverable way.
204 PKIX_CRLSelector_GetMatchCallback(
205 PKIX_CRLSelector
*selector
,
206 PKIX_CRLSelector_MatchCallback
*pCallback
,
210 * FUNCTION: PKIX_CRLSelector_GetCRLSelectorContext
213 * Retrieves a pointer to a PKIX_PL_Object representing the context (if any)
214 * of the CRLSelector pointed to by "selector" and stores it at
215 * "pCRLSelectorContext".
219 * Address of CRLSelector whose context is to be stored. Must be non-NULL.
220 * "pCRLSelectorContext"
221 * Address where object pointer will be stored. Must be non-NULL.
223 * Platform-specific context pointer.
225 * Thread Safe (see Thread Safety Definitions in Programmer's Guide)
227 * Returns NULL if the function succeeds.
228 * Returns a CRLSelector Error if the function fails in a non-fatal way.
229 * Returns a Fatal Error if the function fails in an unrecoverable way.
232 PKIX_CRLSelector_GetCRLSelectorContext(
233 PKIX_CRLSelector
*selector
,
234 void **pCRLSelectorContext
,
238 * FUNCTION: PKIX_CRLSelector_GetCommonCRLSelectorParams
241 * Retrieves a pointer to the ComCRLSelParams object that represent the common
242 * parameters of the CRLSelector pointed to by "selector" and stores it at
243 * "pCommonCRLSelectorParams". If there are no common parameters stored with
244 * the CRLSelector, this function stores NULL at "pCommonCRLSelectorParams".
248 * Address of CRLSelector whose ComCRLSelParams are to be stored.
250 * "pCommonCRLSelectorParams"
251 * Address where object pointer will be stored. Must be non-NULL.
253 * Platform-specific context pointer.
255 * Conditionally Thread Safe
256 * (see Thread Safety Definitions in Programmer's Guide)
258 * Returns NULL if the function succeeds.
259 * Returns a CRLSelector Error if the function fails in a non-fatal way.
260 * Returns a Fatal Error if the function fails in an unrecoverable way.
263 PKIX_CRLSelector_GetCommonCRLSelectorParams(
264 PKIX_CRLSelector
*selector
,
265 PKIX_ComCRLSelParams
**pCommonCRLSelectorParams
,
269 * FUNCTION: PKIX_CRLSelector_SetCommonCRLSelectorParams
272 * Sets the common parameters for the CRLSelector pointed to by "selector"
273 * using the ComCRLSelParams pointed to by "commonCRLSelectorParams".
277 * Address of CRLSelector whose common parameters are to be set.
279 * "commonCRLSelectorParams"
280 * Address of ComCRLSelParams representing the common parameters.
282 * Platform-specific context pointer.
284 * Not Thread Safe - assumes exclusive access to "selector"
285 * (see Thread Safety Definitions in Programmer's Guide)
287 * Returns NULL if the function succeeds.
288 * Returns a CRLSelector Error if the function fails in a non-fatal way.
289 * Returns a Fatal Error if the function fails in an unrecoverable way.
292 PKIX_CRLSelector_SetCommonCRLSelectorParams(
293 PKIX_CRLSelector
*selector
,
294 PKIX_ComCRLSelParams
*commonCRLSelectorParams
,
297 /* PKIX_ComCRLSelParams
299 * PKIX_ComCRLSelParams are X.509 parameters commonly used with CRLSelectors,
300 * especially determining which CRLs to retrieve from a CertStore.
301 * PKIX_ComCRLSelParams are typically used with those CRLSelectors that use
302 * the default implementation of MatchCallback, which understands how to
303 * process ComCRLSelParams.
307 * FUNCTION: PKIX_ComCRLSelParams_Create
310 * Creates a new ComCRLSelParams object and stores it at "pParams".
314 * Address where object pointer will be stored. Must be non-NULL.
316 * Platform-specific context pointer.
318 * Thread Safe (see Thread Safety Definitions in Programmer's Guide)
320 * Returns NULL if the function succeeds.
321 * Returns a CRLSelector Error if the function fails in a non-fatal way.
322 * Returns a Fatal Error if the function fails in an unrecoverable way.
325 PKIX_ComCRLSelParams_Create(
326 PKIX_ComCRLSelParams
**pParams
,
330 * FUNCTION: PKIX_ComCRLSelParams_GetIssuerNames
333 * Retrieves a pointer to the List of X500Names (if any) representing the
334 * issuer names criterion that is set in the ComCRLSelParams pointed to by
335 * "params" and stores it at "pNames". In order to match against this
336 * criterion, a CRL's IssuerName must match at least one of the criterion's
339 * If "params" does not have this criterion set, this function stores NULL at
340 * "pNames", in which case all CRLs are considered to match.
342 * Note that the List returned by this function is immutable.
346 * Address of ComCRLSelParams whose issuer names criterion (if any) is to
347 * be stored. Must be non-NULL.
349 * Address where object pointer will be stored. Must be non-NULL.
351 * Platform-specific context pointer.
353 * Conditionally Thread Safe
354 * (see Thread Safety Definitions in Programmer's Guide)
356 * Returns NULL if the function succeeds.
357 * Returns a CRLSelector Error if the function fails in a non-fatal way.
358 * Returns a Fatal Error if the function fails in an unrecoverable way.
361 PKIX_ComCRLSelParams_GetIssuerNames(
362 PKIX_ComCRLSelParams
*params
,
363 PKIX_List
**pNames
, /* list of PKIX_PL_X500Name */
367 * FUNCTION: PKIX_ComCRLSelParams_SetIssuerNames
370 * Sets the issuer names criterion of the ComCRLSelParams pointed to by
371 * "params" using a List of X500Names pointed to by "names". In order to match
372 * against this criterion, a CRL's IssuerName must match at least one of the
373 * criterion's issuer names.
377 * Address of ComCRLSelParamsParams whose issuer names criterion is to be
378 * set. Must be non-NULL.
380 * Address of List of X500Names used to set the criterion
382 * Platform-specific context pointer.
384 * Not Thread Safe - assumes exclusive access to "params"
385 * (see Thread Safety Definitions in Programmer's Guide)
387 * Returns NULL if the function succeeds.
388 * Returns a CRLSelector Error if the function fails in a non-fatal way.
389 * Returns a Fatal Error if the function fails in an unrecoverable way.
392 PKIX_ComCRLSelParams_SetIssuerNames(
393 PKIX_ComCRLSelParams
*params
,
394 PKIX_List
*names
, /* list of PKIX_PL_X500Name */
398 * FUNCTION: PKIX_ComCRLSelParams_AddIssuerName
401 * Adds to the issuer names criterion of the ComCRLSelParams pointed to by
402 * "params" using the X500Name pointed to by "name". In order to match
403 * against this criterion, a CRL's IssuerName must match at least one of the
404 * criterion's issuer names.
408 * Address of ComCRLSelParams whose issuer names criterion is to be added
409 * to. Must be non-NULL.
411 * Address of X500Name to be added.
413 * Platform-specific context pointer.
415 * Not Thread Safe - assumes exclusive access to "params"
416 * (see Thread Safety Definitions in Programmer's Guide)
418 * Returns NULL if the function succeeds.
419 * Returns a CRLSelector Error if the function fails in a non-fatal way.
420 * Returns a Fatal Error if the function fails in an unrecoverable way.
423 PKIX_ComCRLSelParams_AddIssuerName(
424 PKIX_ComCRLSelParams
*params
,
425 PKIX_PL_X500Name
*name
,
429 * FUNCTION: PKIX_ComCRLSelParams_GetCertificateChecking
432 * Retrieves a pointer to the Cert (if any) representing the certificate whose
433 * revocation status is being checked. This is not a criterion. It is simply
434 * optional information that may help a CertStore find relevant CRLs.
436 * If "params" does not have a certificate set, this function stores NULL at
437 * "pCert", in which case there is no optional information to provide.
441 * Address of ComCRLSelParams whose certificate being checked (if any) is
442 * to be stored. Must be non-NULL.
444 * Address where object pointer will be stored. Must be non-NULL.
446 * Platform-specific context pointer.
448 * Conditionally Thread Safe
449 * (see Thread Safety Definitions in Programmer's Guide)
451 * Returns NULL if the function succeeds
452 * Returns a CRLSelector Error if the function fails in a non-fatal way.
453 * Returns a Fatal Error if the function fails in an unrecoverable way.
456 PKIX_ComCRLSelParams_GetCertificateChecking(
457 PKIX_ComCRLSelParams
*params
,
458 PKIX_PL_Cert
**pCert
,
462 * FUNCTION: PKIX_ComCRLSelParams_SetCertificateChecking
465 * Sets the ComCRLSelParams pointed to by "params" with the certificate
466 * (pointed to by "cert") whose revocation status is being checked. This is
467 * not a criterion. It is simply optional information that may help a
468 * CertStore find relevant CRLs.
472 * Address of ComCRLSelParams whose certificate being checked is to be
473 * set. Must be non-NULL.
475 * Address of Cert whose revocation status is being checked
477 * Platform-specific context pointer.
479 * Not Thread Safe - assumes exclusive access to "params"
480 * (see Thread Safety Definitions in Programmer's Guide)
482 * Returns NULL if the function succeeds.
483 * Returns a CRLSelector Error if the function fails in a non-fatal way.
484 * Returns a Fatal Error if the function fails in an unrecoverable way.
487 PKIX_ComCRLSelParams_SetCertificateChecking(
488 PKIX_ComCRLSelParams
*params
,
493 * FUNCTION: PKIX_ComCRLSelParams_GetDateAndTime
496 * Retrieves a pointer to the Date (if any) representing the dateAndTime
497 * criterion that is set in the ComCRLSelParams pointed to by "params" and
498 * stores it at "pDate". In order to match against this criterion, a CRL's
499 * thisUpdate component must be less than or equal to the criterion's
500 * dateAndTime and the CRL's nextUpdate component must be later than the
501 * criterion's dateAndTime. There is no match if the CRL does not contain a
502 * nextUpdate component.
504 * If "params" does not have this criterion set, this function stores NULL at
505 * "pDate", in which case all CRLs are considered to match.
509 * Address of ComCRLSelParams whose dateAndTime criterion (if any) is to
510 * be stored. Must be non-NULL.
512 * Address where object pointer will be stored. Must be non-NULL.
514 * Platform-specific context pointer.
516 * Conditionally Thread Safe
517 * (see Thread Safety Definitions in Programmer's Guide)
519 * Returns NULL if the function succeeds.
520 * Returns a CRLSelector Error if the function fails in a non-fatal way.
521 * Returns a Fatal Error if the function fails in an unrecoverable way.
524 PKIX_ComCRLSelParams_GetDateAndTime(
525 PKIX_ComCRLSelParams
*params
,
526 PKIX_PL_Date
**pDate
,
530 * FUNCTION: PKIX_ComCRLSelParams_SetDateAndTime
533 * Sets the dateAndTime criterion of the ComCRLSelParams pointed to by
534 * "params" using a Date pointed to by "date". In order to match against this
535 * criterion, a CRL's thisUpdate component must be less than or equal to the
536 * criterion's dateAndTime and the CRL's nextUpdate component must be later
537 * than the criterion's dateAndTime. There is no match if the CRL does not
538 * contain a nextUpdate component.
542 * Address of ComCRLSelParamsParams whose dateAndTime criterion is to be
543 * set. Must be non-NULL.
545 * Address of Date used to set the criterion
547 * Platform-specific context pointer.
549 * Not Thread Safe - assumes exclusive access to "params"
550 * (see Thread Safety Definitions in Programmer's Guide)
552 * Returns NULL if the function succeeds.
553 * Returns a CRLSelector Error if the function fails in a non-fatal way.
554 * Returns a Fatal Error if the function fails in an unrecoverable way.
557 PKIX_ComCRLSelParams_SetDateAndTime(
558 PKIX_ComCRLSelParams
*params
,
563 * FUNCTION: PKIX_ComCRLSelParams_GetNISTPolicyEnabled
566 * Retrieves a pointer to the Boolean representing the NIST CRL policy
567 * activation flag that is set in the ComCRLSelParams pointed to by "params"
568 * and stores it at "enabled". If enabled, a CRL must have nextUpdate field.
570 * Default value for this flag is TRUE.
574 * Address of ComCRLSelParams whose NIST CRL policy criterion is to
575 * be stored. Must be non-NULL.
577 * Address where object pointer will be stored. Must be non-NULL.
579 * Platform-specific context pointer.
581 * Conditionally Thread Safe
582 * (see Thread Safety Definitions in Programmer's Guide)
584 * Returns NULL if the function succeeds.
585 * Returns a CRLSelector Error if the function fails in a non-fatal way.
586 * Returns a Fatal Error if the function fails in an unrecoverable way.
589 PKIX_ComCRLSelParams_GetNISTPolicyEnabled(
590 PKIX_ComCRLSelParams
*params
,
591 PKIX_Boolean
*pEnabled
,
595 * FUNCTION: PKIX_ComCRLSelParams_SetNISTPolicyEnabled
598 * Sets the NIST crl policy criterion of the ComCRLSelParams pointed to by
599 * "params" using a "enabled" flag. In order to match against this
600 * criterion, a CRL's nextUpdate must be available and criterion's
601 * dataAndTime must be within thisUpdate and nextUpdate time period.
605 * Address of ComCRLSelParamsParams whose NIST CRL policy criterion
606 * is to be set. Must be non-NULL.
608 * Address of Bollean used to set the criterion
610 * Platform-specific context pointer.
612 * Not Thread Safe - assumes exclusive access to "params"
613 * (see Thread Safety Definitions in Programmer's Guide)
615 * Returns NULL if the function succeeds.
616 * Returns a CRLSelector Error if the function fails in a non-fatal way.
617 * Returns a Fatal Error if the function fails in an unrecoverable way.
620 PKIX_ComCRLSelParams_SetNISTPolicyEnabled(
621 PKIX_ComCRLSelParams
*params
,
622 PKIX_Boolean enabled
,
626 * FUNCTION: PKIX_ComCRLSelParams_GetMaxCRLNumber
629 * Retrieves a pointer to the BigInt (if any) representing the maxCRLNumber
630 * criterion that is set in the ComCRLSelParams pointed to by "params" and
631 * stores it at "pNumber". In order to match against this criterion, a CRL
632 * must have a CRL number extension whose value is less than or equal to the
635 * If "params" does not have this criterion set, this function stores NULL at
636 * "pNumber", in which case all CRLs are considered to match.
640 * Address of ComCRLSelParams whose maxCRLNumber criterion (if any) is to
641 * be stored. Must be non-NULL.
643 * Address where object pointer will be stored. Must be non-NULL.
645 * Platform-specific context pointer.
647 * Conditionally Thread Safe
648 * (see Thread Safety Definitions in Programmer's Guide)
650 * Returns NULL if the function succeeds.
651 * Returns a CRLSelector Error if the function fails in a non-fatal way.
652 * Returns a Fatal Error if the function fails in an unrecoverable way.
655 PKIX_ComCRLSelParams_GetMaxCRLNumber(
656 PKIX_ComCRLSelParams
*params
,
657 PKIX_PL_BigInt
**pNumber
,
661 * FUNCTION: PKIX_ComCRLSelParams_SetMaxCRLNumber
664 * Sets the maxCRLNumber criterion of the ComCRLSelParams pointed to by
665 * "params" using a BigInt pointed to by "number". In order to match against
666 * this criterion, a CRL must have a CRL number extension whose value is less
667 * than or equal to the criterion's value.
671 * Address of ComCRLSelParamsParams whose maxCRLNumber criterion is to be
672 * set. Must be non-NULL.
674 * Address of BigInt used to set the criterion
676 * Platform-specific context pointer.
678 * Not Thread Safe - assumes exclusive access to "params"
679 * (see Thread Safety Definitions in Programmer's Guide)
681 * Returns NULL if the function succeeds.
682 * Returns a CRLSelector Error if the function fails in a non-fatal way.
683 * Returns a Fatal Error if the function fails in an unrecoverable way.
686 PKIX_ComCRLSelParams_SetMaxCRLNumber(
687 PKIX_ComCRLSelParams
*params
,
688 PKIX_PL_BigInt
*number
,
692 * FUNCTION: PKIX_ComCRLSelParams_GetMinCRLNumber
695 * Retrieves a pointer to the BigInt (if any) representing the minCRLNumber
696 * criterion that is set in the ComCRLSelParams pointed to by "params" and
697 * stores it at "pNumber". In order to match against this criterion, a CRL
698 * must have a CRL number extension whose value is greater than or equal to
699 * the criterion's value.
701 * If "params" does not have this criterion set, this function stores NULL at
702 * "pNumber", in which case all CRLs are considered to match.
706 * Address of ComCRLSelParams whose minCRLNumber criterion (if any) is to
707 * be stored. Must be non-NULL.
709 * Address where object pointer will be stored. Must be non-NULL.
711 * Platform-specific context pointer.
713 * Conditionally Thread Safe
714 * (see Thread Safety Definitions in Programmer's Guide)
716 * Returns NULL if the function succeeds.
717 * Returns a CRLSelector Error if the function fails in a non-fatal way.
718 * Returns a Fatal Error if the function fails in an unrecoverable way.
721 PKIX_ComCRLSelParams_GetMinCRLNumber(
722 PKIX_ComCRLSelParams
*params
,
723 PKIX_PL_BigInt
**pNumber
,
727 * FUNCTION: PKIX_ComCRLSelParams_SetMinCRLNumber
730 * Sets the minCRLNumber criterion of the ComCRLSelParams pointed to by
731 * "params" using a BigInt pointed to by "number". In order to match against
732 * this criterion, a CRL must have a CRL number extension whose value is
733 * greater than or equal to the criterion's value.
737 * Address of ComCRLSelParamsParams whose minCRLNumber criterion is to be
738 * set. Must be non-NULL.
740 * Address of BigInt used to set the criterion
742 * Platform-specific context pointer.
744 * Not Thread Safe - assumes exclusive access to "params"
745 * (see Thread Safety Definitions in Programmer's Guide)
747 * Returns NULL if the function succeeds.
748 * Returns a CRLSelector Error if the function fails in a non-fatal way.
749 * Returns a Fatal Error if the function fails in an unrecoverable way.
752 PKIX_ComCRLSelParams_SetMinCRLNumber(
753 PKIX_ComCRLSelParams
*params
,
754 PKIX_PL_BigInt
*number
,
761 #endif /* _PKIX_CRLSEL_H */