Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h

Issue 105893015: Update third_party/nss to NSS 3.15.4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Remove SVN property on new file nss/lib/freebl/rsapkcs.c Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 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 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/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* 4 /*
5 * pkix_pl_ocspresponse.h 5 * pkix_pl_ocspresponse.h
6 * 6 *
7 * OcspResponse Object Definitions 7 * OcspResponse Object Definitions
8 * 8 *
9 */ 9 */
10 10
11 #ifndef _PKIX_PL_OCSPRESPONSE_H 11 #ifndef _PKIX_PL_OCSPRESPONSE_H
12 #define _PKIX_PL_OCSPRESPONSE_H 12 #define _PKIX_PL_OCSPRESPONSE_H
13 13
14 #include "pkix_pl_common.h" 14 #include "pkix_pl_common.h"
15 #include "pkix_pl_ocspcertid.h" 15 #include "pkix_pl_ocspcertid.h"
16 #include "hasht.h" 16 #include "hasht.h"
17 #include "cryptohi.h" 17 #include "cryptohi.h"
18 #include "ocspti.h" 18 #include "ocspti.h"
19 #include "ocspi.h" 19 #include "ocspi.h"
20 #include "plbase64.h"
20 21
21 #ifdef __cplusplus 22 #ifdef __cplusplus
22 extern "C" { 23 extern "C" {
23 #endif 24 #endif
24 25
25 #define MAX_OCSP_RESPONSE_LEN (64*1024) 26 #define MAX_OCSP_RESPONSE_LEN (64*1024)
26 27
27 struct PKIX_PL_OcspResponseStruct{ 28 struct PKIX_PL_OcspResponseStruct{
28 PLArenaPool *arena; 29 PLArenaPool *arena;
29 const PKIX_PL_OcspRequest *request; 30 const PKIX_PL_OcspRequest *request;
(...skipping 10 matching lines...) Expand all
40 CERTCertificate *signerCert; 41 CERTCertificate *signerCert;
41 }; 42 };
42 43
43 /* see source file for function documentation */ 44 /* see source file for function documentation */
44 45
45 PKIX_Error *pkix_pl_OcspResponse_RegisterSelf(void *plContext); 46 PKIX_Error *pkix_pl_OcspResponse_RegisterSelf(void *plContext);
46 47
47 PKIX_Error * 48 PKIX_Error *
48 pkix_pl_OcspResponse_Create( 49 pkix_pl_OcspResponse_Create(
49 PKIX_PL_OcspRequest *request, 50 PKIX_PL_OcspRequest *request,
51 const char *httpMechanism,
50 void *responder, 52 void *responder,
51 PKIX_PL_VerifyCallback verifyFcn, 53 PKIX_PL_VerifyCallback verifyFcn,
52 void **pNBIOContext, 54 void **pNBIOContext,
53 PKIX_PL_OcspResponse **pResponse, 55 PKIX_PL_OcspResponse **pResponse,
54 void *plContext); 56 void *plContext);
55 57
56 PKIX_Error * 58 PKIX_Error *
57 pkix_pl_OcspResponse_Decode( 59 pkix_pl_OcspResponse_Decode(
58 PKIX_PL_OcspResponse *response, 60 PKIX_PL_OcspResponse *response,
59 PKIX_Boolean *passed, 61 PKIX_Boolean *passed,
(...skipping 13 matching lines...) Expand all
73 PKIX_PL_Cert *cert, 75 PKIX_PL_Cert *cert,
74 PKIX_ProcessingParams *procParams, 76 PKIX_ProcessingParams *procParams,
75 PKIX_Boolean *pPassed, 77 PKIX_Boolean *pPassed,
76 void **pNBIOContext, 78 void **pNBIOContext,
77 void *plContext); 79 void *plContext);
78 80
79 PKIX_Error * 81 PKIX_Error *
80 pkix_pl_OcspResponse_GetStatusForCert( 82 pkix_pl_OcspResponse_GetStatusForCert(
81 PKIX_PL_OcspCertID *cid, 83 PKIX_PL_OcspCertID *cid,
82 PKIX_PL_OcspResponse *response, 84 PKIX_PL_OcspResponse *response,
85 PKIX_Boolean allowCachingOfFailures,
83 PKIX_PL_Date *validity, 86 PKIX_PL_Date *validity,
84 PKIX_Boolean *pPassed, 87 PKIX_Boolean *pPassed,
85 SECErrorCodes *pReturnCode, 88 SECErrorCodes *pReturnCode,
86 void *plContext); 89 void *plContext);
87 90
88 PKIX_Error * 91 PKIX_Error *
89 PKIX_PL_OcspResponse_UseBuildChain( 92 PKIX_PL_OcspResponse_UseBuildChain(
90 PKIX_PL_Cert *signerCert, 93 PKIX_PL_Cert *signerCert,
91 PKIX_PL_Date *producedAt, 94 PKIX_PL_Date *producedAt,
92 PKIX_ProcessingParams *procParams, 95 PKIX_ProcessingParams *procParams,
93 void **pNBIOContext, 96 void **pNBIOContext,
94 void **pState, 97 void **pState,
95 PKIX_BuildResult **pBuildResult, 98 PKIX_BuildResult **pBuildResult,
96 PKIX_VerifyNode **pVerifyTree, 99 PKIX_VerifyNode **pVerifyTree,
97 void *plContext); 100 void *plContext);
98 101
99 #ifdef __cplusplus 102 #ifdef __cplusplus
100 } 103 }
101 #endif 104 #endif
102 105
103 #endif /* _PKIX_PL_OCSPRESPONSE_H */ 106 #endif /* _PKIX_PL_OCSPRESPONSE_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698