pkix_pl_crl.h (1288B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 /* 5 * pkix_pl_crl.h 6 * 7 * CRL Object Type Definitions 8 * 9 */ 10 11 #ifndef _PKIX_PL_CRL_H 12 #define _PKIX_PL_CRL_H 13 14 #include "pkix_pl_common.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 struct PKIX_PL_CRLStruct { 21 CERTSignedCrl *nssSignedCrl; 22 PKIX_PL_X500Name *issuer; 23 PKIX_PL_OID *signatureAlgId; 24 PKIX_PL_BigInt *crlNumber; 25 PKIX_Boolean crlNumberAbsent; 26 PKIX_List *crlEntryList; /* list of PKIX_PL_CRLEntry */ 27 PKIX_List *critExtOids; 28 SECItem *adoptedDerCrl; 29 SECItem *derGenName; /* der of general name which was used 30 * to download the crl. */ 31 }; 32 33 /* see source file for function documentation */ 34 35 PKIX_Error *pkix_pl_CRL_RegisterSelf(void *plContext); 36 37 PKIX_Error * 38 pkix_pl_CRL_CreateWithSignedCRL(CERTSignedCrl *nssSignedCrl, 39 SECItem *derCrl, 40 SECItem *derGenName, 41 PKIX_PL_CRL **pCrl, 42 void *plContext); 43 44 #ifdef __cplusplus 45 } 46 #endif 47 48 #endif /* _PKIX_PL_CRL_H */