opentdf-protocol 0.16.0

OpenTDF protocol types and structures (no crypto, no I/O)
Documentation
//! OpenTDF Protocol Types
//!
//! This crate contains protocol types and structures for OpenTDF, including:
//! - KAS (Key Access Service) request/response types
//! - TDF manifest structures
//! - Policy and attribute definitions
//! - Binary serialization for NanoTDF
//!
//! This crate contains NO cryptographic operations and NO I/O.
//! It is purely focused on data structures and serialization.

pub mod binary;
pub mod gguf;
pub mod kas;
pub mod manifest;
pub mod nanotdf;

// Re-export commonly used types
pub use gguf::{GGUF_TDF_PROFILE_V1, GgufIndex, GgufSegment, GgufSegmentKind, GgufTensor};
pub use kas::{
    KasError, KasPolicyBinding, KeyAccessObject, KeyAccessObjectWrapper, KeyAccessRewrapResult,
    Policy as KasPolicy, PolicyRequest, PolicyRewrapResult, RewrapResponse, SignedRewrapRequest,
    UnsignedRewrapRequest, algorithm,
};

pub use manifest::{
    Assertion, AssertionBinding, AssertionStatement, EncryptionInformation, EncryptionMethod,
    IntegrityInformation, KeyAccess, Payload, PolicyBinding, RootSignature, Segment,
    TDF_SPEC_VERSION, TdfManifest, key_access_type,
};