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 /* | 5 /* |
6 * Support routines for PKCS7 implementation, none of which are exported. | 6 * Support routines for PKCS7 implementation, none of which are exported. |
7 * This file should only contain things that are needed by both the | 7 * This file should only contain things that are needed by both the |
8 * encoding/creation side *and* the decoding/decryption side. Anything | 8 * encoding/creation side *and* the decoding/decryption side. Anything |
9 * else should just be static routines in the appropriate file. | 9 * else should just be static routines in the appropriate file. |
10 * | 10 * |
11 * Do not export this file! If something in here is really needed outside | 11 * Do not export this file! If something in here is really needed outside |
12 * of pkcs7 code, first try to add a PKCS7 interface which will do it for | 12 * of pkcs7 code, first try to add a PKCS7 interface which will do it for |
13 * you. If that has a problem, then just move out what you need, changing | 13 * you. If that has a problem, then just move out what you need, changing |
14 * its name as appropriate! | 14 * its name as appropriate! |
15 * | |
16 * $Id$ | |
17 */ | 15 */ |
18 | 16 |
19 #ifndef _P7LOCAL_H_ | 17 #ifndef _P7LOCAL_H_ |
20 #define _P7LOCAL_H_ | 18 #define _P7LOCAL_H_ |
21 | 19 |
22 #include "secpkcs7.h" | 20 #include "secpkcs7.h" |
23 #include "secasn1t.h" | 21 #include "secasn1t.h" |
24 | 22 |
25 extern const SEC_ASN1Template sec_PKCS7ContentInfoTemplate[]; | 23 extern const SEC_ASN1Template sec_PKCS7ContentInfoTemplate[]; |
26 | 24 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 unsigned int *output_len_p, | 130 unsigned int *output_len_p, |
133 unsigned int max_output_len, | 131 unsigned int max_output_len, |
134 const unsigned char *input, | 132 const unsigned char *input, |
135 unsigned int input_len, | 133 unsigned int input_len, |
136 PRBool final); | 134 PRBool final); |
137 | 135 |
138 /************************************************************************/ | 136 /************************************************************************/ |
139 SEC_END_PROTOS | 137 SEC_END_PROTOS |
140 | 138 |
141 #endif /* _P7LOCAL_H_ */ | 139 #endif /* _P7LOCAL_H_ */ |
OLD | NEW |