summaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-28 18:43:41 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-28 18:51:25 +0100
commit97bae4dd65854316611c8f440176b063b545618b (patch)
tree620ce4447fddad7aac07bb500bbacb6984c8b274 /src/include/taler_crypto_lib.h
parent2d1a618d3dfb3dd0b85013b3e70debe308b88e72 (diff)
downloadexchange-97bae4dd65854316611c8f440176b063b545618b.tar.gz
exchange-97bae4dd65854316611c8f440176b063b545618b.tar.bz2
exchange-97bae4dd65854316611c8f440176b063b545618b.zip
[age restriction] progress 5/n
- taler-exchange-secmod-rsa - extracts AGE_RESTRICTED per denomination from config - propagates flag for each denomination to server - if age restriction is set for a denomination, age _mask_ is taken (for now!) from config
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index ea53efb66..9e744c8dc 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -1362,6 +1362,7 @@ struct TALER_CRYPTO_RsaDenominationHelper;
* @param sm_pub public key of the security module, NULL if the key was revoked or purged
* @param sm_sig signature from the security module, NULL if the key was revoked or purged
* The signature was already verified against @a sm_pub.
+ * @param age_restricted true, if denomnation has age restriction set
*/
typedef void
(*TALER_CRYPTO_RsaDenominationKeyStatusCallback)(
@@ -1372,7 +1373,8 @@ typedef void
const struct TALER_RsaPubHashP *h_rsa,
const struct TALER_DenominationPublicKey *denom_pub,
const struct TALER_SecurityModulePublicKeyP *sm_pub,
- const struct TALER_SecurityModuleSignatureP *sm_sig);
+ const struct TALER_SecurityModuleSignatureP *sm_sig,
+ bool age_restricted);
/**