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).
- Alphabetic
- By Inheritance
- ECPublicKeyBytes
- Serializable
- Product
- Equals
- ECPublicKeyApi
- PublicKey
- ECKeyBytes
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ECPublicKeyBytes(bytes: ByteVector)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- val bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- ECPublicKeyBytes → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val compressed: ECPublicKeyBytes.this.type
Returns the compressed version of this PublicKey
Returns the compressed version of this PublicKey
- Definition Classes
- ECPublicKeyApi
- lazy val decompressed: ECPublicKeyBytes.this.type
Returns the decompressed version of this PublicKey
Returns the decompressed version of this PublicKey
- Definition Classes
- ECPublicKeyApi
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- ECPublicKeyApi → AnyRef → Any
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- 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
- 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
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toPublicKey: ECPublicKey
Parse these bytes into the bitcoin-s internal public key type.
- def toSchnorrPubKey: SchnorrPublicKey
- def verify(hex: String, signature: ECDigitalSignature): Boolean
- Definition Classes
- ECPublicKeyApi
- 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
- def verify(hash: HashDigest, signature: ECDigitalSignature): Boolean
- Definition Classes
- ECPublicKeyApi
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()