public class SignableData
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
class SignableDatapublic SignableData(@NotNull
SecureHash txId,
@NotNull
SignatureMetadata signatureMetadata)
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
txId - transaction's id or root of multi-transaction Merkle tree in case of multi-transaction signing.signatureMetadata - meta data required.class SignableData@NotNull public SecureHash getTxId()
transaction
's id or root of multi-transaction Merkle tree in case of multi-transaction signing.
@NotNull public SignatureMetadata getSignatureMetadata()
meta data required.
@NotNull public SecureHash component1()
transaction
's id or root of multi-transaction Merkle tree in case of multi-transaction signing.
@NotNull public SignatureMetadata component2()
meta data required.
@NotNull public SignableData copy(@NotNull SecureHash txId, @NotNull SignatureMetadata signatureMetadata)
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
txId - transaction's id or root of multi-transaction Merkle tree in case of multi-transaction signing.signatureMetadata - meta data required.class SignableData@NotNull public java.lang.String toString()
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
class SignableDatapublic int hashCode()
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
class SignableDatapublic boolean equals(@Nullable
java.lang.Object p)
A class SignableData object is the packet actually signed.
It works as a wrapper over transaction id and signature metadata.
Note that when multi-transaction signing (signing a block of transactions) is used, the root of the Merkle tree
(having transaction IDs as leaves) is actually signed and thus txId refers to this root and not a specific transaction.
class SignableData