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

Side by Side Diff: mozilla/security/nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h

Issue 14249009: Change the NSS and NSPR source tree to the new directory structure to be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 8 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
(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_ocspchecker.h
6 *
7 * OcspChecker Object Type Definition
8 *
9 */
10
11 #ifndef _PKIX_OCSPCHECKER_H
12 #define _PKIX_OCSPCHECKER_H
13
14 #include "pkix_tools.h"
15 #include "pkix_revocationmethod.h"
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 /* NOTE: nbio logic removed. Will be replaced later. */
22
23 PKIX_Error *
24 pkix_OcspChecker_CheckLocal(
25 PKIX_PL_Cert *cert,
26 PKIX_PL_Cert *issuer,
27 PKIX_PL_Date *date,
28 pkix_RevocationMethod *checkerObject,
29 PKIX_ProcessingParams *procParams,
30 PKIX_UInt32 methodFlags,
31 PKIX_Boolean chainVerificationState,
32 PKIX_RevocationStatus *pRevStatus,
33 PKIX_UInt32 *reasonCode,
34 void *plContext);
35
36 PKIX_Error *
37 pkix_OcspChecker_CheckExternal(
38 PKIX_PL_Cert *cert,
39 PKIX_PL_Cert *issuer,
40 PKIX_PL_Date *date,
41 pkix_RevocationMethod *checkerObject,
42 PKIX_ProcessingParams *procParams,
43 PKIX_UInt32 methodFlags,
44 PKIX_RevocationStatus *pRevStatus,
45 PKIX_UInt32 *reasonCode,
46 void **pNBIOContext,
47 void *plContext);
48
49 PKIX_Error *
50 pkix_OcspChecker_Create(PKIX_RevocationMethodType methodType,
51 PKIX_UInt32 flags,
52 PKIX_UInt32 priority,
53 pkix_LocalRevocationCheckFn localRevChecker,
54 pkix_ExternalRevocationCheckFn externalRevChecker,
55 PKIX_PL_VerifyCallback certVerifyFn,
56 pkix_RevocationMethod **pChecker,
57 void *plContext);
58
59 /* see source file for function documentation */
60
61 PKIX_Error *pkix_OcspChecker_RegisterSelf(void *plContext);
62
63 #ifdef __cplusplus
64 }
65 #endif
66
67 #endif /* _PKIX_OCSPCHECKER_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698