pub struct GlobalTrustRuntime {
pub store: Arc<dyn PinStore>,
pub policy: TransportPolicy,
pub local_signing_key: Arc<SigningKey>,
pub local_spki: Arc<Vec<u8>>,
}
Expand description
Global trust runtime used by integration glue to perform automatic channel binding and event emission. This is intentionally simple and primarily for tests and early integration; production deployments should provide explicit wiring.
Fields§
§store: Arc<dyn PinStore>
The pin store for managing peer fingerprints and key rotation
policy: TransportPolicy
The trust policy configuration for TOFU, continuity, and channel binding
local_signing_key: Arc<SigningKey>
The local Ed25519 signing key for trust operations
local_spki: Arc<Vec<u8>>
The local Subject Public Key Info (SPKI) for trust operations
Trait Implementations§
Source§impl Clone for GlobalTrustRuntime
impl Clone for GlobalTrustRuntime
Source§fn clone(&self) -> GlobalTrustRuntime
fn clone(&self) -> GlobalTrustRuntime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GlobalTrustRuntime
impl !RefUnwindSafe for GlobalTrustRuntime
impl Send for GlobalTrustRuntime
impl Sync for GlobalTrustRuntime
impl Unpin for GlobalTrustRuntime
impl !UnwindSafe for GlobalTrustRuntime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more