OLD | NEW |
1 /* | 1 /* |
2 * secdigt.h - public data structures for digestinfos from the util lib. | 2 * secdigt.h - public data structures for digestinfos from the util lib. |
3 * | 3 * |
4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
7 /* $Id$ */ | |
8 | 7 |
9 #ifndef _SECDIGT_H_ | 8 #ifndef _SECDIGT_H_ |
10 #define _SECDIGT_H_ | 9 #define _SECDIGT_H_ |
11 | 10 |
12 #include "utilrename.h" | 11 #include "utilrename.h" |
13 #include "plarena.h" | 12 #include "plarena.h" |
14 #include "secoidt.h" | 13 #include "secoidt.h" |
15 #include "secitem.h" | 14 #include "secitem.h" |
16 | 15 |
17 /* | 16 /* |
18 ** A PKCS#1 digest-info object | 17 ** A PKCS#1 digest-info object |
19 */ | 18 */ |
20 struct SGNDigestInfoStr { | 19 struct SGNDigestInfoStr { |
21 PLArenaPool * arena; | 20 PLArenaPool * arena; |
22 SECAlgorithmID digestAlgorithm; | 21 SECAlgorithmID digestAlgorithm; |
23 SECItem digest; | 22 SECItem digest; |
24 }; | 23 }; |
25 typedef struct SGNDigestInfoStr SGNDigestInfo; | 24 typedef struct SGNDigestInfoStr SGNDigestInfo; |
26 | 25 |
27 | 26 |
28 | 27 |
29 #endif /* _SECDIGT_H_ */ | 28 #endif /* _SECDIGT_H_ */ |
OLD | NEW |