secdigt.h 622 B

123456789101112131415161718192021222324252627
  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. #ifndef _SECDIGT_H_
  8. #define _SECDIGT_H_
  9. #include "utilrename.h"
  10. #include "plarena.h"
  11. #include "secoidt.h"
  12. #include "secitem.h"
  13. /*
  14. ** A PKCS#1 digest-info object
  15. */
  16. struct SGNDigestInfoStr {
  17. PLArenaPool* arena;
  18. SECAlgorithmID digestAlgorithm;
  19. SECItem digest;
  20. };
  21. typedef struct SGNDigestInfoStr SGNDigestInfo;
  22. #endif /* _SECDIGT_H_ */