summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-20 14:32:12 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-20 14:32:12 +0100
commitdef59c1ee59268688fd2a9a01691d0a9bf26c671 (patch)
treecf2c60f0bd8d27533adb2515811b3cfe67ae525b
parentf4cc36c3b3ef69900f2c5a3da760364be7010795 (diff)
downloaddocs-def59c1ee59268688fd2a9a01691d0a9bf26c671.tar.gz
docs-def59c1ee59268688fd2a9a01691d0a9bf26c671.tar.bz2
docs-def59c1ee59268688fd2a9a01691d0a9bf26c671.zip
fix AML signature description
-rw-r--r--core/api-common.rst18
-rw-r--r--core/api-exchange.rst3
2 files changed, 19 insertions, 2 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index a6bb9abe..7e342cb0 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -1847,6 +1847,24 @@ within the
uint32_t is_active GNUNET_PACKED;
};
+. _TALER_AmlDecisionPS:
+.. sourcecode:: c
+
+ struct TALER_AmlDecisionPS
+ {
+ /**
+ * purpose.purpose =TALER_SIGNATURE_AML_DECISION.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_HashCode h_justification GNUNET_PACKED;
+ struct GNUNET_TIME_TimestampNBO decision_time;
+ struct TALER_AmountNBO new_threshold;
+ struct TALER_PaytoHashP h_payto GNUNET_PACKED;
+ struct GNUNET_HashCode h_kyc_requirements;
+ uint32_t new_state GNUNET_PACKED;
+
+ };
+
.. _TALER_PartnerConfigurationPS:
.. sourcecode:: c
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 713d70f9..222d345e 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1505,8 +1505,7 @@ and freeze or unfreeze accounts suspected of money laundering.
// Numerical values are defined in `AmlDecisionState`.
new_state: Integer;
- // Signature by the AML officer over a
- // `TALER_MasterAmlOfficerStatusPS`.
+ // Signature by the AML officer over a `TALER_AmlDecisionPS`.
// Must have purpose ``TALER_SIGNATURE_MASTER_AML_KEY``.
officer_sig: EddsaSignature;