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 * Header for pkcs7 types. | 6 * Header for pkcs7 types. |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 | 8 |
11 #ifndef _PKCS7T_H_ | 9 #ifndef _PKCS7T_H_ |
12 #define _PKCS7T_H_ | 10 #define _PKCS7T_H_ |
13 | 11 |
14 #include "plarena.h" | 12 #include "plarena.h" |
15 | 13 |
16 #include "seccomon.h" | 14 #include "seccomon.h" |
17 #include "secoidt.h" | 15 #include "secoidt.h" |
18 #include "certt.h" | 16 #include "certt.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 * This function in intended to be used to verify that decrypting a | 226 * This function in intended to be used to verify that decrypting a |
229 * particular crypto algorithm is allowed. Content types which do not | 227 * particular crypto algorithm is allowed. Content types which do not |
230 * require decryption will not need the callback. If the callback | 228 * require decryption will not need the callback. If the callback |
231 * is not specified for content types which require decryption, the | 229 * is not specified for content types which require decryption, the |
232 * decryption will be disallowed. | 230 * decryption will be disallowed. |
233 */ | 231 */ |
234 typedef PRBool (* SEC_PKCS7DecryptionAllowedCallback)(SECAlgorithmID *algid, | 232 typedef PRBool (* SEC_PKCS7DecryptionAllowedCallback)(SECAlgorithmID *algid, |
235 PK11SymKey *bulkkey); | 233 PK11SymKey *bulkkey); |
236 | 234 |
237 #endif /* _PKCS7T_H_ */ | 235 #endif /* _PKCS7T_H_ */ |
OLD | NEW |