|
1 /* |
|
2 * secdigt.h - public data structures for digest-info objects |
|
3 * |
|
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 |
|
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
7 |
|
8 #ifndef _SECDIGT_H_ |
|
9 #define _SECDIGT_H_ |
|
10 |
|
11 #include "utilrename.h" |
|
12 #include "plarena.h" |
|
13 #include "secoidt.h" |
|
14 #include "secitem.h" |
|
15 |
|
16 /* |
|
17 ** A PKCS#1 digest-info object |
|
18 */ |
|
19 struct SGNDigestInfoStr { |
|
20 PLArenaPool * arena; |
|
21 SECAlgorithmID digestAlgorithm; |
|
22 SECItem digest; |
|
23 }; |
|
24 typedef struct SGNDigestInfoStr SGNDigestInfo; |
|
25 |
|
26 #endif /* _SECDIGT_H_ */ |