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 _SECDER_H_ | 5 #ifndef _SECDER_H_ |
6 #define _SECDER_H_ | 6 #define _SECDER_H_ |
7 | 7 |
8 #include "utilrename.h" | 8 #include "utilrename.h" |
9 | 9 |
10 /* | 10 /* |
11 * secder.h - public data structures and prototypes for the DER encoding and | 11 * secder.h - public data structures and prototypes for the DER encoding and |
12 * decoding utilities library | 12 * decoding utilities library |
13 * | |
14 * $Id$ | |
15 */ | 13 */ |
16 | 14 |
17 #include <time.h> | 15 #include <time.h> |
18 | 16 |
19 #include "plarena.h" | 17 #include "plarena.h" |
20 #include "prlong.h" | 18 #include "prlong.h" |
21 | 19 |
22 #include "seccomon.h" | 20 #include "seccomon.h" |
23 #include "secdert.h" | 21 #include "secdert.h" |
24 #include "prtime.h" | 22 #include "prtime.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 /* encode a PRTime to an ASN.1 DER SECItem containing either a | 165 /* encode a PRTime to an ASN.1 DER SECItem containing either a |
168 SEC_ASN1_GENERALIZED_TIME or a SEC_ASN1_UTC_TIME */ | 166 SEC_ASN1_GENERALIZED_TIME or a SEC_ASN1_UTC_TIME */ |
169 | 167 |
170 extern SECStatus DER_EncodeTimeChoice(PLArenaPool* arena, SECItem* output, | 168 extern SECStatus DER_EncodeTimeChoice(PLArenaPool* arena, SECItem* output, |
171 PRTime input); | 169 PRTime input); |
172 | 170 |
173 SEC_END_PROTOS | 171 SEC_END_PROTOS |
174 | 172 |
175 #endif /* _SECDER_H_ */ | 173 #endif /* _SECDER_H_ */ |
176 | 174 |
OLD | NEW |