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

Side by Side Diff: nss/lib/libpkix/pkix/checker/pkix_revocationmethod.h

Issue 1504923011: Update NSS to 3.21 RTM and NSPR to 4.11 RTM (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 5 years 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_revocationmethod.h 5 * pkix_revocationmethod.h
6 * 6 *
7 * RevocationMethod Object 7 * RevocationMethod Object
8 * 8 *
9 */ 9 */
10 10
(...skipping 13 matching lines...) Expand all
24 * Revocation methods capable of checking revocation though local 24 * Revocation methods capable of checking revocation though local
25 * means(cache) should implement this prototype. */ 25 * means(cache) should implement this prototype. */
26 typedef PKIX_Error * 26 typedef PKIX_Error *
27 pkix_LocalRevocationCheckFn(PKIX_PL_Cert *cert, PKIX_PL_Cert *issuer, 27 pkix_LocalRevocationCheckFn(PKIX_PL_Cert *cert, PKIX_PL_Cert *issuer,
28 PKIX_PL_Date *date, 28 PKIX_PL_Date *date,
29 pkix_RevocationMethod *checkerObject, 29 pkix_RevocationMethod *checkerObject,
30 PKIX_ProcessingParams *procParams, 30 PKIX_ProcessingParams *procParams,
31 PKIX_UInt32 methodFlags, 31 PKIX_UInt32 methodFlags,
32 PKIX_Boolean chainVerificationState, 32 PKIX_Boolean chainVerificationState,
33 PKIX_RevocationStatus *pRevStatus, 33 PKIX_RevocationStatus *pRevStatus,
34 PKIX_UInt32 *reasonCode, 34 CERTCRLEntryReasonCode *reasonCode,
35 void *plContext); 35 void *plContext);
36 36
37 /* External revocation check function prototype definition. 37 /* External revocation check function prototype definition.
38 * Revocation methods that required external communications(crldp 38 * Revocation methods that required external communications(crldp
39 * ocsp) shoult implement this prototype. */ 39 * ocsp) shoult implement this prototype. */
40 typedef PKIX_Error * 40 typedef PKIX_Error *
41 pkix_ExternalRevocationCheckFn(PKIX_PL_Cert *cert, PKIX_PL_Cert *issuer, 41 pkix_ExternalRevocationCheckFn(PKIX_PL_Cert *cert, PKIX_PL_Cert *issuer,
42 PKIX_PL_Date *date, 42 PKIX_PL_Date *date,
43 pkix_RevocationMethod *checkerObject, 43 pkix_RevocationMethod *checkerObject,
44 PKIX_ProcessingParams *procParams, 44 PKIX_ProcessingParams *procParams,
45 PKIX_UInt32 methodFlags, 45 PKIX_UInt32 methodFlags,
46 PKIX_RevocationStatus *pRevStatus, 46 PKIX_RevocationStatus *pRevStatus,
47 PKIX_UInt32 *reasonCode, 47 CERTCRLEntryReasonCode *reasonCode,
48 void **pNBIOContext, void *plContext); 48 void **pNBIOContext, void *plContext);
49 49
50 /* Revocation method structure assosiates revocation types with 50 /* Revocation method structure assosiates revocation types with
51 * a set of flags on the method, a priority of the method (0 51 * a set of flags on the method, a priority of the method (0
52 * corresponds to the highest priority), and method local/external 52 * corresponds to the highest priority), and method local/external
53 * checker functions. */ 53 * checker functions. */
54 struct pkix_RevocationMethodStruct { 54 struct pkix_RevocationMethodStruct {
55 PKIX_RevocationMethodType methodType; 55 PKIX_RevocationMethodType methodType;
56 PKIX_UInt32 flags; 56 PKIX_UInt32 flags;
57 PKIX_UInt32 priority; 57 PKIX_UInt32 priority;
(...skipping 14 matching lines...) Expand all
72 pkix_LocalRevocationCheckFn localRevChecker, 72 pkix_LocalRevocationCheckFn localRevChecker,
73 pkix_ExternalRevocationCheckFn externalRevChecker, 73 pkix_ExternalRevocationCheckFn externalRevChecker,
74 void *plContext); 74 void *plContext);
75 75
76 76
77 #ifdef __cplusplus 77 #ifdef __cplusplus
78 } 78 }
79 #endif 79 #endif
80 80
81 #endif /* _PKIX_REVOCATIONMETHOD_H */ 81 #endif /* _PKIX_REVOCATIONMETHOD_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698