Signatures
A crypto signature is a mechanism used to authenticate the origin and integrity of a record. In a blockchain application, each record can have one or more signatures, each signed by a unique actor using their private key.
The following is the structure of a crypto signature of a record:
| Field | Type | Description |
|---|---|---|
| actor | string | A unique identifier for the actor who signed the record. |
| publicKey | string | The public key of the actor, used to verify the signature. |
| hash | string | A hash of the record's content, used as input to the signature verification. |
| signature | string | The digital signature of the hash, signed using the actor's private key. |
| dateTime | string | A timestamp indicating when the signature was generated, in ISO-8601 format. |
In a blockchain application, each record can have multiple signatures from different actors. This allows for a decentralized network of actors to reach consensus on the contents of a record. The signatures serve as evidence of the authenticity and integrity of the record, providing a secure and tamper-proof mechanism for storing and transmitting data in a decentralized network.
example
"signatures": [{
"actor":"3F2504E0-4F89-41D3-9A0C-0305E82C3301",
"publicKey":"9ZNTfG4NyQgxy2SWjSiQoUyBPEvXT2xo7fKc5hPYYJ7b",
"hash":"8e17c1671e1bac70ae8c7e6ab14dc67f907f9a186329c03e0a0a52c72bcd04e3",
"signature":"",
"dateTime":"2022-12-09T10:00:00Z"
}]