Skip to main content

Crate opentdf_protocol

Crate opentdf_protocol 

Source
Expand description

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.

Re-exports§

pub use gguf::GGUF_TDF_PROFILE_V1;
pub use gguf::GgufIndex;
pub use gguf::GgufSegment;
pub use gguf::GgufSegmentKind;
pub use gguf::GgufTensor;
pub use kas::KasError;
pub use kas::KasPolicyBinding;
pub use kas::KeyAccessObject;
pub use kas::KeyAccessObjectWrapper;
pub use kas::KeyAccessRewrapResult;
pub use kas::Policy as KasPolicy;
pub use kas::PolicyRequest;
pub use kas::PolicyRewrapResult;
pub use kas::RewrapResponse;
pub use kas::SignedRewrapRequest;
pub use kas::UnsignedRewrapRequest;
pub use kas::algorithm;
pub use manifest::Assertion;
pub use manifest::AssertionBinding;
pub use manifest::AssertionStatement;
pub use manifest::EncryptionInformation;
pub use manifest::EncryptionMethod;
pub use manifest::IntegrityInformation;
pub use manifest::KeyAccess;
pub use manifest::Payload;
pub use manifest::PolicyBinding;
pub use manifest::RootSignature;
pub use manifest::Segment;
pub use manifest::TDF_SPEC_VERSION;
pub use manifest::TdfManifest;
pub use manifest::key_access_type;

Modules§

binary
Binary serialization infrastructure for NanoTDF
gguf
gguf-tdf/1 hybrid index (profile spec §9).
kas
KAS (Key Access Service) protocol types
manifest
TDF Manifest structures
nanotdf
NanoTDF Protocol Types