sealed abstract class ECDigitalSignature extends NetworkElement

Created by chris on 2/26/16.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECDigitalSignature
  2. NetworkElement
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    ECDigitalSignatureNetworkElement

Concrete 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. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  6. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. lazy val 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

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

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  14. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  15. 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

  16. def isEmpty: Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isStrictEncoded: Boolean

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

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def r: BigInt

    Represents the r value found in a elliptic curve digital signature

  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

  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

  25. def sBytes: ByteVector
  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

  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped