AgentBlueprintProtocol.Signature.Attributes (Agent Blueprint Protocol v1.1.0)

Copy Markdown View Source

This struct contains validated attributes returned by the Signature module.

Use it when reading parsed signature attributes.

This module does not authorize operations.

Example

match?({:error, %AgentBlueprintProtocol.Error{}}, AgentBlueprintProtocol.Signature.attributes(nil))

Summary

Types

A signature purpose value. Match known names and keep a catch-all branch.

t()

The public data type for AgentBlueprintProtocol.Signature.Attributes.

Types

purpose()

(since 1.0.0)
@type purpose() :: atom()

A signature purpose value. Match known names and keep a catch-all branch.

t()

(since 1.0.0)
@type t() :: %AgentBlueprintProtocol.Signature.Attributes{
  algorithm: binary(),
  content_digest: AgentBlueprintProtocol.Digest.t(),
  created_at: binary(),
  key_id: binary(),
  purpose: purpose()
}

The public data type for AgentBlueprintProtocol.Signature.Attributes.