Identity class

Constructors

Identity(String ontid, String label, bool lock, bool isDefault, { String extra })
Identity.fromJson(Map<String, dynamic> json)

Properties

controls ↔ List<ControlData>
read / write
extra ↔ String
read / write
isDefault ↔ bool
read / write
label ↔ String
read / write
lock ↔ bool
read / write
ontid ↔ String
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getPrivateKey(String pwd, { ScryptParams params }) → Future<PrivateKey>
toJson() → Map<String, dynamic>
toKeystore() Keystore
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

create(PrivateKey prikey, String pwd, String label, { ScryptParams params }) → Future<Identity>
fromEncryptedKey(PrivateKey encrypted, String label, String pwd, Address addr, String salt, { ScryptParams params }) → Future<Identity>
fromKeystore(Keystore keystore, String pwd) → Future<Identity>
randomLabel() → Future<String>