OLD | NEW |
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" |
(...skipping 13 matching lines...) Expand all Loading... |
24 cert_DecodeGeneralNames(PRArenaPool *arena, SECItem **encodedGenName); | 24 cert_DecodeGeneralNames(PRArenaPool *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 SECStatus | 29 extern SECStatus |
30 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PRArenaPool *arena, | 30 cert_EncodeNameConstraints(CERTNameConstraints *constraints, PRArenaPool *arena, |
31 SECItem *dest); | 31 SECItem *dest); |
32 | 32 |
33 extern CERTNameConstraints * | 33 extern CERTNameConstraints * |
34 cert_DecodeNameConstraints(PRArenaPool *arena, SECItem *encodedConstraints); | 34 cert_DecodeNameConstraints(PRArenaPool *arena, const SECItem *encodedConstraints
); |
35 | 35 |
36 extern CERTGeneralName * | 36 extern CERTGeneralName * |
37 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2); | 37 cert_CombineNamesLists(CERTGeneralName *list1, CERTGeneralName *list2); |
38 | 38 |
39 extern CERTNameConstraint * | 39 extern CERTNameConstraint * |
40 cert_CombineConstraintsLists(CERTNameConstraint *list1, CERTNameConstraint *list
2); | 40 cert_CombineConstraintsLists(CERTNameConstraint *list1, CERTNameConstraint *list
2); |
41 | 41 |
42 /*********************************************************************/ | 42 /*********************************************************************/ |
43 /* A thread safe implementation of General Names */ | 43 /* A thread safe implementation of General Names */ |
44 /*********************************************************************/ | 44 /*********************************************************************/ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 SECStatus | 97 SECStatus |
98 CERT_CompareNameSpace(CERTCertificate *cert, | 98 CERT_CompareNameSpace(CERTCertificate *cert, |
99 CERTGeneralName *namesList, | 99 CERTGeneralName *namesList, |
100 CERTCertificate **certsList, | 100 CERTCertificate **certsList, |
101 PRArenaPool *reqArena, | 101 PRArenaPool *reqArena, |
102 CERTCertificate **pBadCert); | 102 CERTCertificate **pBadCert); |
103 | 103 |
104 SEC_END_PROTOS | 104 SEC_END_PROTOS |
105 | 105 |
106 #endif | 106 #endif |
OLD | NEW |