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

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

Issue 1017413002: Uprev NSS to 3.18 RTM (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@nspr_uprev
Patch Set: Rebased Created 5 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
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 30 matching lines...) Expand all
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 PKIX_UInt32 *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, and 51 * a set of flags on the method, a priority of the method (0
52 * method local/external checker functions. */ 52 * corresponds to the highest priority), and method local/external
53 * checker functions. */
53 struct pkix_RevocationMethodStruct { 54 struct pkix_RevocationMethodStruct {
54 PKIX_RevocationMethodType methodType; 55 PKIX_RevocationMethodType methodType;
55 PKIX_UInt32 flags; 56 PKIX_UInt32 flags;
56 PKIX_UInt32 priority; 57 PKIX_UInt32 priority;
57 pkix_LocalRevocationCheckFn (*localRevChecker); 58 pkix_LocalRevocationCheckFn (*localRevChecker);
58 pkix_ExternalRevocationCheckFn (*externalRevChecker); 59 pkix_ExternalRevocationCheckFn (*externalRevChecker);
59 }; 60 };
60 61
61 PKIX_Error * 62 PKIX_Error *
62 pkix_RevocationMethod_Duplicate(PKIX_PL_Object *object, 63 pkix_RevocationMethod_Duplicate(PKIX_PL_Object *object,
63 PKIX_PL_Object *newObject, 64 PKIX_PL_Object *newObject,
64 void *plContext); 65 void *plContext);
65 66
66 PKIX_Error * 67 PKIX_Error *
67 pkix_RevocationMethod_Init(pkix_RevocationMethod *method, 68 pkix_RevocationMethod_Init(pkix_RevocationMethod *method,
68 PKIX_RevocationMethodType methodType, 69 PKIX_RevocationMethodType methodType,
69 PKIX_UInt32 flags, 70 PKIX_UInt32 flags,
70 PKIX_UInt32 priority, 71 PKIX_UInt32 priority,
71 pkix_LocalRevocationCheckFn localRevChecker, 72 pkix_LocalRevocationCheckFn localRevChecker,
72 pkix_ExternalRevocationCheckFn externalRevChecker, 73 pkix_ExternalRevocationCheckFn externalRevChecker,
73 void *plContext); 74 void *plContext);
74 75
75 76
76 #ifdef __cplusplus 77 #ifdef __cplusplus
77 } 78 }
78 #endif 79 #endif
79 80
80 #endif /* _PKIX_REVOCATIONMETHOD_H */ 81 #endif /* _PKIX_REVOCATIONMETHOD_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c ('k') | nss/lib/libpkix/pkix/top/pkix_build.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698