Packages

case class ECPublicKeyBytes(bytes: ByteVector) extends ECKeyBytes with ECPublicKeyApi with Product with Serializable

Wraps raw ECPublicKey bytes without doing any validation or deserialization (may be invalid).

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECPublicKeyBytes
  2. Serializable
  3. Product
  4. Equals
  5. ECPublicKeyApi
  6. PublicKey
  7. ECKeyBytes
  8. NetworkElement
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ECPublicKeyBytes(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. 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. val bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    ECPublicKeyBytesNetworkElement
  7. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. lazy val compressed: ECPublicKeyBytes.this.type

    Returns the compressed version of this PublicKey

    Returns the compressed version of this PublicKey

    Definition Classes
    ECPublicKeyApi
  10. lazy val decompressed: ECPublicKeyBytes.this.type

    Returns the decompressed version of this PublicKey

    Returns the decompressed version of this PublicKey

    Definition Classes
    ECPublicKeyApi
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    ECPublicKeyApi → AnyRef → Any
  15. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  16. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  17. def isCompressed: Boolean

    Returns true if the underlying bytes being wrapped are compressed

    Returns true if the underlying bytes being wrapped are compressed

    Definition Classes
    ECPublicKeyApi
  18. def isDecompressed: Boolean

    Returns true if the underlying bytes being wrapped are decompressed

    Returns true if the underlying bytes being wrapped are decompressed

    Definition Classes
    ECPublicKeyApi
  19. def isFullyValid: Boolean

    Returns true if the underlying bytes being wrapped are valid according to secp256k1

    Returns true if the underlying bytes being wrapped are valid according to secp256k1

    Definition Classes
    ECPublicKeyApi
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toPublicKey: ECPublicKey

    Parse these bytes into the bitcoin-s internal public key type.

  27. def toSchnorrPubKey: SchnorrPublicKey
  28. def verify(hex: String, signature: ECDigitalSignature): Boolean
    Definition Classes
    ECPublicKeyApi
  29. def verify(data: ByteVector, signature: ECDigitalSignature): Boolean

    Verifies if a given piece of data is signed by the ECPrivateKey's corresponding ECPublicKey.

    Verifies if a given piece of data is signed by the ECPrivateKey's corresponding ECPublicKey.

    Definition Classes
    ECPublicKeyApi
  30. def verify(hash: HashDigest, signature: ECDigitalSignature): Boolean
    Definition Classes
    ECPublicKeyApi
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. 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 ECPublicKeyApi

Inherited from PublicKey

Inherited from ECKeyBytes

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped