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

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

Issue 319593003: Update to NSS 3.16.2 Beta 3. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Remove unused function SEC_NumberOrNameStringToOIDTag Created 6 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 #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
29 extern SECStatus 32 extern SECStatus
30 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PLArenaPool *arena, 33 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PLArenaPool *arena,
31 SECItem *dest); 34 SECItem *dest);
32 35
33 extern CERTNameConstraints * 36 extern CERTNameConstraints *
34 cert_DecodeNameConstraints(PLArenaPool *arena, const SECItem *encodedConstraints ); 37 cert_DecodeNameConstraints(PLArenaPool *arena, const SECItem *encodedConstraints );
35 38
36 extern CERTGeneralName * 39 extern CERTGeneralName *
37 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2); 40 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2);
38 41
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 SECStatus 100 SECStatus
98 CERT_CompareNameSpace(CERTCertificate *cert, 101 CERT_CompareNameSpace(CERTCertificate *cert,
99 CERTGeneralName *namesList, 102 CERTGeneralName *namesList,
100 CERTCertificate **certsList, 103 CERTCertificate **certsList,
101 PLArenaPool *reqArena, 104 PLArenaPool *reqArena,
102 CERTCertificate **pBadCert); 105 CERTCertificate **pBadCert);
103 106
104 SEC_END_PROTOS 107 SEC_END_PROTOS
105 108
106 #endif 109 #endif
OLDNEW
« no previous file with comments | « nss/lib/certdb/certdb.h ('k') | nss/lib/certdb/genname.c » ('j') | nss/lib/certdb/genname.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698