Creates Identity object encrypting specified private key.
The identity is not registered on the blockchain. Caller needs to register it.
Private key associated with the identity
Password use to encrypt the private key
Custom label
Optional scrypt params
Import identity
Name of identity
Encrypted private key
User's password to decrypt
Address to decrypt
Salt to decrypt
Optional params to decrypt
Deserializes JSON object.
Object should be real object, not stringified.
JSON object
Generated using TypeDoc
Serializes to JSON object.
Returned object will not be stringified.