public class WhitelistedByZoneAttachmentConstraint implements AttachmentConstraint
An interface AttachmentConstraint
that verifies that the hash of the attachment is in the network parameters whitelist.
See: net.corda.core.node.NetworkParameters.whitelistedContractImplementations
It allows for centralized control over the cordapps that can be used.
interface AttachmentConstraint
public static WhitelistedByZoneAttachmentConstraint INSTANCE
An interface AttachmentConstraint
that verifies that the hash of the attachment is in the network parameters whitelist.
See: net.corda.core.node.NetworkParameters.whitelistedContractImplementations
It allows for centralized control over the cordapps that can be used.
interface AttachmentConstraint
public boolean isSatisfiedBy(@NotNull Attachment attachment)
Returns whether the given contract attachment can be used with the interface ContractState
associated with this constraint object.
interface ContractState