Skip to main content

@bloock/sdk / ManagedKeyParams

Class: ManagedKeyParams

Represents the parameters for creating a managed key.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ManagedKeyParams(protection, keyType, name?, expiration?): ManagedKeyParams

Constructs a ManagedKeyParams object with the specified parameters.

Parameters

NameType
protectionKeyProtectionLevel
keyTypeKeyType
name?string
expiration?number

Returns

ManagedKeyParams

Defined in

entity/key/managed_key_params.ts:33

Properties

expiration

Optional expiration: number

Is the timestamp indicating when the key expires.

Defined in

entity/key/managed_key_params.ts:24


keyType

keyType: KeyType

Is the type of the key.

Defined in

entity/key/managed_key_params.ts:20


name

Optional name: string

Is the name of the managed key.

Defined in

entity/key/managed_key_params.ts:12


protection

protection: KeyProtectionLevel

Is the protection level for the key.

Defined in

entity/key/managed_key_params.ts:16

Methods

toProto

toProto(): ManagedKeyParams

Returns

ManagedKeyParams

Defined in

entity/key/managed_key_params.ts:45