diff options
author | Florian Dold <florian@dold.me> | 2021-04-14 14:36:46 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-04-14 14:36:46 +0200 |
commit | 14f13250a01ad15d9fb1ba956fc5409c7f76a2fa (patch) | |
tree | 6a8a17f197661663d0ea051f283ee15ef6c8bdf5 /packages/taler-wallet-core/src/util/contractTerms.ts | |
parent | 2645fe3f9bef67b8319bab56ca11e55aa586aedf (diff) | |
download | wallet-core-14f13250a01ad15d9fb1ba956fc5409c7f76a2fa.tar.xz |
forgettable information validation WIP
Diffstat (limited to 'packages/taler-wallet-core/src/util/contractTerms.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/contractTerms.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/util/contractTerms.ts b/packages/taler-wallet-core/src/util/contractTerms.ts index 78fc8f19b..cf61cc05f 100644 --- a/packages/taler-wallet-core/src/util/contractTerms.ts +++ b/packages/taler-wallet-core/src/util/contractTerms.ts @@ -216,6 +216,15 @@ export namespace ContractTermsUtil { } /** + * Check that no forgettable information has been forgotten. + * + * Must only be called on an object already validated with validateForgettable. + */ + export function validateNothingForgotten(contractTerms: any): boolean { + throw Error("not implemented yet"); + } + + /** * Hash a contract terms object. Forgettable fields * are scrubbed and JSON canonicalization is applied * before hashing. |