corda / net.corda.core.crypto / SignableData

SignableData

data class SignableData

A 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.

Parameters

txId - transaction's id or root of multi-transaction Merkle tree in case of multi-transaction signing.

signatureMetadata - meta data required.

Constructors

<init>

SignableData(txId: SecureHash, signatureMetadata: SignatureMetadata)

A 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.

Properties

signatureMetadata

val signatureMetadata: SignatureMetadata

meta data required.

txId

val txId: SecureHash

transaction's id or root of multi-transaction Merkle tree in case of multi-transaction signing.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.