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

Side by Side Diff: nss/lib/certdb/certxutl.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 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 /* 5 /*
6 * x.509 v3 certificate extension helper routines 6 * x.509 v3 certificate extension helper routines
7 * 7 *
8 */ 8 */
9 9
10
11 #ifndef _CERTXUTL_H_ 10 #ifndef _CERTXUTL_H_
12 #define _CERTXUTL_H_ 11 #define _CERTXUTL_H_
13 12
14 #include "nspr.h" 13 #include "nspr.h"
15 14
16 #ifdef OLD 15 #ifdef OLD
17 typedef enum { 16 typedef enum {
18 CertificateExtensions, 17 CertificateExtensions,
19 CrlExtensions, 18 CrlExtensions,
20 OCSPRequestExtensions, 19 OCSPRequestExtensions,
21 OCSPSingleRequestExtensions, 20 OCSPSingleRequestExtensions,
22 OCSPResponseSingleExtensions 21 OCSPResponseSingleExtensions
23 } ExtensionsType; 22 } ExtensionsType;
24 #endif 23 #endif
25 24
26 extern PRBool 25 extern PRBool cert_HasCriticalExtension(CERTCertExtension **extensions);
27 cert_HasCriticalExtension (CERTCertExtension **extensions);
28 26
29 extern SECStatus 27 extern SECStatus CERT_FindBitStringExtension(CERTCertExtension **extensions,
30 CERT_FindBitStringExtension (CERTCertExtension **extensions, 28 int tag, SECItem *retItem);
31 » » » int tag, SECItem *retItem); 29 extern void *cert_StartExtensions(void *owner, PLArenaPool *arena,
32 extern void * 30 void (*setExts)(void *object,
33 cert_StartExtensions (void *owner, PLArenaPool *arena, 31 CERTCertExtension **exts));
34 void (*setExts)(void *object, CERTCertExtension **exts));
35 32
36 extern SECStatus 33 extern SECStatus cert_FindExtension(CERTCertExtension **extensions, int tag,
37 cert_FindExtension (CERTCertExtension **extensions, int tag, SECItem *value); 34 SECItem *value);
38 35
39 extern SECStatus 36 extern SECStatus cert_FindExtensionByOID(CERTCertExtension **extensions,
40 cert_FindExtensionByOID (CERTCertExtension **extensions, 37 SECItem *oid, SECItem *value);
41 » » » SECItem *oid, SECItem *value);
42 38
43 extern SECStatus 39 extern SECStatus cert_GetExtenCriticality(CERTCertExtension **extensions,
44 cert_GetExtenCriticality (CERTCertExtension **extensions, 40 int tag, PRBool *isCritical);
45 » » » int tag, PRBool *isCritical);
46 41
47 extern PRBool 42 extern PRBool cert_HasUnknownCriticalExten(CERTCertExtension **extensions);
48 cert_HasUnknownCriticalExten (CERTCertExtension **extensions);
49 43
50 #endif 44 #endif
OLDNEW
« no previous file with comments | « nss/lib/certdb/certv3.c ('k') | nss/lib/certdb/certxutl.c » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698