o

org.bitcoins.core.crypto

DummyECDigitalSignature

object DummyECDigitalSignature extends ECDigitalSignature with Product with Serializable

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DummyECDigitalSignature
  2. Serializable
  3. Product
  4. Equals
  5. ECDigitalSignature
  6. BitcoinSLogger
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bytes: ByteVector
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def decodeSignature: (BigInt, BigInt)

    Decodes the digital signature into it's r and s points throws an exception if the given sequence of bytes is not a DER encoded signature

    Decodes the digital signature into it's r and s points throws an exception if the given sequence of bytes is not a DER encoded signature

    returns

    the (r,s) values for the elliptic curve digital signature

    Definition Classes
    ECDigitalSignature
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hex: String
    Definition Classes
    ECDigitalSignature
  12. def isDEREncoded: Boolean

    Checks if this signature is encoded to DER correctly https://crypto.stackexchange.com/questions/1795/how-can-i-convert-a-der-ecdsa-signature-to-asn-1

    Checks if this signature is encoded to DER correctly https://crypto.stackexchange.com/questions/1795/how-can-i-convert-a-der-ecdsa-signature-to-asn-1

    returns

    boolean representing if the signature is a valid

    Definition Classes
    ECDigitalSignature
  13. def isEmpty: Boolean
    Definition Classes
    ECDigitalSignature
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isStrictEncoded: Boolean

    Checks if the signature is strictly der encoded as per BIP66 https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki

    Checks if the signature is strictly der encoded as per BIP66 https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki

    Definition Classes
    ECDigitalSignature
  16. lazy val logger: Logger
    Definition Classes
    BitcoinSLogger
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def productElementName(n: Int): String
    Definition Classes
    Product
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. def r: BigInt

    Represents the r value found in a elliptic curve digital signature

    Represents the r value found in a elliptic curve digital signature

    Definition Classes
    DummyECDigitalSignatureECDigitalSignature
  23. def rBytes: ByteVector

    If we need to do serialization with the r value, you should use this.

    If we need to do serialization with the r value, you should use this. It will pad the byte vector so we have exactly 32 bytes

    Definition Classes
    ECDigitalSignature
  24. def s: BigInt

    If we need to do serialization with the s value, you should use this.

    If we need to do serialization with the s value, you should use this. It will pad the byte vector so we have exactly 32 bytes

    Definition Classes
    DummyECDigitalSignatureECDigitalSignature
  25. def sBytes: ByteVector
    Definition Classes
    ECDigitalSignature
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toRawRS: ByteVector

    Creates a ByteVector with only the 32byte r value and 32 byte s value in the vector

    Creates a ByteVector with only the 32byte r value and 32 byte s value in the vector

    Definition Classes
    ECDigitalSignature
  28. def toString(): String
    Definition Classes
    ECDigitalSignature → AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ECDigitalSignature

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped