verify
An override of this function needs to be provided to:
verify the state's well-formedness
verify compatibility with the other states of the encapsulating transaction
check required signing keys
check the transaction's timestamp.
TODO(make services injectable (crypto, etc... CORE-5995)
Parameters
ledger Transaction
encapsulating transaction
Throws
net. corda. v5. ledger. common. transaction. Transaction Verification Exception
if the verification failed.