security/nss/lib/util/secdigt.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/util/secdigt.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +/*
     1.5 + * secdigt.h - public data structures for digest-info objects
     1.6 + *
     1.7 + * This Source Code Form is subject to the terms of the Mozilla Public
     1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    1.10 +
    1.11 +#ifndef _SECDIGT_H_
    1.12 +#define _SECDIGT_H_
    1.13 +
    1.14 +#include "utilrename.h"
    1.15 +#include "plarena.h"
    1.16 +#include "secoidt.h"
    1.17 +#include "secitem.h"
    1.18 +
    1.19 +/*
    1.20 +** A PKCS#1 digest-info object
    1.21 +*/
    1.22 +struct SGNDigestInfoStr {
    1.23 +    PLArenaPool *  arena;
    1.24 +    SECAlgorithmID digestAlgorithm;
    1.25 +    SECItem        digest;
    1.26 +};
    1.27 +typedef struct SGNDigestInfoStr SGNDigestInfo;
    1.28 +
    1.29 +#endif /* _SECDIGT_H_ */

mercurial