9 #include <rpm/rpmpgp.h>
10 #include "rpmio/base64.h"
14 * Values parsed from OpenPGP signature/pubkey packet(s).
16 struct pgpDigParams_s {
22 uint8_t version; /*!< version number. */
23 pgpTime_t time; /*!< time that the key was created. */
24 uint8_t pubkey_algo; /*!< public key algorithm. */
29 uint8_t signhash16[2];
32 #define PGPDIG_SAVED_TIME (1 << 0)
33 #define PGPDIG_SAVED_ID (1 << 1)
38 * Container for values parsed from an OpenPGP signature and public key.
41 struct pgpDigParams_s signature;
42 struct pgpDigParams_s pubkey;
44 /* DSA/RSA parameters */
45 SECKEYPublicKey *keydata;
49 #endif /* _RPMDIGEST_H */