Table of Contents

Class WorkflowIntegrityValidator

Namespace
JD.AI.Workflows.Security
Assembly
JD.AI.Workflows.dll

Validates workflow integrity by checking signatures and publisher trust. Used as a gate before workflow execution or installation.

public sealed class WorkflowIntegrityValidator
Inheritance
WorkflowIntegrityValidator
Inherited Members

Constructors

WorkflowIntegrityValidator(byte[]?, TrustedPublisherRegistry?)

public WorkflowIntegrityValidator(byte[]? signingKey = null, TrustedPublisherRegistry? trustRegistry = null)

Parameters

signingKey byte[]

HMAC key for signature verification. Null to skip signature checks.

trustRegistry TrustedPublisherRegistry

Publisher trust registry. Null to skip trust checks.

Methods

Validate(AgentWorkflowDefinition, string?, string?)

Validates a workflow definition and its metadata. Returns a result indicating whether the workflow is safe to execute.

public WorkflowValidationResult Validate(AgentWorkflowDefinition definition, string? author = null, string? signature = null)

Parameters

definition AgentWorkflowDefinition
author string
signature string

Returns

WorkflowValidationResult