diff options
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 |
commit | 97bae4dd65854316611c8f440176b063b545618b (patch) | |
tree | 620ce4447fddad7aac07bb500bbacb6984c8b274 /src/util/taler-exchange-secmod-rsa.h | |
parent | 2d1a618d3dfb3dd0b85013b3e70debe308b88e72 (diff) | |
download | exchange-97bae4dd65854316611c8f440176b063b545618b.tar.xz |
[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/util/taler-exchange-secmod-rsa.h')
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/taler-exchange-secmod-rsa.h b/src/util/taler-exchange-secmod-rsa.h index b0fdfbd96..9207e705a 100644 --- a/src/util/taler-exchange-secmod-rsa.h +++ b/src/util/taler-exchange-secmod-rsa.h @@ -77,6 +77,11 @@ struct TALER_CRYPTO_RsaKeyAvailableNotification */ struct TALER_SecurityModuleSignatureP secm_sig; + /** + * Indicator for age restriction + */ + uint8_t age_restricted; + /* followed by @e pub_size bytes of the RSA public key */ /* followed by @e section_name bytes of the configuration section name |