Skip to main content

SignedPublicKeyBundle

Class: SignedPublicKeyBundle

Implements

  • SignedPublicKeyBundle

Constructors

constructor

new SignedPublicKeyBundle(bundle)

Parameters

NameType
bundleSignedPublicKeyBundle

Defined in

crypto/PublicKeyBundle.ts:11

Properties

identityKey

identityKey: SignedPublicKey

Implementation of

publicKey.SignedPublicKeyBundle.identityKey

Defined in

crypto/PublicKeyBundle.ts:8


preKey

preKey: SignedPublicKey

Implementation of

publicKey.SignedPublicKeyBundle.preKey

Defined in

crypto/PublicKeyBundle.ts:9

Methods

equals

equals(other): boolean

Parameters

NameType
otherSignedPublicKeyBundle

Returns

boolean

Defined in

crypto/PublicKeyBundle.ts:26


isFromLegacyBundle

isFromLegacyBundle(): boolean

Returns

boolean

Defined in

crypto/PublicKeyBundle.ts:37


toBytes

toBytes(): Uint8Array

Returns

Uint8Array

Defined in

crypto/PublicKeyBundle.ts:33


toLegacyBundle

toLegacyBundle(): PublicKeyBundle

Returns

PublicKeyBundle

Defined in

crypto/PublicKeyBundle.ts:41


walletSignatureAddress

walletSignatureAddress(): Promise<string>

Returns

Promise<string>

Defined in

crypto/PublicKeyBundle.ts:22


fromBytes

Static fromBytes(bytes): SignedPublicKeyBundle

Parameters

NameType
bytesUint8Array

Returns

SignedPublicKeyBundle

Defined in

crypto/PublicKeyBundle.ts:48


fromLegacyBundle

Static fromLegacyBundle(bundle): SignedPublicKeyBundle

Parameters

NameType
bundlePublicKeyBundle

Returns

SignedPublicKeyBundle

Defined in

crypto/PublicKeyBundle.ts:53

Was the information on this page helpful?