public class KeyChainTransactionSigner extends CustomTransactionSigner
Transaction signer which uses provided keychain to get signing keys from. It relies on previous signer to provide derivation path to be used to get signing key and, once gets the key, just signs given transaction immediately.
It should not be used in test scenarios involving serialization as it doesn't have proper serialize/deserialize implementation.CustomTransactionSigner.SignatureAndKey
TransactionSigner.MissingSignatureException, TransactionSigner.ProposedTransaction
Constructor and Description |
---|
KeyChainTransactionSigner() |
KeyChainTransactionSigner(DeterministicKeyChain keyChain) |
Modifier and Type | Method and Description |
---|---|
protected CustomTransactionSigner.SignatureAndKey |
getSignature(Sha256Hash sighash,
List<ChildNumber> derivationPath) |
isReady, signInputs
deserialize, serialize
public KeyChainTransactionSigner()
public KeyChainTransactionSigner(DeterministicKeyChain keyChain)
protected CustomTransactionSigner.SignatureAndKey getSignature(Sha256Hash sighash, List<ChildNumber> derivationPath)
getSignature
in class CustomTransactionSigner
Copyright © 2014. All rights reserved.