corda / net.corda.core.crypto / SignatureMetadata

SignatureMetadata

data class SignatureMetadata

SignatureMeta is required to add extra meta-data to a transaction's signature. It currently supports platformVersion only, but it can be extended to support a universal digital signature model enabling partial signatures and attaching extra information, such as a user's timestamp or other application-specific fields.

Parameters

platformVersion - current DLT version.

schemeNumberID - number id of the signature scheme used based on signer's key-pair, see SignatureScheme.schemeNumberID.

Constructors

<init>

SignatureMetadata(platformVersion: Int, schemeNumberID: Int)

SignatureMeta is required to add extra meta-data to a transaction's signature. It currently supports platformVersion only, but it can be extended to support a universal digital signature model enabling partial signatures and attaching extra information, such as a user's timestamp or other application-specific fields.

Properties

platformVersion

val platformVersion: Int

current DLT version.

schemeNumberID

val schemeNumberID: Int

number id of the signature scheme used based on signer's key-pair, see SignatureScheme.schemeNumberID.

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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