corda / net.corda.core.crypto / SignedData / <init>

<init>

SignedData(raw: SerializedBytes<T>, sig: WithKey)

A serialized piece of data and its signature. Enforces signature validity in order to deserialize the data contained within.

Parameters

raw - the raw serialized data.

sig - the (unverified) signature for the data.