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_ocsprequest.h andre@0: * andre@0: * OcspRequest Object Definitions andre@0: * andre@0: */ andre@0: andre@0: #ifndef _PKIX_PL_OCSPREQUEST_H andre@0: #define _PKIX_PL_OCSPREQUEST_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_OcspRequestStruct{ andre@0: PKIX_PL_Cert *cert; andre@0: PKIX_PL_Date *validity; andre@0: PKIX_Boolean addServiceLocator; andre@0: PKIX_PL_Cert *signerCert; andre@0: CERTOCSPRequest *decoded; andre@0: SECItem *encoded; andre@0: char *location; andre@0: }; andre@0: andre@0: /* see source file for function documentation */ andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_OcspRequest_Create( andre@0: PKIX_PL_Cert *cert, andre@0: PKIX_PL_OcspCertID *cid, andre@0: PKIX_PL_Date *validity, andre@0: PKIX_PL_Cert *signerCert, andre@0: PKIX_UInt32 methodFlags, andre@0: PKIX_Boolean *pURIFound, andre@0: PKIX_PL_OcspRequest **pRequest, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_OcspRequest_GetEncoded( andre@0: PKIX_PL_OcspRequest *request, andre@0: SECItem **pRequest, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_OcspRequest_GetLocation( andre@0: PKIX_PL_OcspRequest *request, andre@0: char **pLocation, andre@0: void *plContext); andre@0: andre@0: PKIX_Error *pkix_pl_OcspRequest_RegisterSelf(void *plContext); andre@0: andre@0: #ifdef __cplusplus andre@0: } andre@0: #endif andre@0: andre@0: #endif /* _PKIX_PL_OCSPREQUEST_H */