object TransactionSignatureCreator extends TransactionSignatureCreator
- Alphabetic
- By Inheritance
- TransactionSignatureCreator
- TransactionSignatureCreator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createSig(component: TxSigComponent, adaptorSign: (ByteVector) => ECAdaptorSignature, hashType: HashType): ECAdaptorSignature
- Definition Classes
- TransactionSignatureCreator
- def createSig[Sig <: DigitalSignature](spendingTransaction: Transaction, signingInfo: InputSigningInfo[InputInfo], sign: (ByteVector, HashType) => Future[Sig], hashType: HashType): Future[Sig]
This is the same as createSig above, except the 'sign' function returns a Future[ECDigitalSignature]
This is the same as createSig above, except the 'sign' function returns a Future[ECDigitalSignature]
- Definition Classes
- TransactionSignatureCreator
- def createSig[Sig <: DigitalSignature](spendingTransaction: Transaction, signingInfo: InputSigningInfo[InputInfo], sign: (ByteVector, HashType) => Sig, hashType: HashType): Sig
This is intended to be a low level hardware wallet API.
This is intended to be a low level hardware wallet API. At a fundamental level, a hardware wallet expects a scodec.bits.ByteVector as input, and returns an ECDigitalSignature if it is able to sign the scodec.bits.ByteVector's correctly.
- sign
\- the implementation of the hardware wallet protocol to sign the scodec.bits.ByteVector w/ the given public key
- hashType
\- the hash type to be appended on the digital signature when the hardware wallet is done being signed
- returns
the digital signature returned by the hardware wallet
- Definition Classes
- TransactionSignatureCreator
- def createSig[S <: DigitalSignature](component: TxSigComponent, sign: (ByteVector, HashType) => S, hashType: HashType): S
This is intended to be a low level hardware wallet API.
This is intended to be a low level hardware wallet API. At a fundamental level, a hardware wallet expects a scodec.bits.ByteVector as input, and returns an ECDigitalSignature if it is able to sign the scodec.bits.ByteVector's correctly.
- component
\- the information needed to sign the transaction
- sign
\- the implementation of the hardware wallet protocol to sign the scodec.bits.ByteVector w/ the given public key
- hashType
\- the hash type to be appended on the digital signature when the hardware wallet is done being signed
- returns
the digital signature returned by the hardware wallet
- Definition Classes
- TransactionSignatureCreator
- def createSig(txSignatureComponent: TxSigComponent, privateKey: ECPrivateKey, hashType: HashType): ECDigitalSignature
Creates a signature from a tx signature component
Creates a signature from a tx signature component
- txSignatureComponent
contains the tx, inputIndex which specify which input we are creating a sig for
- privateKey
the private key which we are signing the hash with
- hashType
the procedure to use for hashing to transaction
- Definition Classes
- TransactionSignatureCreator
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
Deprecated Value Members
- def createSig(component: TxSigComponent, sign: (ByteVector) => Future[ECDigitalSignature], hashType: HashType)(implicit ec: ExecutionContext): Future[ECDigitalSignature]
This is the same as createSig above, except the 'sign' function returns a Future[ECDigitalSignature]
This is the same as createSig above, except the 'sign' function returns a Future[ECDigitalSignature]
- Definition Classes
- TransactionSignatureCreator
- Annotations
- @deprecated
- Deprecated
(Since version 6/23/2020) use an InputSigningInfo[InputInfo] instead