pub struct ProviderGate {
pub local_software_allowed: bool,
}Expand description
Caller-scoped policy inputs the provider-dispatch (ML-DSA) path needs beyond the catalog labels.
local_software_allowed is the resolved op:use_software_custody PDP grant
(decided in the service layer from the kernel-attested caller). It feeds
select_provider: the
local-software crypto provider is selectable only when policy explicitly
grants its use, so a software-custodied key fails closed for a caller that
holds only the bare op:sign grant.
Fields§
§local_software_allowed: boolWhether policy grants this caller use of the local-software provider.
Trait Implementations§
Source§impl Clone for ProviderGate
impl Clone for ProviderGate
Source§fn clone(&self) -> ProviderGate
fn clone(&self) -> ProviderGate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderGate
Auto Trait Implementations§
impl Freeze for ProviderGate
impl RefUnwindSafe for ProviderGate
impl Send for ProviderGate
impl Sync for ProviderGate
impl Unpin for ProviderGate
impl UnsafeUnpin for ProviderGate
impl UnwindSafe for ProviderGate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request