Skip to main content

PublicKeyBundle

Class: PublicKeyBundle

Implements

  • PublicKeyBundle

Constructors

constructor

new PublicKeyBundle(identityKey, preKey)

Parameters

NameType
identityKeyPublicKey
preKeyPublicKey

Defined in

crypto/PublicKeyBundle.ts:11

Properties

identityKey

identityKey: PublicKey

Implementation of

proto.PublicKeyBundle.identityKey

Defined in

crypto/PublicKeyBundle.ts:8


preKey

preKey: PublicKey

Implementation of

proto.PublicKeyBundle.preKey

Defined in

crypto/PublicKeyBundle.ts:9

Methods

toBytes

toBytes(): Uint8Array

Returns

Uint8Array

Defined in

crypto/PublicKeyBundle.ts:26


walletSignatureAddress

walletSignatureAddress(): string

Returns

string

Defined in

crypto/PublicKeyBundle.ts:22


fromBytes

Static fromBytes(bytes): PublicKeyBundle

Parameters

NameType
bytesUint8Array

Returns

PublicKeyBundle

Defined in

crypto/PublicKeyBundle.ts:30