diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-15 18:27:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-15 18:27:32 +0100 |
commit | 4d98a1200a4dc03a89968212913dfd47bc1749a8 (patch) | |
tree | 0452e2107067255d43e48023cfb26456a863d540 /src/mint/key_io.h | |
parent | 7673ca0137358a2b52b8cc352a33a0ce3e01a1c3 (diff) |
refactor denomination key structs to allow proper signing / serialization with new variable-size RSA keys
Diffstat (limited to 'src/mint/key_io.h')
-rw-r--r-- | src/mint/key_io.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mint/key_io.h b/src/mint/key_io.h index 2f3f5fea..b204629a 100644 --- a/src/mint/key_io.h +++ b/src/mint/key_io.h @@ -60,6 +60,7 @@ struct TALER_MINT_SignKeyIssuePriv struct TALER_MINT_SignKeyIssue issue; }; + GNUNET_NETWORK_STRUCT_END @@ -77,7 +78,13 @@ struct TALER_MINT_DenomKeyIssuePriv struct GNUNET_CRYPTO_rsa_PrivateKey *denom_priv; /** - * Public information about a denomination key. + * Decoded denomination public key (the hash of it is in + * @e issue, but we sometimes need the full public key as well). + */ + struct GNUNET_CRYPTO_rsa_PublicKey *denom_pub; + + /** + * Signed public information about a denomination key. */ struct TALER_MINT_DenomKeyIssue issue; }; |