diff options
author | Gian Demarmels <gian@demarmels.org> | 2022-01-16 21:07:20 +0100 |
---|---|---|
committer | Gian Demarmels <gian@demarmels.org> | 2022-02-04 15:37:32 +0100 |
commit | bcc159de176733300c6804eabb4a1139bad56e63 (patch) | |
tree | 08be46bfaeae3d67c17418d53409aaf44b09bca4 /src/include | |
parent | 3510f953b02e3ba0f42e1539c8151e73dfe2898b (diff) |
introduce new type for security module pubkeys
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index c6e2185f0..870e2a990 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -44,6 +44,26 @@ struct TALER_SecurityModulePublicKeyP struct GNUNET_CRYPTO_EddsaPublicKey eddsa_pub; }; +/** + * @brief Set of the public keys of the security modules + */ +struct TALER_SecurityModulePublicKeySetP +{ + /** + * Public key of the RSA security module + */ + struct TALER_SecurityModulePublicKeyP rsa; + + /** + * Public key of the CS security module + */ + struct TALER_SecurityModulePublicKeyP cs; + + /** + * Public key of the eddsa security module + */ + struct TALER_SecurityModulePublicKeyP eddsa; +}; /** * @brief Type of private keys for Taler security modules (software or hardware). |