case class ECDigitalSignature(bytes: ByteVector) extends DigitalSignature with Product with Serializable

Created by chris on 2/26/16.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECDigitalSignature
  2. Serializable
  3. Product
  4. Equals
  5. DigitalSignature
  6. NetworkElement
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ECDigitalSignature(bytes: ByteVector)

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. def appendHashType(hashType: HashType): ECDigitalSignature
    Definition Classes
    ECDigitalSignatureDigitalSignature
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  7. val bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    ECDigitalSignatureNetworkElement
  8. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

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

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean
    Definition Classes
    ECDigitalSignature → Equals → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashTypeOpt: Option[HashType]
    Definition Classes
    ECDigitalSignatureDigitalSignature
  16. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  17. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

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

  19. def isEmpty: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isStrictEncoded: Boolean

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

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def r: BigInt

    Represents the r value found in a elliptic curve digital signature

  27. 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

  28. 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

  29. def sBytes: ByteVector
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toRawRS: ByteVector

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

  32. def toString(): String
    Definition Classes
    ECDigitalSignature → AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DigitalSignature

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped