Object

com.mchange.sc.v1.consuela.crypto

secp256k1

Related Doc: package crypto

Permalink

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

    Permalink
  2. final case class Signature(r: BigInteger, s: BigInteger, v: Option[Byte] = None) extends Product with Serializable

    Permalink
  3. trait SignatureParser extends AnyRef

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ValueByteLength: Int

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def computePublicKeyBytes(privateKeyAsBigInteger: BigInteger)(implicit provider: Provider): Array[Byte]

    Permalink

    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]

    Permalink
  9. def ecParamSpec(implicit provider: Provider): ECParameterSpec

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

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
  16. final def getClass(): Class[_]

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

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

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

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

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

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

    Permalink
  25. def privkey_bigint(ecPriv: ECPrivateKey): BigInt

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

    Permalink
  27. def pubkey_bigints(ecPub: ECPublicKey): (BigInt, BigInt)

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

    Permalink
  29. def recIdFromV(v: Int): Int

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

    Permalink
  31. def recoverPublicKeyBytesRecId(recId: Int, sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[Array[Byte]]

    Permalink

    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]]

    Permalink

    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]

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

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

    Permalink
  38. def vFromRecId(recId: Int): Int

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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