| OLD | NEW |
| (Empty) |
| 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_ocsprequest.h | |
| 6 * | |
| 7 * OcspRequest Object Definitions | |
| 8 * | |
| 9 */ | |
| 10 | |
| 11 #ifndef _PKIX_PL_OCSPREQUEST_H | |
| 12 #define _PKIX_PL_OCSPREQUEST_H | |
| 13 | |
| 14 #include "pkix_pl_common.h" | |
| 15 | |
| 16 #ifdef __cplusplus | |
| 17 extern "C" { | |
| 18 #endif | |
| 19 | |
| 20 struct PKIX_PL_OcspRequestStruct{ | |
| 21 PKIX_PL_Cert *cert; | |
| 22 PKIX_PL_Date *validity; | |
| 23 PKIX_Boolean addServiceLocator; | |
| 24 PKIX_PL_Cert *signerCert; | |
| 25 CERTOCSPRequest *decoded; | |
| 26 SECItem *encoded; | |
| 27 char *location; | |
| 28 }; | |
| 29 | |
| 30 /* see source file for function documentation */ | |
| 31 | |
| 32 PKIX_Error * | |
| 33 pkix_pl_OcspRequest_Create( | |
| 34 PKIX_PL_Cert *cert, | |
| 35 PKIX_PL_OcspCertID *cid, | |
| 36 PKIX_PL_Date *validity, | |
| 37 PKIX_PL_Cert *signerCert, | |
| 38 PKIX_UInt32 methodFlags, | |
| 39 PKIX_Boolean *pURIFound, | |
| 40 PKIX_PL_OcspRequest **pRequest, | |
| 41 void *plContext); | |
| 42 | |
| 43 PKIX_Error * | |
| 44 pkix_pl_OcspRequest_GetEncoded( | |
| 45 PKIX_PL_OcspRequest *request, | |
| 46 SECItem **pRequest, | |
| 47 void *plContext); | |
| 48 | |
| 49 PKIX_Error * | |
| 50 pkix_pl_OcspRequest_GetLocation( | |
| 51 PKIX_PL_OcspRequest *request, | |
| 52 char **pLocation, | |
| 53 void *plContext); | |
| 54 | |
| 55 PKIX_Error *pkix_pl_OcspRequest_RegisterSelf(void *plContext); | |
| 56 | |
| 57 #ifdef __cplusplus | |
| 58 } | |
| 59 #endif | |
| 60 | |
| 61 #endif /* _PKIX_PL_OCSPREQUEST_H */ | |
| OLD | NEW |