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_key_manager::AgentKeyManager;pub use agent_key_manager::AgentKeyManagerBuilder;pub use config::AgentConfig;pub use did::DIDDoc;pub use did::DIDGenerationOptions;pub use did::DIDKeyGenerator;pub use did::GeneratedKey;pub use did::KeyResolver;pub use did::KeyType;pub use did::VerificationMaterial;pub use did::VerificationMethod;pub use did::VerificationMethodType;pub use error::Error;pub use error::Result;pub use key_manager::KeyManager;pub use key_manager::Secret;pub use key_manager::SecretMaterial;pub use key_manager::SecretType;pub use storage::KeyStorage;pub use storage::StoredKey;pub use agent_key::AgentKey;pub use agent_key::DecryptionKey;pub use agent_key::EncryptionKey;pub use agent_key::JweAlgorithm;pub use agent_key::JweEncryption;pub use agent_key::JwsAlgorithm;pub use agent_key::SigningKey;pub use agent_key::VerificationKey;pub use local_agent_key::LocalAgentKey;pub use local_agent_key::PublicVerificationKey;pub use message::SecurityMode;pub use message_packing::KeyManagerPacking;pub use message_packing::PackOptions;pub use message_packing::Packable;pub use message_packing::UnpackOptions;pub use message_packing::Unpackable;pub use did::MultiResolver;pub use agent::Agent;pub use agent::DeliveryResult;pub use agent::TapAgent;pub use did::DIDMethodResolver;pub use did::SyncDIDResolver;pub use message::PRESENTATION_MESSAGE_TYPE;
Modules§
- agent
- Agent implementation
- agent_
key - Agent key abstraction Agent Key Abstraction for the TAP Agent
- agent_
key_ manager - Agent key manager implementation Agent Key Manager for the TAP Agent
- cli
- Command-line interface for managing DIDs and keys CLI tool for managing DIDs and keys
- config
- Agent configuration Configuration for the TAP Agent
- did
- DID utilities DID resolution and generation functionality for the TAP Agent.
- error
- Error types Error handling for TAP Agent
- key_
manager - Key management Key management functionality for the TAP Agent.
- local_
agent_ key - Local agent key implementation Local Agent Key implementation for the TAP Agent
- message
- Message types and utilities Message types and utilities for the TAP Agent.
- message_
packing - Message packing and unpacking utilities Message Packing and Unpacking Utilities
- storage
- Key storage utilities Key storage functionality for TAP Agent
Structs§
- Plain
Message - Wrapper for plain message. Provides helpers for message building and packing/unpacking. Adapted from https://github.com/sicpa-dlab/didcomm-rust/blob/main/src/message/message.rs
Constants§
- VERSION
- Version of the TAP Agent
Traits§
- Erased
Serialize - A trait for types that can be serialized to JSON in an type-erased way
Functions§
- is_
running_ tests - Utility function to detect if we’re running in test mode