Skip to main content
Version: 6.11.0

Interface: SignatureType

ec.weierstrass.SignatureType

Properties​

r​

• Readonly r: bigint

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:136


s​

• Readonly s: bigint

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:137


recovery​

• Optional Readonly recovery: number

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:138

Methods​

assertValidity​

â–¸ assertValidity(): void

Returns​

void

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:139


addRecoveryBit​

â–¸ addRecoveryBit(recovery): RecoveredSignatureType

Parameters​

NameType
recoverynumber

Returns​

RecoveredSignatureType

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:140


hasHighS​

â–¸ hasHighS(): boolean

Returns​

boolean

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:141


normalizeS​

â–¸ normalizeS(): SignatureType

Returns​

SignatureType

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:142


recoverPublicKey​

â–¸ recoverPublicKey(msgHash): ProjPointType<bigint>

Parameters​

NameType
msgHashHex

Returns​

ProjPointType<bigint>

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:143


toCompactRawBytes​

â–¸ toCompactRawBytes(): Uint8Array

Returns​

Uint8Array

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:144


toCompactHex​

â–¸ toCompactHex(): string

Returns​

string

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:145


toDERRawBytes​

â–¸ toDERRawBytes(isCompressed?): Uint8Array

Parameters​

NameType
isCompressed?boolean

Returns​

Uint8Array

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:146


toDERHex​

â–¸ toDERHex(isCompressed?): string

Parameters​

NameType
isCompressed?boolean

Returns​

string

Defined in​

node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:147