Interface SchnorrSignature
- All Known Implementing Classes:
SchnorrSignatureImpl
public interface SchnorrSignature
A secp256k1 Schnorr signature.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]bytes()Serialize to 64-byte raw format in abyte[].static SchnorrSignatureof(byte[] bytes) Deprecated, for removal: This API element is subject to removal in a future version.r()Get scalar Rs()Get scalar S
-
Method Details
-
r
-
s
-
bytes
byte[] bytes()Serialize to 64-byte raw format in abyte[].- Returns:
- serialized bytes
-
of
Deprecated, for removal: This API element is subject to removal in a future version.Create an ECDSA signature from serialized bytes- Parameters:
bytes- bytes- Returns:
- signature
-