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

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

Issue 457963002: Update to NSS 3.16.4. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Include certdata.c changes. Created 6 years, 4 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 | « nss/lib/certdb/cert.h ('k') | nss/lib/ckfw/builtins/certdata.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef _GENAME_H_ 5 #ifndef _GENAME_H_
6 #define _GENAME_H_ 6 #define _GENAME_H_
7 7
8 #include "plarena.h" 8 #include "plarena.h"
9 #include "seccomon.h" 9 #include "seccomon.h"
10 #include "secoidt.h" 10 #include "secoidt.h"
11 #include "secasn1.h" 11 #include "secasn1.h"
12 #include "secder.h" 12 #include "secder.h"
13 #include "certt.h" 13 #include "certt.h"
14 14
15 /************************************************************************/ 15 /************************************************************************/
16 SEC_BEGIN_PROTOS 16 SEC_BEGIN_PROTOS
17 17
18 extern const SEC_ASN1Template CERT_GeneralNamesTemplate[]; 18 extern const SEC_ASN1Template CERT_GeneralNamesTemplate[];
19 19
20 extern SECItem ** 20 extern SECItem **
21 cert_EncodeGeneralNames(PLArenaPool *arena, CERTGeneralName *names); 21 cert_EncodeGeneralNames(PLArenaPool *arena, CERTGeneralName *names);
22 22
23 extern CERTGeneralName * 23 extern CERTGeneralName *
24 cert_DecodeGeneralNames(PLArenaPool *arena, SECItem **encodedGenName); 24 cert_DecodeGeneralNames(PLArenaPool *arena, SECItem **encodedGenName);
25 25
26 extern SECStatus 26 extern SECStatus
27 cert_DestroyGeneralNames(CERTGeneralName *name); 27 cert_DestroyGeneralNames(CERTGeneralName *name);
28 28
29 extern CERTGeneralNameType
30 CERT_GetGeneralNameTypeFromString(const char *string);
31
32 extern SECStatus 29 extern SECStatus
33 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PLArenaPool *arena, 30 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PLArenaPool *arena,
34 SECItem *dest); 31 SECItem *dest);
35 32
36 extern CERTNameConstraints * 33 extern CERTNameConstraints *
37 cert_DecodeNameConstraints(PLArenaPool *arena, const SECItem *encodedConstraints ); 34 cert_DecodeNameConstraints(PLArenaPool *arena, const SECItem *encodedConstraints );
38 35
39 extern CERTGeneralName * 36 extern CERTGeneralName *
40 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2); 37 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2);
41 38
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 SECStatus 97 SECStatus
101 CERT_CompareNameSpace(CERTCertificate *cert, 98 CERT_CompareNameSpace(CERTCertificate *cert,
102 CERTGeneralName *namesList, 99 CERTGeneralName *namesList,
103 CERTCertificate **certsList, 100 CERTCertificate **certsList,
104 PLArenaPool *reqArena, 101 PLArenaPool *reqArena,
105 CERTCertificate **pBadCert); 102 CERTCertificate **pBadCert);
106 103
107 SEC_END_PROTOS 104 SEC_END_PROTOS
108 105
109 #endif 106 #endif
OLDNEW
« no previous file with comments | « nss/lib/certdb/cert.h ('k') | nss/lib/ckfw/builtins/certdata.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698