Constructors
constructor
- new Signature(r: bigint, s: bigint): Signature
Parameters
Properties
Readonly r
r: bigint
Readonly s
s: bigint
Methods
assertValidity
Returns void
hasHighS
Returns boolean
normalizeS
toCompactHex
Returns string
toCompactRawBytes
- toCompactRawBytes(): Uint8Array
Returns Uint8Array
toDERHex
- toDERHex(isCompressed?: boolean): string
Parameters
Optional isCompressed: boolean
Returns string
toDERRawBytes
- toDERRawBytes(isCompressed?: boolean): Uint8Array
Parameters
Optional isCompressed: boolean
Returns Uint8Array
toHex
Returns string
toRawBytes
Returns Uint8Array
Static fromCompact
Parameters
Static fromDER
Parameters
Static fromHex
Parameters