Packages

object EthSignature

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EthSignature
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Basic(v: SignatureV, r: SignatureR, s: SignatureS) extends EthSignature with Product with Serializable
  2. final case class WithChainId(v: SignatureWithChainIdV, r: SignatureR, s: SignatureS) extends EthSignature with Product with Serializable

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 apply(v: UnsignedBigInt, r: SignatureR, s: SignatureS): EthSignature
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromBytesRSV(seq: Seq[Byte]): EthSignature

    Determines whether this is a signature with or without EIP-155 Chain ID, and parses accordingly.

    Determines whether this is a signature with or without EIP-155 Chain ID, and parses accordingly. Since in general (including those with EIP-155 Chain IDs) signatures are not fixed length, the entire array is interpreted as the signature.

    For more general parsing of fixed-length signatures without Chain IDs, see the methods of EthSignature.Basic

  10. def fromBytesRSV(arr: Array[Byte]): EthSignature

    Determines whether this is a signature with or without EIP-155 Chain ID, and parses accordingly.

    Determines whether this is a signature with or without EIP-155 Chain ID, and parses accordingly. Since in general (including those with EIP-155 Chain IDs) signatures are not fixed length, the entire array is interpreted as the signature.

    For more general parsing of fixed-length signatures without Chain IDs, see the methods of EthSignature.Basic

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. object Basic extends Serializable
  23. object WithChainId extends Serializable

    Represents an EIP 155 signature with embedded Chain ID

    Represents an EIP 155 signature with embedded Chain ID

    There is no byte-length limit on Vs with Chain IDs, so these cannot be parsed as fixed-length objects, and can only be parsed in RSV format (interpreting all bytes after the first 64 as Chain-ID-embedding V values). If such a signature is embedded in a longer byte string, you'll have to slice it out first.

    See https://eips.ethereum.org/EIPS/eip-155

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped