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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.h

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 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 | Annotate | Revision Log
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 * pkix_pl_x500name.h 5 * pkix_pl_x500name.h
6 * 6 *
7 * X500Name Object Type Definitions 7 * X500Name Object Type Definitions
8 * 8 *
9 */ 9 */
10 10
11 #ifndef _PKIX_PL_X500NAME_H 11 #ifndef _PKIX_PL_X500NAME_H
12 #define _PKIX_PL_X500NAME_H 12 #define _PKIX_PL_X500NAME_H
13 13
14 #include "pkix_pl_common.h" 14 #include "pkix_pl_common.h"
15 15
16 #ifdef __cplusplus 16 #ifdef __cplusplus
17 extern "C" { 17 extern "C" {
18 #endif 18 #endif
19 19
20 20
21 struct PKIX_PL_X500NameStruct{ 21 struct PKIX_PL_X500NameStruct{
22 PRArenaPool *arena; /* X500Name arena. Shared arena with nssDN 22 PLArenaPool *arena; /* X500Name arena. Shared arena with nssDN
23 * and derName */ 23 * and derName */
24 CERTName nssDN; 24 CERTName nssDN;
25 SECItem derName; /* adding DER encoded CERTName to the structure 25 SECItem derName; /* adding DER encoded CERTName to the structure
26 * to avoid unnecessary name encoding when pass 26 * to avoid unnecessary name encoding when pass
27 * der name to cert finder */ 27 * der name to cert finder */
28 }; 28 };
29 29
30 /* see source file for function documentation */ 30 /* see source file for function documentation */
31 31
32 PKIX_Error *pkix_pl_X500Name_RegisterSelf(void *plContext); 32 PKIX_Error *pkix_pl_X500Name_RegisterSelf(void *plContext);
33 33
34 PKIX_Error *pkix_pl_X500Name_GetDERName( 34 PKIX_Error *pkix_pl_X500Name_GetDERName(
35 PKIX_PL_X500Name *xname, 35 PKIX_PL_X500Name *xname,
36 PRArenaPool *arena, 36 PLArenaPool *arena,
37 SECItem **pSECName, 37 SECItem **pSECName,
38 void *plContext); 38 void *plContext);
39 39
40 #ifdef BUILD_LIBPKIX_TESTS 40 #ifdef BUILD_LIBPKIX_TESTS
41 PKIX_Error * pkix_pl_X500Name_CreateFromUtf8( 41 PKIX_Error * pkix_pl_X500Name_CreateFromUtf8(
42 char *stringRep, 42 char *stringRep,
43 PKIX_PL_X500Name **pName, 43 PKIX_PL_X500Name **pName,
44 void *plContext); 44 void *plContext);
45 #endif /* BUILD_LIBPKIX_TESTS */ 45 #endif /* BUILD_LIBPKIX_TESTS */
46 46
(...skipping 18 matching lines...) Expand all
65 pkix_pl_X500Name_GetCERTName( 65 pkix_pl_X500Name_GetCERTName(
66 PKIX_PL_X500Name *xname, 66 PKIX_PL_X500Name *xname,
67 CERTName **pCERTName, 67 CERTName **pCERTName,
68 void *plContext); 68 void *plContext);
69 69
70 #ifdef __cplusplus 70 #ifdef __cplusplus
71 } 71 }
72 #endif 72 #endif
73 73
74 #endif /* _PKIX_PL_X500NAME_H */ 74 #endif /* _PKIX_PL_X500NAME_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698