SignatureAttachmentConstraint - corda

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

### Types

#### Companion | `companion object Companion : Internable<SignatureAttachmentConstraint>`

### 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`

### Companion Object Properties

#### interner | `val interner: PrivateInterner<SignatureAttachmentConstraint>`

### Companion Object Functions

#### create | Factory method to be used in preference to the constructor. `fun create(key: PublicKey): SignatureAttachmentConstraint`