Skip to main content

hanzo_kbs/
lib.rs

1//! Hanzo KBS (Key Broker Service) Library
2//! 
3//! Provides Key Management Service (KMS) and Key Broker Service (KBS) functionality
4//! for confidential computing and privacy-preserving agent execution in Hanzo nodes.
5//! 
6//! This crate implements the KMS/KBS split architecture where:
7//! - KMS handles key lifecycle management and storage
8//! - KBS handles attestation verification and policy-based key release
9
10pub mod error;
11pub mod types;
12pub mod kms;
13pub mod kbs;
14pub mod attestation;
15pub mod vault;
16
17#[cfg(feature = "pqc")]
18pub mod pqc_integration;
19
20#[cfg(feature = "pqc")]
21pub mod pqc_vault;
22
23pub use error::{SecurityError, Result};
24pub use types::*;
25pub use kms::KeyManagementService;
26pub use kbs::KeyBrokerService;
27
28// Re-export submodules from kms
29pub use kms::{memory_kms, api};