@bloock/sdk / Key
Class: Key
Represents a key entity that can be either a LocalKey or a ManagedKey.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Key(key
): Key
Constructs a Key object for a given managed or local key object.
Parameters
Name | Type |
---|---|
key | LocalKey | ManagedKey |
Returns
Defined in
Properties
localKey
• Optional
localKey: LocalKey
Defined in
managedKey
• Optional
managedKey: ManagedKey
Defined in
Methods
toProto
▸ toProto(): Key
Returns
Key