Crate tap_agent

Source
Expand description

TAP Agent implementation

This crate provides an agent implementation for the Transaction Authorization Protocol (TAP). The TAP Agent is responsible for sending and receiving TAP messages, managing keys, and applying policies.

Re-exports§

pub use agent::Agent;
pub use agent::DefaultAgent;
pub use config::AgentConfig;
pub use crypto::BasicSecretResolver;
pub use crypto::DefaultMessagePacker;
pub use crypto::MessagePacker;
pub use did::DIDMethodResolver;
pub use did::KeyResolver;
pub use did::MultiResolver;
pub use did::SyncDIDResolver;
pub use error::Error;
pub use error::Result;
pub use message::SecurityMode;
pub use message::PRESENTATION_MESSAGE_TYPE;

Modules§

agent
Agent implementation TAP Agent implementation.
config
Agent configuration Configuration for the TAP Agent
crypto
Cryptographic utilities Cryptographic utilities for the TAP Agent.
did
DID utilities DID resolution functionality for the TAP Agent.
error
Error types Error handling for TAP Agent
message
Message types and utilities Message types and utilities for the TAP Agent.

Structs§

DIDDoc
Represents DID Document (https://www.w3.org/TR/did-core/)

Constants§

VERSION
Version of the TAP Agent

Traits§

DIDResolver
Represents DID Doc resolver (https://www.w3.org/TR/did-core/#did-resolution).
ErasedSerialize
A trait for types that can be serialized to JSON in an type-erased way