:Identity
The Identity object is a sub-object of the Actor data object that stores information about actors who have identifiable profiles, along with their cryptographic keys. The Identity object is an essential part of any system that requires secure identification and authentication of actors. It can be used in a variety of applications, including secure communication, online banking, and e-commerce. By using cryptographic keys and digital signatures, the identity object ensures that the actor's identity is secure and cannot be compromised.
Identity data structure
| Field | Type | Description | Mandatory | Reference |
|---|---|---|---|---|
| managedBy | CDID | Managed by actor | Yes (or keys) | Actor.Identity |
| keys | Array of key objects | Array of key objects |
If identity is managed by another Actor, it can't have keys object.
Signature keys
Every identity in Cadastry has a set of cryptographic keys that are used to digitaly sign records.
A cryptographic key is a string of characters that is used to encrypt and decrypt data. In Cadastry, each actor has a set of cryptographic keys that are used to sign records.
Public and Private keys
A public key is a unique identifier that is associated with an actor's identity. It is a long string of characters that can be freely shared with others. In Cadastry, each actor has a public key that is used to verify their identity when they sign a record on the blockchain.
When an actor signs a record, they use their private key to create a digital signature. This digital signature is then added to the record along with their public key. Other actors can use the signer's public key to verify the digital signature and ensure that the record has not been tampered with.
Associating Keys with Blockchains
In Cadastry, actors can associate their cryptographic keys from different blockchain systems. This allows them to use multiple keys from different blockchains to sign records. For example, an actor might use a public key associated with the Ethereum blockchain to sign a record, and a public key associated with the Binance Smart Chain to sign the same record.
Key object
| Field | Type | Description |
|---|---|---|
| chain | string | The blockchain network the key is associated with. |
| standard | string | The cryptographic signature standard used for the key. |
| publicKey | string | The actual cryptographic key. |
| active | boolean | The activation status of the key. |
Example
"record":{
"actor": {
"name": "John Doe",
"shortName": "JohnD",
"headline": "Founder of Acme Inc.",
"resources": [],
"identity":{
"keys": [{
"chain":"Solana",
"standard":"ED25519",
"publicKey":"9ZNTfG4NyQgxy2SWjSiQoUyBPEvXT2xo7fKc5hPYYJ7b",
"active":true
}]
}
}
}