Interface: SignatureType
ec.weierstrass.SignatureType
Properties​
r​
• Readonly
r: bigint
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:137
s​
• Readonly
s: bigint
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:138
recovery​
• Optional
Readonly
recovery: number
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:139
Methods​
assertValidity​
â–¸ assertValidity(): void
Returns​
void
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:140
addRecoveryBit​
â–¸ addRecoveryBit(recovery
): RecoveredSignatureType
Parameters​
Name | Type |
---|---|
recovery | number |
Returns​
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:141
hasHighS​
â–¸ hasHighS(): boolean
Returns​
boolean
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:142
normalizeS​
â–¸ normalizeS(): SignatureType
Returns​
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:143
recoverPublicKey​
â–¸ recoverPublicKey(msgHash
): ProjPointType
<bigint
>
Parameters​
Name | Type |
---|---|
msgHash | Hex |
Returns​
ProjPointType
<bigint
>
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:144
toCompactRawBytes​
â–¸ toCompactRawBytes(): Uint8Array
Returns​
Uint8Array
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:145
toCompactHex​
â–¸ toCompactHex(): string
Returns​
string
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:146
toDERRawBytes​
â–¸ toDERRawBytes(isCompressed?
): Uint8Array
Parameters​
Name | Type |
---|---|
isCompressed? | boolean |
Returns​
Uint8Array
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:147
toDERHex​
â–¸ toDERHex(isCompressed?
): string
Parameters​
Name | Type |
---|---|
isCompressed? | boolean |
Returns​
string
Defined in​
node_modules/@noble/curves/abstract/weierstrass.d.ts:148