| OLD | NEW |
| 1 /* | 1 /* |
| 2 * secdigt.h - public data structures for digestinfos from the util lib. | 2 * secdigt.h - public data structures for digest-info objects |
| 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 | 7 |
| 8 #ifndef _SECDIGT_H_ | 8 #ifndef _SECDIGT_H_ |
| 9 #define _SECDIGT_H_ | 9 #define _SECDIGT_H_ |
| 10 | 10 |
| 11 #include "utilrename.h" | 11 #include "utilrename.h" |
| 12 #include "plarena.h" | 12 #include "plarena.h" |
| 13 #include "secoidt.h" | 13 #include "secoidt.h" |
| 14 #include "secitem.h" | 14 #include "secitem.h" |
| 15 | 15 |
| 16 /* | 16 /* |
| 17 ** A PKCS#1 digest-info object | 17 ** A PKCS#1 digest-info object |
| 18 */ | 18 */ |
| 19 struct SGNDigestInfoStr { | 19 struct SGNDigestInfoStr { |
| 20 PLArenaPool * arena; | 20 PLArenaPool * arena; |
| 21 SECAlgorithmID digestAlgorithm; | 21 SECAlgorithmID digestAlgorithm; |
| 22 SECItem digest; | 22 SECItem digest; |
| 23 }; | 23 }; |
| 24 typedef struct SGNDigestInfoStr SGNDigestInfo; | 24 typedef struct SGNDigestInfoStr SGNDigestInfo; |
| 25 | 25 |
| 26 | |
| 27 | |
| 28 #endif /* _SECDIGT_H_ */ | 26 #endif /* _SECDIGT_H_ */ |
| OLD | NEW |