case class MuSigNoncePriv(bytes: ByteVector) extends NetworkElement with MaskedToString with Product with Serializable
Wraps the ephemeral private keys making up a MuSig2 nonce
- Alphabetic
- By Inheritance
- MuSigNoncePriv
- Serializable
- Product
- Equals
- MaskedToString
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MuSigNoncePriv(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
- MuSigNoncePriv → 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()
- 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 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val k1: ECPrivateKey
- val k2: ECPrivateKey
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate: MuSigNoncePriv
- 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
- val publicKey: ECPublicKey
The signer's (compressed) public key is stored alongside the ephemeral private nonces.
The signer's (compressed) public key is stored alongside the ephemeral private nonces. This is needed when verifying partial signatures and when working with tweaked individual keys (see BIP-327: "Signing with tweaked individual keys"). In MuSig/MuSig2 flows the verifier often needs the original public key (or the aggregate public key) to compute the appropriate parity/tweak and to reconstruct the adjusted public key used in verification. Storing the public key here keeps the nonce packet self-contained for those checks.
Reference: https://github.com/bitcoin/bips/blob/master/bip-0327.mediawiki#signing-with-tweaked-individual-keys
- def sumToKey(b: FieldElement): FieldElement
Collapses this into a single ephemeral private key
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toNoncePub: MuSigNoncePub
- final def toString(): String
- Definition Classes
- MaskedToString → AnyRef → Any
- def toStringSensitive: String
Returns the real value of a sensitive string This should be considered unsafe in the sense that this information is sensitive and could cause loss of funds if used anywhere things are persisted like logs
Returns the real value of a sensitive string This should be considered unsafe in the sense that this information is sensitive and could cause loss of funds if used anywhere things are persisted like logs
- Definition Classes
- MuSigNoncePriv → MaskedToString
- 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()