andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public andre@0: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@0: /* andre@0: * pkix_pl_crl.h andre@0: * andre@0: * CRL Object Type Definitions andre@0: * andre@0: */ andre@0: andre@0: #ifndef _PKIX_PL_CRL_H andre@0: #define _PKIX_PL_CRL_H andre@0: andre@0: #include "pkix_pl_common.h" andre@0: andre@0: #ifdef __cplusplus andre@0: extern "C" { andre@0: #endif andre@0: andre@0: struct PKIX_PL_CRLStruct { andre@0: CERTSignedCrl *nssSignedCrl; andre@0: PKIX_PL_X500Name *issuer; andre@0: PKIX_PL_OID *signatureAlgId; andre@0: PKIX_PL_BigInt *crlNumber; andre@0: PKIX_Boolean crlNumberAbsent; andre@0: PKIX_List *crlEntryList; /* list of PKIX_PL_CRLEntry */ andre@0: PKIX_List *critExtOids; andre@0: SECItem *adoptedDerCrl; andre@0: SECItem *derGenName; /* der of general name which was used andre@0: * to download the crl. */ andre@0: }; andre@0: andre@0: /* see source file for function documentation */ andre@0: andre@0: PKIX_Error *pkix_pl_CRL_RegisterSelf(void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_CRL_CreateWithSignedCRL(CERTSignedCrl *nssSignedCrl, andre@0: SECItem *derCrl, andre@0: SECItem *derGenName, andre@0: PKIX_PL_CRL **pCrl, andre@0: void *plContext); andre@0: andre@0: #ifdef __cplusplus andre@0: } andre@0: #endif andre@0: andre@0: #endif /* _PKIX_PL_CRL_H */