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

Side by Side Diff: mozilla/security/nss/lib/certdb/certxutl.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
« no previous file with comments | « mozilla/security/nss/lib/certdb/certv3.c ('k') | mozilla/security/nss/lib/certdb/certxutl.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /*
6 * x.509 v3 certificate extension helper routines
7 *
8 */
9
10
11 #ifndef _CERTXUTL_H_
12 #define _CERTXUTL_H_
13
14 #include "nspr.h"
15
16 #ifdef OLD
17 typedef enum {
18 CertificateExtensions,
19 CrlExtensions,
20 OCSPRequestExtensions,
21 OCSPSingleRequestExtensions,
22 OCSPResponseSingleExtensions
23 } ExtensionsType;
24 #endif
25
26 extern PRBool
27 cert_HasCriticalExtension (CERTCertExtension **extensions);
28
29 extern SECStatus
30 CERT_FindBitStringExtension (CERTCertExtension **extensions,
31 int tag, SECItem *retItem);
32 extern void *
33 cert_StartExtensions (void *owner, PLArenaPool *arena,
34 void (*setExts)(void *object, CERTCertExtension **exts));
35
36 extern SECStatus
37 cert_FindExtension (CERTCertExtension **extensions, int tag, SECItem *value);
38
39 extern SECStatus
40 cert_FindExtensionByOID (CERTCertExtension **extensions,
41 SECItem *oid, SECItem *value);
42
43 extern SECStatus
44 cert_GetExtenCriticality (CERTCertExtension **extensions,
45 int tag, PRBool *isCritical);
46
47 extern PRBool
48 cert_HasUnknownCriticalExten (CERTCertExtension **extensions);
49
50 #endif
OLDNEW
« no previous file with comments | « mozilla/security/nss/lib/certdb/certv3.c ('k') | mozilla/security/nss/lib/certdb/certxutl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698