Declaration
Encapsulates cryptographic signatures.
Class Methods
Instance Methods
Class Properties
There are no class properties.
Instance Properties
| name | type | description |
|---|---|---|
message | The data signed by the | |
signatories |
| List of public keys. Each matches the corresponding signature in |
signatures |
| List of ed25519 signatures. Each is generated by signing |
Description
Declaration contains the products of a cryptographic signature: the original data, the public keys of the signatories, and the ed25519 signatures. Produced by sign and consumed by verify.
Warning: While a
Declarationcan be verified to be self-consistent, it is your responsiblity to verify the public keys in thesignatorieslist belong to whomever claims them.