summaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-16 21:07:20 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:37:32 +0100
commitbcc159de176733300c6804eabb4a1139bad56e63 (patch)
tree08be46bfaeae3d67c17418d53409aaf44b09bca4 /src/include/taler_crypto_lib.h
parent3510f953b02e3ba0f42e1539c8151e73dfe2898b (diff)
downloadexchange-bcc159de176733300c6804eabb4a1139bad56e63.tar.gz
exchange-bcc159de176733300c6804eabb4a1139bad56e63.tar.bz2
exchange-bcc159de176733300c6804eabb4a1139bad56e63.zip
introduce new type for security module pubkeys
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h20
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).