object secp256k1
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- secp256k1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final class RecoveredPublicKeyAndV extends AnyRef
- final case class Signature(r: BigInteger, s: BigInteger, v: Option[Byte] = None) extends Product with Serializable
- trait SignatureParser extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ValueByteLength: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
- def ecParamSpec(implicit provider: Provider): ECParameterSpec
- def encodeSignature(signature: Signature)(implicit provider: Provider): Array[Byte]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generate_bytes_keypair(randomness: SecureRandom)(implicit provider: Provider): (Array[Byte], Array[Byte])
- def generate_jce_keypair(randomness: SecureRandom)(implicit provider: Provider): KeyPair
- def generate_jce_keys(randomness: SecureRandom)(implicit provider: Provider): (ECPrivateKey, ECPublicKey)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jce_private_key_from_S(privateKeyAsS: BigInteger)(implicit provider: Provider): ECPrivateKey
- def jce_public_key_from_XY(pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): ECPublicKey
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseSignature(signatureBytes: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
- def privkey_bigint(ecPriv: ECPrivateKey): BigInt
- def privkey_bytes(ecPriv: ECPrivateKey): Array[Byte]
- def pubkey_bigints(ecPub: ECPublicKey): (BigInt, BigInt)
- def pubkey_bytes(ecPub: ECPublicKey): Array[Byte]
- def recIdFromV(v: Int): Int
- def recoverPublicKeyAndV(sigR: BigInteger, sigS: BigInteger, signed: Array[Byte])(implicit provider: Provider): Option[RecoveredPublicKeyAndV]
-
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
-
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
- def recoverableCompleteSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
- def signatureBytes(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Array[Byte]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uncheckedSignature(privateKeyAsS: BigInteger, signMe: Array[Byte])(implicit provider: Provider): Either[Array[Byte], Signature]
- def vFromRecId(recId: Int): Int
- def verifySignature(signed: Array[Byte], signature: Signature, pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean
- def verifySignatureBytes(signed: Array[Byte], signatureBytes: Array[Byte], pubKeyX: BigInteger, pubKeyY: BigInteger)(implicit provider: Provider): Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )