summaryrefslogtreecommitdiff
path: root/security/nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.h
blob: 08351375d9c2894c561f4a676211d83a44ccd4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
 * pkix_comcrlselparams.h
 *
 * ComCrlSelParams Object Type Definition
 *
 */

#ifndef _PKIX_COMCRLSELPARAMS_H
#define _PKIX_COMCRLSELPARAMS_H

#include "pkix_tools.h"

#ifdef __cplusplus
extern "C" {
#endif

struct PKIX_ComCRLSelParamsStruct {
        PKIX_List *issuerNames; /* list of PKIX_PL_X500Name */
        PKIX_PL_Cert *cert; /* certificate being checked */
        PKIX_List *crldpList;
        PKIX_PL_Date *date;
        PKIX_Boolean nistPolicyEnabled;
        PKIX_PL_BigInt *maxCRLNumber;
        PKIX_PL_BigInt *minCRLNumber;
};

/* see source file for function documentation */

PKIX_Error *pkix_ComCRLSelParams_RegisterSelf(void *plContext);

#ifdef __cplusplus
}
#endif

#endif /* _PKIX_COMCRLSELPARAMS_H */