comparison nss/lib/certdb/certxutl.h @ 0:1e5118fa0cb1

This is NSS with a Cmake Buildsyste To compile a static NSS library for Windows we've used the Chromium-NSS fork and added a Cmake buildsystem to compile it statically for Windows. See README.chromium for chromium changes and README.trustbridge for our modifications.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 10:47:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e5118fa0cb1
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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)