Skip to main content

@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

NameType
keyLocalKey | ManagedKey

Returns

Key

Defined in

entity/key/key.ts:16

Properties

localKey

Optional localKey: LocalKey

Defined in

entity/key/key.ts:9


managedKey

Optional managedKey: ManagedKey

Defined in

entity/key/key.ts:10

Methods

toProto

toProto(): Key

Returns

Key

Defined in

entity/key/key.ts:26