class Signature
(source)
A SECP256K1 digital signature.
bytes |
Provides the bytes of the signature. open fun bytes(): Bytes! |
create |
Create a signature from parameters. open static fun create(v: Byte, r: BigInteger!, s: BigInteger!): Signature! |
equals |
open fun equals(other: Any?): Boolean |
fromBytes |
Create a signature from bytes. open static fun fromBytes(bytes: Bytes!): Signature! |
hashCode |
open fun hashCode(): Int |
isCanonical |
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 isCanonical(): Boolean |
r |
Provides the r-value of the signature. open fun r(): BigInteger! |
s |
Provides the s-value of the signature. open fun s(): BigInteger! |
toString |
open fun toString(): String |
v |
Provides the v-value of the signature. open fun v(): Byte |