An identity is an alias that a person or system may own. It consists of a private key and a display name. Using the private key we may: 1. Perform all operations of a EcContact. 2. Decrypt messages using our private key. 3. Sign messages, ensuring the recipient knows that we sent the message and it was not altered.
Helper function to decrypt a credential (storable version of an identity) into an identity)
Credential to decrypt.
AES secret used to decrypt the credential.
Source of the credential, used to track where a credential came from.
Decrypted identity object, ready for use.
Display name of this identity
String identifying where this identity came from
Private Key of this identity