Skip to main content

@bloock/sdk / KeyPair

Class: KeyPair

Represents a pair of public and private keys.

Hierarchy​

Table of contents​

Constructors​

Properties​

Constructors​

constructor​

• new KeyPair(publicKey, privateKey): KeyPair

Constructs a KeyPair object with the specified parameters.

Parameters​

NameType
publicKeystring
privateKeystring

Returns​

KeyPair

Defined in​

entity/key/key_pair.ts:13

Properties​

privateKey​

• privateKey: string

Defined in​

entity/key/key_pair.ts:6


publicKey​

• publicKey: string

Defined in​

entity/key/key_pair.ts:5