object ECDigitalSignature extends Factory[ECDigitalSignature] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECDigitalSignature
  2. Serializable
  3. Factory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 LOW_R_SIZE: Byte
  5. def apply(r: BigInt, s: BigInt, hashType: HashType): ECDigitalSignature
  6. def apply(r: BigInt, s: BigInt): ECDigitalSignature
  7. def apply(hex: String): ECDigitalSignature

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  8. def apply(bytes: ByteVector): ECDigitalSignature

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. val dummy: ECDigitalSignature

    The point of this case object is to help with fee estimation an average ECDigitalSignature is 72 bytes in size Technically this number can vary, 72 bytes is the most likely though according to https://en.bitcoin.it/wiki/Elliptic_Curve_Digital_Signature_Algorithm

  12. val dummyLowR: ECDigitalSignature

    The point of this case object is to help with fee estimation when using low r signing.

    The point of this case object is to help with fee estimation when using low r signing. Technically this number can vary, 71 bytes is the most likely when using low r signing

  13. val empty: ECDigitalSignature
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def fromBytes(bytes: ByteVector): ECDigitalSignature

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    ECDigitalSignatureFactory
  18. def fromBytesLE(bytes: ByteVector): ECDigitalSignature

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  19. def fromBytesOpt(bytes: ByteVector): Option[ECDigitalSignature]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  20. def fromBytesT(bytes: ByteVector): Try[ECDigitalSignature]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  21. def fromFrontOfBytes(bytes: ByteVector): ECDigitalSignature

    Reads a (DER encoded) ECDigitalSignature from the front of a ByteVector This method is also useful if you want to parse a ecdsa digital signature but remove the HashType that the bitcoin protocol appends to the end of a signature

  22. def fromFrontOfBytesWithSigHash(bytes: ByteVector): ECDigitalSignature

    Reads a (DER encoded with sighash) ECDigitalSignature from the front of a ByteVector

  23. def fromHex(hex: String): ECDigitalSignature

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  24. def fromHexLE(hex: String): ECDigitalSignature

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  25. def fromHexOpt(hex: String): Option[ECDigitalSignature]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  26. def fromHexT(hex: String): Try[ECDigitalSignature]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  27. def fromRS(hex: String, hashType: HashType): ECDigitalSignature

    Reads a 64 byte bytevector and assumes the first 32 bytes in the R value, the second 32 is the value

  28. def fromRS(hex: String): ECDigitalSignature

    Reads a 64 byte bytevector and assumes the first 32 bytes in the R value, the second 32 is the value

  29. def fromRS(byteVector: ByteVector, hashType: HashType): ECDigitalSignature

    Reads a 64 byte bytevector and assumes the first 32 bytes in the R value, the second 32 is the value

  30. def fromRS(byteVector: ByteVector): ECDigitalSignature

    Reads a 64 byte bytevector and assumes the first 32 bytes in the R value, the second 32 is the value

  31. def fromRS(r: BigInt, s: BigInt, hashType: HashType): ECDigitalSignature

    Takes in the r and s component of a digital signature along with a HashType and gives back a ECDigitalSignature object The ECDigitalSignature object complies with strict der encoding as per BIP62 note: That the hash type for the signature CANNOT be added to the digital signature

    Takes in the r and s component of a digital signature along with a HashType and gives back a ECDigitalSignature object The ECDigitalSignature object complies with strict der encoding as per BIP62 note: That the hash type for the signature CANNOT be added to the digital signature

    r

    the r component of the digital signature

    s

    the s component of the digital signature

    hashType

    The HashType byte to append

  32. def fromRS(r: BigInt, s: BigInt): ECDigitalSignature

    Takes in the r and s component of a digital signature and gives back a ECDigitalSignature object The ECDigitalSignature object complies with strict der encoding as per BIP62 note: That the hash type for the signature CANNOT be added to the digital signature

    Takes in the r and s component of a digital signature and gives back a ECDigitalSignature object The ECDigitalSignature object complies with strict der encoding as per BIP62 note: That the hash type for the signature CANNOT be added to the digital signature

    r

    the r component of the digital signature

    s

    the s component of the digital signature

  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. val minimalEncodedZeroSig: ECDigitalSignature

    Minimally encoded zero signature This will NOT be 64 bytes in length, it will be much less due to the DER encoding

  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. implicit def self: Factory[ECDigitalSignature]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Factory[ECDigitalSignature]

Inherited from AnyRef

Inherited from Any

Ungrouped