taler-mailbox

Service for asynchronous wallet-to-wallet payment messages
Log | Files | Refs | Submodules | README | LICENSE

taler_signatures.go (12517B)


      1 /*
      2   This file is part of Gnu Taler
      3   Copyright (C) 2012-2025 Taler Systems Sa
      4 
      5   Gnu Taler is free software: you can redistribute it and/or modify it
      6   under the terms of the Gnu Lesser General Public License as published
      7   by the Free Software Foundation, either version 3 of the License,
      8   or (at your option) any later version.
      9 
     10   Gnu Taler is distributed in the hope that it will be useful, but
     11   Without Any Warranty; without even the implied warranty of
     12   Merchantability or Fitness For A Particular Purpose.  See the Gnu
     13   Lesser General Public License for more details.
     14 
     15   You should have received a copy of the Gnu Lesser General Public License
     16   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17 
     18   Spdx-License-Identifier: Lgpl3.0-or-later
     19 
     20   Note: the Lgpl does not apply to all components of Gnu Taler,
     21   but it does apply to this file.
     22  */
     23 
     24 package gana
     25 
     26 const (
     27 
     28 
     29   /**
     30    * Initialize or update the status of an Aml key for an Aml officer (Gnu Taler)
     31    */
     32   TalerSignaturePurposeMasterAmlKey = 1017
     33 
     34 
     35   /**
     36    * Affirm wiring of exchange profits to operator account. (Gnu Taler)
     37    */
     38   TalerSignaturePurposeMasterDrainProfit = 1018
     39 
     40 
     41   /**
     42    * Signature affirming a partner configuration for wads. (Gnu Taler)
     43    */
     44   TalerSignaturePurposeMasterPartnerDetails = 1019
     45 
     46 
     47   /**
     48    * The given revocation key was revoked and must no longer be used. (Gnu Taler)
     49    */
     50   TalerSignaturePurposeMasterSigningKeyRevoked = 1020
     51 
     52 
     53   /**
     54    * Add payto Uri to the list of our wire methods. (Gnu Taler)
     55    */
     56   TalerSignaturePurposeMasterAddWire = 1021
     57 
     58 
     59   /**
     60    * Signature over global set of fees charged by the exchange. (Gnu Taler)
     61    */
     62   TalerSignaturePurposeMasterGlobalFees = 1022
     63 
     64 
     65   /**
     66    * Remove payto Uri from the list of our wire methods. (Gnu Taler)
     67    */
     68   TalerSignaturePurposeMasterDelWire = 1023
     69 
     70 
     71   /**
     72    * Purpose for signing public keys signed by the exchange master key. (Gnu Taler)
     73    */
     74   TalerSignaturePurposeMasterSigningKeyValidity = 1024
     75 
     76 
     77   /**
     78    * Purpose for denomination keys signed by the exchange master key. (Gnu Taler)
     79    */
     80   TalerSignaturePurposeMasterDenominationKeyValidity = 1025
     81 
     82 
     83   /**
     84    * Add an auditor to the list of our auditors. (Gnu Taler)
     85    */
     86   TalerSignaturePurposeMasterAddAuditor = 1026
     87 
     88 
     89   /**
     90    * Remove an auditor from the list of our auditors. (Gnu Taler)
     91    */
     92   TalerSignaturePurposeMasterDelAuditor = 1027
     93 
     94 
     95   /**
     96    * Fees charged per (aggregate) wire transfer to the merchant. (Gnu Taler)
     97    */
     98   TalerSignaturePurposeMasterWireFees = 1028
     99 
    100 
    101   /**
    102    * The given revocation key was revoked and must no longer be used. (Gnu Taler)
    103    */
    104   TalerSignaturePurposeMasterDenominationKeyRevoked = 1029
    105 
    106 
    107   /**
    108    * Signature where the Exchange confirms its Iban details in the /wire response. (Gnu Taler)
    109    */
    110   TalerSignaturePurposeMasterWireDetails = 1030
    111 
    112 
    113   /**
    114    * Set the configuration of an extension (age-restriction or peer2peer) (Gnu Taler)
    115    */
    116   TalerSignaturePurposeMasterExtension = 1031
    117 
    118 
    119   /**
    120    * Purpose for the state of a reserve, signed by the exchange's signing key. (Gnu Taler)
    121    */
    122   TalerSignaturePurposeExchangeReserveStatus = 1032
    123 
    124 
    125   /**
    126    * Signature where the Exchange confirms a deposit request. (Gnu Taler)
    127    */
    128   TalerSignaturePurposeExchangeConfirmDeposit = 1033
    129 
    130 
    131   /**
    132    * Signature where the exchange (current signing key) confirms the no-reveal index for cut-and-choose and the validity of the melted coins. (Gnu Taler)
    133    */
    134   TalerSignaturePurposeExchangeConfirmMelt = 1034
    135 
    136 
    137   /**
    138    * Signature where the Exchange confirms the full /keys response set. (Gnu Taler)
    139    */
    140   TalerSignaturePurposeExchangeKeySet = 1035
    141 
    142 
    143   /**
    144    * Signature where the Exchange confirms the /track/transaction response. (Gnu Taler)
    145    */
    146   TalerSignaturePurposeExchangeConfirmWire = 1036
    147 
    148 
    149   /**
    150    * Signature where the Exchange confirms the /wire/deposit response. (Gnu Taler)
    151    */
    152   TalerSignaturePurposeExchangeConfirmWireDeposit = 1037
    153 
    154 
    155   /**
    156    * Signature where the Exchange confirms a refund request. (Gnu Taler)
    157    */
    158   TalerSignaturePurposeExchangeConfirmRefund = 1038
    159 
    160 
    161   /**
    162    * Signature where the Exchange confirms a recoup. (Gnu Taler)
    163    */
    164   TalerSignaturePurposeExchangeConfirmRecoup = 1039
    165 
    166 
    167   /**
    168    * Signature where the Exchange confirms it closed a reserve. (Gnu Taler)
    169    */
    170   TalerSignaturePurposeExchangeReserveClosed = 1040
    171 
    172 
    173   /**
    174    * Signature where the Exchange confirms a recoup-refresh operation. (Gnu Taler)
    175    */
    176   TalerSignaturePurposeExchangeConfirmRecoupRefresh = 1041
    177 
    178 
    179   /**
    180    * Signature where the Exchange confirms that it does not know a denomination (hash). (Gnu Taler)
    181    */
    182   TalerSignaturePurposeExchangeAffirmDenomUnknown = 1042
    183 
    184 
    185   /**
    186    * Signature where the Exchange confirms that it does not consider a denomination valid for the given operation at this time. (Gnu Taler)
    187    */
    188   TalerSignaturePurposeExchangeAffirmDenomExpired = 1043
    189 
    190 
    191   /**
    192    * Signature by which the exchange affirms that a purse was created with a certain amount deposited into it. (Gnu Taler)
    193    */
    194   TalerSignaturePurposeExchangeConfirmPurseCreation = 1045
    195 
    196 
    197   /**
    198    * Signature by which the exchange affirms that a purse was merged into a reserve with a certain amount in it. (Gnu Taler)
    199    */
    200   TalerSignaturePurposeExchangeConfirmPurseMerged = 1046
    201 
    202 
    203   /**
    204    * Purpose for the state of a purse, signed by the exchange's signing key. (Gnu Taler)
    205    */
    206   TalerSignaturePurposeExchangePurseStatus = 1047
    207 
    208 
    209   /**
    210    * Signature by which the exchange attests identity attributes of a particular reserve owner. (Gnu Taler)
    211    */
    212   TalerSignaturePurposeExchangeReserveAttestDetails = 1048
    213 
    214 
    215   /**
    216    * Signature by which the exchange confirms that a purse expired and a coin was refunded. (Gnu Taler)
    217    */
    218   TalerSignaturePurposeExchangeConfirmPurseRefund = 1049
    219 
    220 
    221   /**
    222    * Signature where the Exchange confirms an (age-)withdraw. (Gnu Taler)
    223    */
    224   TalerSignaturePurposeExchangeConfirmWithdraw = 1050
    225 
    226 
    227   /**
    228    * Signature where the auditor confirms that he is aware of certain denomination keys from the exchange. (Gnu Taler)
    229    */
    230   TalerSignaturePurposeAuditorExchangeKeys = 1064
    231 
    232 
    233   /**
    234    * Signature where the merchant confirms a contract (to the customer). (Gnu Taler)
    235    */
    236   TalerSignaturePurposeMerchantContract = 1101
    237 
    238 
    239   /**
    240    * Signature where the merchant confirms a refund (of a coin). (Gnu Taler)
    241    */
    242   TalerSignaturePurposeMerchantRefund = 1102
    243 
    244 
    245   /**
    246    * Signature where the merchant confirms that he needs the wire transfer identifier for a deposit operation. (Gnu Taler)
    247    */
    248   TalerSignaturePurposeMerchantTrackTransaction = 1103
    249 
    250 
    251   /**
    252    * Signature where the merchant confirms that the payment was successful (Gnu Taler)
    253    */
    254   TalerSignaturePurposeMerchantPaymentOk = 1104
    255 
    256 
    257   /**
    258    * Signature where the merchant confirms its own (salted) wire details (not yet really used). (Gnu Taler)
    259    */
    260   TalerSignaturePurposeMerchantWireDetails = 1107
    261 
    262 
    263   /**
    264    * Signature where the merchant issues a token by blindly signing it. Signed with the token issue private key. (Gnu Taler)
    265    */
    266   TalerSignaturePurposeMerchantTokenIssue = 1108
    267 
    268 
    269   /**
    270    * Signature where the reserve key confirms a withdraw request. Signed with the reserve private key. (Gnu Taler)
    271    */
    272   TalerSignaturePurposeWalletReserveWithdraw = 1200
    273 
    274 
    275   /**
    276    * Signature made by the wallet of a user to confirm a deposit of a coin. (Gnu Taler)
    277    */
    278   TalerSignaturePurposeWalletCoinDeposit = 1201
    279 
    280 
    281   /**
    282    * Signature using a coin key confirming the melting of a coin. Signed with the coin's private key. (Gnu Taler)
    283    */
    284   TalerSignaturePurposeWalletCoinMelt = 1202
    285 
    286 
    287   /**
    288    * Signature using a coin key requesting recoup. Signed with the coin's private key. (Gnu Taler)
    289    */
    290   TalerSignaturePurposeWalletCoinRecoup = 1203
    291 
    292 
    293   /**
    294    * Signature using a coin key authenticating link data. Signed with the old coin's private key. (Gnu Taler)
    295    */
    296   TalerSignaturePurposeWalletCoinLink = 1204
    297 
    298 
    299   /**
    300    * 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. (Gnu Taler)
    301    */
    302   TalerSignaturePurposeWalletAccountSetup = 1205
    303 
    304 
    305   /**
    306    * Signature using a coin key requesting recoup-refresh. Signed with the coin private key. (Gnu Taler)
    307    */
    308   TalerSignaturePurposeWalletCoinRecoupRefresh = 1206
    309 
    310 
    311   /**
    312    * Signature using a age restriction key for attestation of a particular age/age-group. (Gnu Taler)
    313    */
    314   TalerSignaturePurposeWalletAgeAttestation = 1207
    315 
    316 
    317   /**
    318    * Request full or partial reserve history. Signed with the reserve private key. (Gnu Taler)
    319    */
    320   TalerSignaturePurposeWalletReserveHistory = 1208
    321 
    322 
    323   /**
    324    * Request full or partial coin history. Signed with the coin private key. (Gnu Taler)
    325    */
    326   TalerSignaturePurposeWalletCoinHistory = 1209
    327 
    328 
    329   /**
    330    * Request purse creation (without reserve). Signed by the purse private key. (Gnu Taler)
    331    */
    332   TalerSignaturePurposeWalletPurseCreate = 1210
    333 
    334 
    335   /**
    336    * Request coin to be deposited into a purse. Signed with the coin private key. (Gnu Taler)
    337    */
    338   TalerSignaturePurposeWalletPurseDeposit = 1211
    339 
    340 
    341   /**
    342    * Request purse status. Signed with the purse private key. (Gnu Taler)
    343    */
    344   TalerSignaturePurposeWalletPurseStatus = 1212
    345 
    346 
    347   /**
    348    * Request purse to be merged with a reserve. Signed with the purse private key. (Gnu Taler)
    349    */
    350   TalerSignaturePurposeWalletPurseMerge = 1213
    351 
    352 
    353   /**
    354    * Request purse to be merged with a reserve. Signed by the reserve private key. (Gnu Taler)
    355    */
    356   TalerSignaturePurposeWalletAccountMerge = 1214
    357 
    358 
    359   /**
    360    * Request account to be closed. Signed with the reserve private key. (Gnu Taler)
    361    */
    362   TalerSignaturePurposeWalletReserveClose = 1215
    363 
    364 
    365   /**
    366    * Associates encrypted contract with a purse. Signed with the purse private key. (Gnu Taler)
    367    */
    368   TalerSignaturePurposeWalletPurseEcontract = 1216
    369 
    370 
    371   /**
    372    * Request reserve to be kept open. Signed with the reserve private key. (Gnu Taler)
    373    */
    374   TalerSignaturePurposeWalletReserveOpen = 1217
    375 
    376 
    377   /**
    378    * Request coin to be used to pay for reserve to be kept open. Signed with the coin private key. (Gnu Taler)
    379    */
    380   TalerSignaturePurposeWalletReserveOpenDeposit = 1218
    381 
    382 
    383   /**
    384    * Request attestation about reserve owner. Signed by the reserve private key. (Gnu Taler)
    385    */
    386   TalerSignaturePurposeWalletReserveAttestDetails = 1219
    387 
    388 
    389   /**
    390    * Signature by which a wallet requests a purse to be deleted. (Gnu Taler)
    391    */
    392   TalerSignaturePurposeWalletPurseDelete = 1220
    393 
    394 
    395   /**
    396    * Signature where the reserve key confirms an age-withdraw request. Signed with the reserve private key. (Gnu Taler)
    397    */
    398   TalerSignaturePurposeWalletReserveAgeWithdraw = 1221
    399 
    400 
    401   /**
    402    * Signature where the token use key confirms the usage of a token on a pay request. Signed with the token use private key. (Gnu Taler)
    403    */
    404   TalerSignaturePurposeWalletTokenUse = 1222
    405 
    406 
    407   /**
    408    * Signature on a denomination key announcement. (Gnu Taler)
    409    */
    410   TalerSignaturePurposeSmRsaDenominationKey = 1250
    411 
    412 
    413   /**
    414    * Signature on an exchange message signing key announcement. (Gnu Taler)
    415    */
    416   TalerSignaturePurposeSmSigningKey = 1251
    417 
    418 
    419   /**
    420    * Signature on a denomination key announcement. (Gnu Taler)
    421    */
    422   TalerSignaturePurposeSmCsDenominationKey = 1252
    423 
    424 
    425   /**
    426    * EdDsa test signature. (Gnu Taler)
    427    */
    428   TalerSignaturePurposeClientTestEddsa = 1302
    429 
    430 
    431   /**
    432    * EdDsa test signature. (Gnu Taler)
    433    */
    434   TalerSignaturePurposeExchangeTestEddsa = 1303
    435 
    436 
    437   /**
    438    * Signature by which an Aml officer signs an Aml decision. (Gnu Taler)
    439    */
    440   TalerSignaturePurposeAmlDecision = 1350
    441 
    442 
    443   /**
    444    * Signature by which an Aml officer requests Aml data. (Gnu Taler)
    445    */
    446   TalerSignaturePurposeAmlQuery = 1351
    447 
    448 
    449   /**
    450    * Signature by which an account owner authorizes access to a Kyc operation. (Gnu Taler)
    451    */
    452   TalerSignaturePurposeKycAuth = 1360
    453 
    454 
    455   /**
    456    * EdDsa signature for a policy upload. (Gnu Taler)
    457    */
    458   TalerSignaturePurposeAnastasisPolicyUpload = 1400
    459 
    460 
    461   /**
    462    * EdDsa signature for a backup upload. (Gnu Taler)
    463    */
    464   TalerSignaturePurposeSyncBackupUpload = 1450
    465 
    466 
    467   /**
    468    * Signature over messages to delete in the mailbox service (Gnu Taler)
    469    */
    470   TalerSignaturePurposeMailboxMessagesDelete = 1551
    471 
    472 
    473   /**
    474    * Signature for mailbox registration request (Gnu Taler)
    475    */
    476   TalerSignaturePurposeMailboxRegister = 1552
    477 )