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 be static routines in the appropriate file. | 9 * else should be static routines in the appropriate file. |
10 * | |
11 * $Id$ | |
12 */ | 10 */ |
13 | 11 |
14 #include "p7local.h" | 12 #include "p7local.h" |
15 | 13 |
16 #include "cryptohi.h" | 14 #include "cryptohi.h" |
17 #include "secasn1.h" | 15 #include "secasn1.h" |
18 #include "secoid.h" | 16 #include "secoid.h" |
19 #include "secitem.h" | 17 #include "secitem.h" |
20 #include "pk11func.h" | 18 #include "pk11func.h" |
21 #include "secpkcs5.h" | 19 #include "secpkcs5.h" |
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 theTemplate = SEC_PointerToPKCS7EncryptedDataTemplate; | 1310 theTemplate = SEC_PointerToPKCS7EncryptedDataTemplate; |
1313 break; | 1311 break; |
1314 } | 1312 } |
1315 return theTemplate; | 1313 return theTemplate; |
1316 } | 1314 } |
1317 | 1315 |
1318 /* | 1316 /* |
1319 * End of templates. Do not add stuff after this; put new code | 1317 * End of templates. Do not add stuff after this; put new code |
1320 * up above the start of the template definitions. | 1318 * up above the start of the template definitions. |
1321 */ | 1319 */ |
OLD | NEW |