SignableData - corda

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> | 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. `SignableData(txId: SecureHash, signatureMetadata: SignatureMetadata)`

### Properties

#### signatureMetadata | meta data required. `val signatureMetadata: SignatureMetadata`
#### txId | transaction's id or root of multi-transaction Merkle tree in case of multi-transaction signing. `val txId: SecureHash`