corda / net.corda.core.contracts / SignatureAttachmentConstraint

SignatureAttachmentConstraint

data class SignatureAttachmentConstraint : AttachmentConstraint

An AttachmentConstraint that verifies that the attachment has signers that fulfil the provided PublicKey. See: Signature Constraints

Constructors

<init>

An AttachmentConstraint that verifies that the attachment has signers that fulfil the provided PublicKey. See: Signature Constraints

SignatureAttachmentConstraint(key: PublicKey)

Properties

key

A PublicKey that must be fulfilled by the owning keys of the attachment's signing parties.

val key: PublicKey

Functions

isSatisfiedBy

Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.

fun isSatisfiedBy(attachment: Attachment): Boolean