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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.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_pl_basicconstraints.h
6 *
7 * BasicConstraints Object Definitions
8 *
9 */
10
11 #ifndef _PKIX_PL_BASICCONSTRAINTS_H
12 #define _PKIX_PL_BASICCONSTRAINTS_H
13
14 #include "pkix_pl_common.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 /* This structure reflects the contents of the basic constraints
21 * extension as described in Section 4.2.1.10 of RFC 3280.
22 * The cA flag indicates whether the public key in this certificate
23 * belongs to a certification authority. The pathLen constraint
24 * gives the maximum number of non-self-issued intermediate certificates
25 * that may follow this certificate in a valid certification path.
26 */
27 struct PKIX_PL_CertBasicConstraintsStruct {
28 PKIX_Boolean isCA;
29 PKIX_Int32 pathLen;
30 };
31
32 PKIX_Error *
33 pkix_pl_CertBasicConstraints_Create(
34 PKIX_Boolean isCA,
35 PKIX_Int32 pathLen,
36 PKIX_PL_CertBasicConstraints **object,
37 void *plContext);
38
39 PKIX_Error *
40 pkix_pl_CertBasicConstraints_RegisterSelf(
41 void *plContext);
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif /* _PKIX_PL_BASICCONSTRAINTS_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698