Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.crypto | |
com.google.bitcoin.protocols.channels | |
com.google.bitcoin.script |
Modifier and Type | Method and Description |
---|---|
TransactionSignature |
Transaction.calculateSignature(int inputIndex,
ECKey key,
org.spongycastle.crypto.params.KeyParameter aesKey,
byte[] connectedPubKeyScript,
Transaction.SigHash hashType,
boolean anyoneCanPay)
Calculates a signature that is valid for being inserted into the input at the given position.
|
TransactionSignature |
Transaction.calculateSignature(int inputIndex,
ECKey key,
Script connectedPubKeyScript,
Transaction.SigHash hashType,
boolean anyoneCanPay)
Calculates a signature that is valid for being inserted into the input at the given position.
|
Modifier and Type | Method and Description |
---|---|
static TransactionSignature |
TransactionSignature.decodeFromBitcoin(byte[] bytes,
boolean requireCanonical)
Returns a decoded signature.
|
static TransactionSignature |
TransactionSignature.dummy()
Returns a dummy invalid signature whose R/S values are set such that they will take up the same number of
encoded bytes as a real signature.
|
Modifier and Type | Field and Description |
---|---|
TransactionSignature |
PaymentChannelClientState.IncrementedPayment.signature |
Modifier and Type | Method and Description |
---|---|
static Script |
ScriptBuilder.createInputScript(TransactionSignature signature)
Creates a scriptSig that can redeem a pay-to-pubkey output.
|
static Script |
ScriptBuilder.createInputScript(TransactionSignature signature,
ECKey pubKey)
Creates a scriptSig that can redeem a pay-to-address output.
|
static Script |
ScriptBuilder.createMultiSigInputScript(TransactionSignature... signatures)
Create a program that satisfies an OP_CHECKMULTISIG program.
|
Modifier and Type | Method and Description |
---|---|
static Script |
ScriptBuilder.createMultiSigInputScript(List<TransactionSignature> signatures)
Create a program that satisfies an OP_CHECKMULTISIG program.
|
Copyright © 2014. All rights reserved.