Skip to main content

Signature

Class: Signature

Implements

  • Signature

Constructors

constructor

new Signature(obj)

Parameters

NameType
objPartial<Signature>

Defined in

crypto/Signature.ts:58

Properties

ecdsaCompact

ecdsaCompact: undefined | ECDSACompactWithRecovery

Implementation of

signature.Signature.ecdsaCompact

Defined in

crypto/Signature.ts:54


walletEcdsaCompact

walletEcdsaCompact: undefined | ECDSACompactWithRecovery

Implementation of

signature.Signature.walletEcdsaCompact

Defined in

crypto/Signature.ts:56

Methods

equals

equals(other): boolean

Parameters

NameType
otherSignature

Returns

boolean

Defined in

crypto/Signature.ts:111


getPublicKey

getPublicKey(digest): undefined | PublicKey

Parameters

NameType
digestUint8Array

Returns

undefined | PublicKey

Defined in

crypto/Signature.ts:85


signerKey

signerKey(key): Promise<undefined | UnsignedPublicKey>

Parameters

NameType
keySignedPublicKey

Returns

Promise<undefined | UnsignedPublicKey>

Defined in

crypto/Signature.ts:71


toBytes

toBytes(): Uint8Array

Returns

Uint8Array

Defined in

crypto/Signature.ts:121


fromBytes

Static fromBytes(bytes): Signature

Parameters

NameType
bytesUint8Array

Returns

Signature

Defined in

crypto/Signature.ts:125

Was the information on this page helpful?