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

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

Issue 2078763002: Delete bundled copy of NSS and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss@master
Patch Set: Delete bundled copy of NSS and replace with README. Created 4 years, 6 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
(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_signaturechecker.h
6 *
7 * Header file for validate signature function
8 *
9 */
10
11 #ifndef _PKIX_SIGNATURECHECKER_H
12 #define _PKIX_SIGNATURECHECKER_H
13
14 #include "pkix_tools.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 typedef struct pkix_SignatureCheckerState pkix_SignatureCheckerState;
21
22 struct pkix_SignatureCheckerState {
23 PKIX_Boolean prevCertCertSign;
24 PKIX_UInt32 certsRemaining;
25 PKIX_PL_PublicKey *prevPublicKey; /* Subject PubKey of last cert */
26 PKIX_List *prevPublicKeyList; /* of PKIX_PL_PublicKey */
27 PKIX_PL_OID *keyUsageOID;
28 };
29
30 PKIX_Error *
31 pkix_SignatureChecker_Initialize(
32 PKIX_PL_PublicKey *trustedPubKey,
33 PKIX_UInt32 certsRemaining,
34 PKIX_CertChainChecker **pChecker,
35 void *plContext);
36
37 PKIX_Error *
38 pkix_SignatureCheckerState_RegisterSelf(void *plContext);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* _PKIX_SIGNATURECHECKER_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix/checker/pkix_revocationmethod.c ('k') | nss/lib/libpkix/pkix/checker/pkix_signaturechecker.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698