public class NotaryChangeLedgerTransaction extends FullTransaction implements TransactionWithSignatures
A notary change transaction with fully resolved inputs and signatures. In contrast with a regular transaction, signatures are checked against the signers specified by input states' participants fields, so full resolution is needed for signature verification.
Modifier and Type | Class and Description |
---|---|
static class |
NotaryChangeLedgerTransaction.Companion |
TransactionWithSignatures.DefaultImpls
Modifier and Type | Field and Description |
---|---|
static NotaryChangeLedgerTransaction.Companion |
Companion |
Constructor and Description |
---|
NotaryChangeLedgerTransaction(java.util.List<? extends net.corda.core.contracts.StateAndRef<? extends net.corda.core.contracts.ContractState>> inputs,
Party notary,
Party newNotary,
SecureHash id,
java.util.List<net.corda.core.crypto.TransactionSignature> sigs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<net.corda.core.contracts.StateAndRef> |
component1() |
Party |
component2() |
Party |
component3() |
SecureHash |
component4() |
java.util.List<net.corda.core.crypto.TransactionSignature> |
component5() |
NetworkParameters |
component6() |
NotaryChangeLedgerTransaction |
copy(java.util.List<? extends net.corda.core.contracts.StateAndRef<? extends net.corda.core.contracts.ContractState>> inputs,
Party notary,
Party newNotary,
SecureHash id,
java.util.List<net.corda.core.crypto.TransactionSignature> sigs)
Deprecated.
|
boolean |
equals(java.lang.Object other) |
SecureHash |
getId() |
java.util.List<net.corda.core.contracts.StateAndRef> |
getInputs()
The inputs of this transaction.
|
java.util.List<java.lang.String> |
getKeyDescriptions(java.util.Set<? extends java.security.PublicKey> keys)
Get a human readable description of where signatures are required from, and are missing, to assist in debugging
the underlying cause.
|
NetworkParameters |
getNetworkParameters()
Network parameters that were in force when this transaction was created.
|
Party |
getNewNotary() |
Party |
getNotary()
If present,
|
java.util.List<net.corda.core.contracts.TransactionState> |
getOutputs()
We compute the outputs on demand by applying the notary field modification to the inputs.
|
java.util.List<net.corda.core.contracts.StateAndRef> |
getReferences()
A list of reusable reference data states which can be referred to by other contracts in this transaction.
|
java.util.Set<java.security.PublicKey> |
getRequiredSigningKeys()
Specifies all the public keys that require signatures for the transaction to be valid.
|
java.util.List<net.corda.core.crypto.TransactionSignature> |
getSigs()
List of signatures on this transaction.
|
int |
hashCode() |
java.lang.String |
toString() |
checkBaseInvariants, checkNotaryWhitelisted, getInputs, getNetworkParameters, getReferences
checkBaseInvariants, filterOutRefs, filterOutputs, findOutRef, findOutput, getInputs, getNotary, getOutput, getOutputStates, getOutputs, getReferences, outRef, outRef, outRefsOfType, outputsOfType, toString
checkSignaturesAreValid, getKeyDescriptions, getMissingSigners, getRequiredSigningKeys, getSigs, verifyRequiredSignatures, verifySignaturesExcept, verifySignaturesExcept
getId
public static NotaryChangeLedgerTransaction.Companion Companion
public NotaryChangeLedgerTransaction(java.util.List<? extends net.corda.core.contracts.StateAndRef<? extends net.corda.core.contracts.ContractState>> inputs, Party notary, Party newNotary, SecureHash id, java.util.List<net.corda.core.crypto.TransactionSignature> sigs)
public java.util.List<net.corda.core.contracts.StateAndRef> getReferences()
A list of reusable reference data states which can be referred to by other contracts in this transaction.
public java.util.List<net.corda.core.contracts.TransactionState> getOutputs()
We compute the outputs on demand by applying the notary field modification to the inputs.
public java.util.Set<java.security.PublicKey> getRequiredSigningKeys()
Specifies all the public keys that require signatures for the transaction to be valid.
public java.util.List<java.lang.String> getKeyDescriptions(java.util.Set<? extends java.security.PublicKey> keys)
Get a human readable description of where signatures are required from, and are missing, to assist in debugging the underlying cause.
Note that the results should not be serialised, parsed or expected to remain stable between Corda versions.
public java.util.List<net.corda.core.contracts.StateAndRef> component1()
public Party component2()
public Party component3()
public SecureHash component4()
public java.util.List<net.corda.core.crypto.TransactionSignature> component5()
public NetworkParameters component6()
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
public NotaryChangeLedgerTransaction copy(java.util.List<? extends net.corda.core.contracts.StateAndRef<? extends net.corda.core.contracts.ContractState>> inputs, Party notary, Party newNotary, SecureHash id, java.util.List<net.corda.core.crypto.TransactionSignature> sigs)
public java.util.List<net.corda.core.contracts.StateAndRef> getInputs()
The inputs of this transaction.
Note that in BaseTransaction subclasses the type of this list may change!
public Party getNotary()
If present,
the notary for this transaction. If absent then the transaction is not notarised at all.This is intended for issuance/genesis transactions that don't consume any other states and thus can'tdouble spend anything.
public Party getNewNotary()
public SecureHash getId()
public java.util.List<net.corda.core.crypto.TransactionSignature> getSigs()
List of signatures on this transaction.
public NetworkParameters getNetworkParameters()
Network parameters that were in force when this transaction was created.
Resolved from the hash of network parameters on the correspondingwire transaction.