From b1fbebfcfaf01a49939f6599537dae1526385ea1 Mon Sep 17 00:00:00 2001 From: swrup Date: Mon, 6 Oct 2025 21:42:24 +0200 Subject: [PATCH] --- src/types.ml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/types.ml b/src/types.ml index 1774509e..59a4a07d 100644 --- a/src/types.ml +++ b/src/types.ml @@ -170,3 +170,25 @@ module Denomination_key = struct | Rsa of Rsa_denomination_key.t | CS of CS_denomination_key.t end + +module Future_sign_key = struct +end + // The actual exchange's EdDSA signing public key. + key: EddsaPublicKey; + + // Initial validity date for the signing key. + stamp_start: Timestamp; + + // Date when the exchange will stop using the signing key, allowed to overlap + // slightly with the next signing key's validity to allow for clock skew. + stamp_expire: Timestamp; + + // Date when all signatures made by the signing key expire and should + // henceforth no longer be considered valid in legal disputes. + stamp_end: Timestamp; + + // Signature over TALER_SigningKeyAnnouncementPS + // for this signing key by the signkey security + // module using purpose TALER_SIGNATURE_SM_SIGNING_KEY. + signkey_secmod_sig: EddsaSignature; +}