mte/include/taler_signatures.ml

242 lines
10 KiB
OCaml
Raw Normal View History

2026-02-08 16:27:30 +01:00
(* This file was generated from the GANA database:
https://git-www.gnunet.org/gana.git/tree/gnunet-signatures/registry.rec *)
2026-02-08 16:27:30 +01:00
(** Initialize or update the status of an AML key for an AML officer *)
2025-10-08 22:38:04 +02:00
let master_aml_key : int32 = 1017_l
2026-02-08 16:27:30 +01:00
(** Affirm wiring of exchange profits to operator account. *)
2025-10-08 22:38:04 +02:00
let master_drain_profit : int32 = 1018_l
2026-02-08 16:27:30 +01:00
(** Signature affirming a partner configuration for wads. *)
2025-10-08 22:38:04 +02:00
let master_partner_details : int32 = 1019_l
2026-02-08 16:27:30 +01:00
(** The given revocation key was revoked and must no longer be used. *)
2025-10-08 22:38:04 +02:00
let master_signing_key_revoked : int32 = 1020_l
2026-02-08 16:27:30 +01:00
(** Add payto URI to the list of our wire methods. *)
2025-10-08 22:38:04 +02:00
let master_add_wire : int32 = 1021_l
2026-02-08 16:27:30 +01:00
(** Signature over global set of fees charged by the exchange. *)
2025-10-08 22:38:04 +02:00
let master_global_fees : int32 = 1022_l
2026-02-08 16:27:30 +01:00
(** Remove payto URI from the list of our wire methods. *)
2025-10-08 22:38:04 +02:00
let master_del_wire : int32 = 1023_l
2026-02-08 16:27:30 +01:00
(** Purpose for signing public keys signed by the exchange master key. *)
2025-10-08 22:38:04 +02:00
let master_signing_key_validity : int32 = 1024_l
2026-02-08 16:27:30 +01:00
(** Purpose for denomination keys signed by the exchange master key. *)
2025-10-08 22:38:04 +02:00
let master_denomination_key_validity : int32 = 1025_l
2026-02-08 16:27:30 +01:00
(** Add an auditor to the list of our auditors. *)
2025-10-08 22:38:04 +02:00
let master_add_auditor : int32 = 1026_l
2026-02-08 16:27:30 +01:00
(** Remove an auditor from the list of our auditors. *)
2025-10-08 22:38:04 +02:00
let master_del_auditor : int32 = 1027_l
2026-02-08 16:27:30 +01:00
(** Fees charged per (aggregate) wire transfer to the merchant. *)
2025-10-08 22:38:04 +02:00
let master_wire_fees : int32 = 1028_l
2026-02-08 16:27:30 +01:00
(** The given revocation key was revoked and must no longer be used. *)
2025-10-08 22:38:04 +02:00
let master_denomination_key_revoked : int32 = 1029_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms its IBAN details in the /wire response. *)
2025-10-08 22:38:04 +02:00
let master_wire_details : int32 = 1030_l
2026-02-08 16:27:30 +01:00
(** Set the configuration of an extension (age-restriction or peer2peer) *)
2025-10-08 22:38:04 +02:00
let master_extension : int32 = 1031_l
2026-02-08 16:27:30 +01:00
(** Purpose for the state of a reserve, signed by the exchange's signing key. *)
2025-10-08 22:38:04 +02:00
let exchange_reserve_status : int32 = 1032_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms a deposit request. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_deposit : int32 = 1033_l
2026-02-08 16:27:30 +01:00
(** Signature where the exchange (current signing key) confirms the no-reveal index for cut-and-choose and the validity of the melted coins. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_melt : int32 = 1034_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms the full /keys response set. *)
2025-10-08 22:38:04 +02:00
let exchange_key_set : int32 = 1035_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms the /track/transaction response. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_wire : int32 = 1036_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms the /wire/deposit response. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_wire_deposit : int32 = 1037_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms a refund request. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_refund : int32 = 1038_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms a recoup. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_recoup : int32 = 1039_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms it closed a reserve. *)
2025-10-08 22:38:04 +02:00
let exchange_reserve_closed : int32 = 1040_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms a recoup-refresh operation. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_recoup_refresh : int32 = 1041_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms that it does not know a denomination (hash). *)
2025-10-08 22:38:04 +02:00
let exchange_affirm_denom_unknown : int32 = 1042_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms that it does not consider a denomination valid for the given operation at this time. *)
2025-10-08 22:38:04 +02:00
let exchange_affirm_denom_expired : int32 = 1043_l
2026-02-08 16:27:30 +01:00
(** Signature by which the exchange affirms that a purse was created with a certain amount deposited into it. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_purse_creation : int32 = 1045_l
2026-02-08 16:27:30 +01:00
(** Signature by which the exchange affirms that a purse was merged into a reserve with a certain amount in it. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_purse_merged : int32 = 1046_l
2026-02-08 16:27:30 +01:00
(** Purpose for the state of a purse, signed by the exchange's signing key. *)
2025-10-08 22:38:04 +02:00
let exchange_purse_status : int32 = 1047_l
2026-02-08 16:27:30 +01:00
(** Signature by which the exchange attests identity attributes of a particular reserve owner. *)
2025-10-08 22:38:04 +02:00
let exchange_reserve_attest_details : int32 = 1048_l
2026-02-08 16:27:30 +01:00
(** Signature by which the exchange confirms that a purse expired and a coin was refunded. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_purse_refund : int32 = 1049_l
2026-02-08 16:27:30 +01:00
(** Signature where the Exchange confirms an (age-)withdraw. *)
2025-10-08 22:38:04 +02:00
let exchange_confirm_withdraw : int32 = 1050_l
2026-02-08 16:27:30 +01:00
(** Signature where the auditor confirms that he is aware of certain denomination keys from the exchange. *)
2025-10-08 22:38:04 +02:00
let auditor_exchange_keys : int32 = 1064_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant confirms a contract (to the customer). *)
2025-10-08 22:38:04 +02:00
let merchant_contract : int32 = 1101_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant confirms a refund (of a coin). *)
2025-10-08 22:38:04 +02:00
let merchant_refund : int32 = 1102_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant confirms that he needs the wire transfer identifier for a deposit operation. *)
2025-10-08 22:38:04 +02:00
let merchant_track_transaction : int32 = 1103_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant confirms that the payment was successful *)
2025-10-08 22:38:04 +02:00
let merchant_payment_ok : int32 = 1104_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant confirms its own (salted) wire details (not yet really used). *)
2025-10-08 22:38:04 +02:00
let merchant_wire_details : int32 = 1107_l
2026-02-08 16:27:30 +01:00
(** Signature where the merchant issues a token by blindly signing it. Signed with the token issue private key. *)
2025-10-08 22:38:04 +02:00
let merchant_token_issue : int32 = 1108_l
2026-02-08 16:27:30 +01:00
(** Signature where the reserve key confirms a withdraw request. Signed with the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_withdraw : int32 = 1200_l
2026-02-08 16:27:30 +01:00
(** Signature made by the wallet of a user to confirm a deposit of a coin. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_deposit : int32 = 1201_l
2026-02-08 16:27:30 +01:00
(** Signature using a coin key confirming the melting of a coin. Signed with the coin's private key. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_melt : int32 = 1202_l
2026-02-08 16:27:30 +01:00
(** Signature using a coin key requesting recoup. Signed with the coin's private key. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_recoup : int32 = 1203_l
2026-02-08 16:27:30 +01:00
(** Signature using a coin key authenticating link data. Signed with the old coin's private key. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_link : int32 = 1204_l
2026-02-08 16:27:30 +01:00
(** Signature using a reserve key by which a wallet requests a payment target UUID for itself. Signs over just a purpose (no body), as the signature only serves to demonstrate that the request comes from the wallet controlling the private key, and not some third party. *)
2025-10-08 22:38:04 +02:00
let wallet_account_setup : int32 = 1205_l
2026-02-08 16:27:30 +01:00
(** Signature using a coin key requesting recoup-refresh. Signed with the coin private key. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_recoup_refresh : int32 = 1206_l
2026-02-08 16:27:30 +01:00
(** Signature using a age restriction key for attestation of a particular age/age-group. *)
2025-10-08 22:38:04 +02:00
let wallet_age_attestation : int32 = 1207_l
2026-02-08 16:27:30 +01:00
(** Request full or partial reserve history. Signed with the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_history : int32 = 1208_l
2026-02-08 16:27:30 +01:00
(** Request full or partial coin history. Signed with the coin private key. *)
2025-10-08 22:38:04 +02:00
let wallet_coin_history : int32 = 1209_l
2026-02-08 16:27:30 +01:00
(** Request purse creation (without reserve). Signed by the purse private key. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_create : int32 = 1210_l
2026-02-08 16:27:30 +01:00
(** Request coin to be deposited into a purse. Signed with the coin private key. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_deposit : int32 = 1211_l
2026-02-08 16:27:30 +01:00
(** Request purse status. Signed with the purse private key. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_status : int32 = 1212_l
2026-02-08 16:27:30 +01:00
(** Request purse to be merged with a reserve. Signed with the purse private key. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_merge : int32 = 1213_l
2026-02-08 16:27:30 +01:00
(** Request purse to be merged with a reserve. Signed by the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_account_merge : int32 = 1214_l
2026-02-08 16:27:30 +01:00
(** Request account to be closed. Signed with the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_close : int32 = 1215_l
2026-02-08 16:27:30 +01:00
(** Associates encrypted contract with a purse. Signed with the purse private key. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_econtract : int32 = 1216_l
2026-02-08 16:27:30 +01:00
(** Request reserve to be kept open. Signed with the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_open : int32 = 1217_l
2026-02-08 16:27:30 +01:00
(** Request coin to be used to pay for reserve to be kept open. Signed with the coin private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_open_deposit : int32 = 1218_l
2026-02-08 16:27:30 +01:00
(** Request attestation about reserve owner. Signed by the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_attest_details : int32 = 1219_l
2026-02-08 16:27:30 +01:00
(** Signature by which a wallet requests a purse to be deleted. *)
2025-10-08 22:38:04 +02:00
let wallet_purse_delete : int32 = 1220_l
2026-02-08 16:27:30 +01:00
(** Signature where the reserve key confirms an age-withdraw request. Signed with the reserve private key. *)
2025-10-08 22:38:04 +02:00
let wallet_reserve_age_withdraw : int32 = 1221_l
2026-02-08 16:27:30 +01:00
(** Signature where the token use key confirms the usage of a token on a pay request. Signed with the token use private key. *)
2025-10-08 22:38:04 +02:00
let wallet_token_use : int32 = 1222_l
2026-02-08 16:27:30 +01:00
(** Signature used to unclaim an order, allowing other wallets to claim it. Signed with the private key of the claim nonce. *)
let wallet_order_unclaim : int32 = 1223_l
(** Signature on a denomination key announcement. *)
2025-10-08 22:38:04 +02:00
let sm_rsa_denomination_key : int32 = 1250_l
2026-02-08 16:27:30 +01:00
(** Signature on an exchange message signing key announcement. *)
2025-10-08 22:38:04 +02:00
let sm_signing_key : int32 = 1251_l
2026-02-08 16:27:30 +01:00
(** Signature on a denomination key announcement. *)
2025-10-08 22:38:04 +02:00
let sm_cs_denomination_key : int32 = 1252_l
2026-02-08 16:27:30 +01:00
(** EdDSA test signature. *)
2025-10-08 22:38:04 +02:00
let client_test_eddsa : int32 = 1302_l
2026-02-08 16:27:30 +01:00
(** EdDSA test signature. *)
2025-10-08 22:38:04 +02:00
let exchange_test_eddsa : int32 = 1303_l
2026-02-08 16:27:30 +01:00
(** Signature by which an AML officer signs an AML decision. *)
2025-10-08 22:38:04 +02:00
let aml_decision : int32 = 1350_l
2026-02-08 16:27:30 +01:00
(** Signature by which an AML officer requests AML data. *)
2025-10-08 22:38:04 +02:00
let aml_query : int32 = 1351_l
2026-02-08 16:27:30 +01:00
(** Signature by which an account owner authorizes access to a KYC operation. *)
2025-10-08 22:38:04 +02:00
let kyc_auth : int32 = 1360_l
2026-02-08 16:27:30 +01:00
(** EdDSA signature for a policy upload. *)
2025-10-08 22:38:04 +02:00
let anastasis_policy_upload : int32 = 1400_l
2026-02-08 16:27:30 +01:00
(** EdDSA signature for a backup upload. *)
2025-10-08 22:38:04 +02:00
let sync_backup_upload : int32 = 1450_l
2026-02-08 16:27:30 +01:00
(** The signature is done by the Donau. The Donau signes over the total amount of the corresponding year, the corresponding year and the donation identifier of a specific donor. The statement confirms that the donor made this total in donations for the given year. *)
let donau_donation_statement : int32 = 1500_l
(** The signature is made by a charity and shows that the charity is in agreement with the donation request which it sends to the Donau. The charity signs over all blinded identifiers and key pairs which it has received from the donor. The signature affirms that the charity wants the donation receipts to be issued on its behalf. *)
let charity_donation_confirmation : int32 = 1501_l
(** The signature is made by a charity to request information about its status from a Donau. It is not over anything in particular and is just there for access control. *)
let charity_get_info : int32 = 1502_l
(** Signature over messages to delete in the mailbox service *)
let mailbox_messages_delete : int32 = 1551_l
(** Signature for mailbox registration request *)
let mailbox_register : int32 = 1552_l