class Signature
(source)
A SECP256K1 digital signature.
open fun bytes(): Bytes |
|
open static fun create(v: Byte, r: BigInteger, s: BigInteger): Signature
Create a signature from parameters. |
|
open fun equals(other: Any?): Boolean |
|
open static fun fromBytes(bytes: Bytes): Signature
Create a signature from bytes. |
|
open fun hashCode(): Int |
|
open fun isCanonical(): Boolean
Check if the signature is canonical. Every signature (r,s) has an equivalent signature (r, -s (mod N)) that is also valid for the same message. The canonical signature is considered the signature with the s-value less than or equal to half the curve order. |
|
open fun r(): BigInteger |
|
open fun s(): BigInteger |
|
open fun toString(): String |
|
open fun v(): Byte |