Skip to main content
Version: Next

Interface: SignatureType

ec.weierstrass.SignatureType

Properties

r

Readonly r: bigint

Defined in

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


s

Readonly s: bigint

Defined in

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


recovery

Optional Readonly recovery: number

Defined in

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

Methods

assertValidity

assertValidity(): void

Returns

void

Defined in

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


addRecoveryBit

addRecoveryBit(recovery): RecoveredSignatureType

Parameters

NameType
recoverynumber

Returns

RecoveredSignatureType

Defined in

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


hasHighS

hasHighS(): boolean

Returns

boolean

Defined in

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


normalizeS

normalizeS(): SignatureType

Returns

SignatureType

Defined in

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


recoverPublicKey

recoverPublicKey(msgHash): ProjPointType<bigint>

Parameters

NameType
msgHashHex

Returns

ProjPointType<bigint>

Defined in

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


toCompactRawBytes

toCompactRawBytes(): Uint8Array

Returns

Uint8Array

Defined in

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


toCompactHex

toCompactHex(): string

Returns

string

Defined in

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


toDERRawBytes

toDERRawBytes(isCompressed?): Uint8Array

Parameters

NameType
isCompressed?boolean

Returns

Uint8Array

Defined in

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


toDERHex

toDERHex(isCompressed?): string

Parameters

NameType
isCompressed?boolean

Returns

string

Defined in

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