Interface SchnorrSignature

All Known Implementing Classes:
SchnorrSignatureImpl

public interface SchnorrSignature
A secp256k1 Schnorr signature.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Serialize to 64-byte raw format in a byte[].
    of(byte[] bytes)
    Deprecated, for removal: This API element is subject to removal in a future version.
    r()
    Get scalar R
    s()
    Get scalar S
  • Method Details

    • r

      Get scalar R
      Returns:
      R
    • s

      Get scalar S
      Returns:
      S
    • bytes

      byte[] bytes()
      Serialize to 64-byte raw format in a byte[].
      Returns:
      serialized bytes
    • of

      @Deprecated(forRemoval=true) static SchnorrSignature of(byte[] bytes)
      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