Packages

object secp256k1

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. secp256k1
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class RecoveredPublicKeyAndV extends AnyRef
  2. final case class Signature(r: BigInteger, s: BigInteger, v: Option[Byte] = None) extends Product with Serializable
  3. trait SignatureParser extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ValueByteLength: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def computePublicKeyBytes(privateKeyAsBigInteger: BigInteger)(implicit provider: Provider): Array[Byte]

    returns

    a 64 byte / 512 bit byte array which is the concatenation of the byte representations of two 256 bit big-endian ints X and Y

  8. def decompressPublicKey(xBN: BigInteger, headerByte: Byte)(implicit provider: Provider): Array[Byte]
  9. def ecParamSpec(implicit provider: Provider): ECParameterSpec
  10. def encodeSignature(signature: Signature)(implicit provider: Provider): Array[Byte]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def generate_bytes_keypair(randomness: SecureRandom)(implicit provider: Provider): (Array[Byte], Array[Byte])
  14. def generate_jce_keypair(randomness: SecureRandom)(implicit provider: Provider): KeyPair
  15. def generate_jce_keys(randomness: SecureRandom)(implicit provider: Provider): (ECPrivateKey, ECPublicKey)
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def jce_private_key_from_S(privateKeyAsS: BigInteger)(implicit provider: Provider): ECPrivateKey
  20. def jce_public_key_from_XY(pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): ECPublicKey
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def parseSignature(signatureBytes: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
  25. def privkey_bigint(ecPriv: ECPrivateKey): BigInt
  26. def privkey_bytes(ecPriv: ECPrivateKey): Array[Byte]
  27. def pubkey_bigints(ecPub: ECPublicKey): (BigInt, BigInt)
  28. def pubkey_bytes(ecPub: ECPublicKey): Array[Byte]
  29. def recIdFromV(v: Int): Int
  30. def recoverPublicKeyAndV(sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[RecoveredPublicKeyAndV]
  31. def recoverPublicKeyBytesRecId(recId: Int, sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[Array[Byte]]

    returns

    a 64 byte / 512 bit byte array which is the concatenation of the byte representations of two 256 bit big-endian ints X and Y

  32. def recoverPublicKeyBytesV(v: Int, sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[Array[Byte]]

    returns

    a 64 byte / 512 bit byte array which is the concatenation of the byte representations of two 256 bit big-endian ints X and Y

  33. def recoverableCompleteSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
  34. def signatureBytes(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Array[Byte]
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def uncheckedSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
  38. def vFromRecId(recId: Int): Int
  39. def verifySignature(signed: Array[Byte], signature: Signature, pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean
  40. def verifySignatureBytes(signed: Array[Byte], signatureBytes: Array[Byte], pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped