com.mchange.sc.v1.consuela.crypto

secp256k1

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
Learn more about member selection
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] = scala.None) extends Product with Serializable

  3. trait SignatureParser extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ValueByteLength: Int

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. 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

  10. def decompressPublicKey(xBN: BigInteger, headerByte: Byte)(implicit provider: Provider): Array[Byte]

  11. def ecParamSpec(implicit provider: Provider): ECParameterSpec

  12. def encodeSignature(signature: Signature)(implicit provider: Provider): Array[Byte]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def generate_bytes_keypair(randomness: SecureRandom)(implicit provider: Provider): (Array[Byte], Array[Byte])

  16. def generate_jce_keypair(randomness: SecureRandom)(implicit provider: Provider): KeyPair

  17. def generate_jce_keys(randomness: SecureRandom)(implicit provider: Provider): (ECPrivateKey, ECPublicKey)

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def jce_private_key_from_S(privateKeyAsS: BigInteger)(implicit provider: Provider): ECPrivateKey

  22. def jce_public_key_from_XY(pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): ECPublicKey

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def parseSignature(signatureBytes: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]

  27. def privkey_bigint(ecPriv: ECPrivateKey): BigInt

  28. def privkey_bytes(ecPriv: ECPrivateKey): Array[Byte]

  29. def pubkey_bigints(ecPub: ECPublicKey): (BigInt, BigInt)

  30. def pubkey_bytes(ecPub: ECPublicKey): Array[Byte]

  31. def recIdFromV(v: Int): Int

  32. def recoverPublicKeyAndV(sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[RecoveredPublicKeyAndV]

  33. 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

  34. 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

  35. def recoverableCompleteSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]

  36. def signatureBytes(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Array[Byte]

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def uncheckedSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]

  40. def vFromRecId(recId: Int): Int

  41. def verifySignature(signed: Array[Byte], signature: Signature, pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean

  42. def verifySignatureBytes(signed: Array[Byte], signatureBytes: Array[Byte], pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean

  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped