This commit is contained in:
parent
68b5e6608a
commit
b1fbebfcfa
1 changed files with 22 additions and 0 deletions
22
src/types.ml
22
src/types.ml
|
|
@ -170,3 +170,25 @@ module Denomination_key = struct
|
||||||
| Rsa of Rsa_denomination_key.t
|
| Rsa of Rsa_denomination_key.t
|
||||||
| CS of CS_denomination_key.t
|
| CS of CS_denomination_key.t
|
||||||
end
|
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;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue