opentdf-protocol
Protocol types and structures for OpenTDF (Trusted Data Format).
This crate provides the core data types for TDF manifests, policies, and KAS protocol messages. It has no cryptographic operations or I/O - pure data structures only.
Features
- TDF manifest structures (
TdfManifest,KeyAccess,PolicyBinding) - NanoTDF header and policy types
- KAS protocol request/response types
- Serde serialization support
- WASM compatible (with
jsfeature for UUID)
Usage
use ;
// Create a new TDF manifest
let manifest = new;
// Access manifest fields
println!;
Part of the OpenTDF Workspace
This crate is part of the opentdf-rs workspace:
opentdf- High-level TDF APIopentdf-protocol- Protocol types (this crate)opentdf-crypto- Cryptographic operations
License
MIT OR Apache-2.0