pub struct KeyProviderDescriptor {
pub policy: ProviderPolicy,
pub provider: Option<CryptoProviderId>,
pub custody: Option<CustodyMode>,
pub version: Option<String>,
pub backend_native_available: bool,
}Expand description
Admin-observable provider metadata for one catalog key (basil-wuj.10).
The read side of provider/custody observability: which provider policy and custody mode a key is provisioned under, the recorded provider version, and whether its backend now natively supports the key’s algorithm (i.e. a backend-native migration is available). It is built from reserved catalog labels plus the cheap capability probe and carries no key material.
Fields§
§policy: ProviderPolicyThe key’s declared provider policy (crypto_provider_policy, defaulting to
backend-required).
provider: Option<CryptoProviderId>The provider named by the crypto_provider label, if any.
custody: Option<CustodyMode>The recorded custody mode (pqc_custody label), if any: the active
custody for a provisioned key.
version: Option<String>The crypto_provider_version label, if recorded.
backend_native_available: boolWhether the key’s backend now reports native support for its algorithm:
true means a backend-native migration is available. Always false for a
non-PQC key or a backend without native support.
Trait Implementations§
Source§impl Clone for KeyProviderDescriptor
impl Clone for KeyProviderDescriptor
Source§fn clone(&self) -> KeyProviderDescriptor
fn clone(&self) -> KeyProviderDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KeyProviderDescriptor
impl Debug for KeyProviderDescriptor
impl Eq for KeyProviderDescriptor
Source§impl PartialEq for KeyProviderDescriptor
impl PartialEq for KeyProviderDescriptor
Source§fn eq(&self, other: &KeyProviderDescriptor) -> bool
fn eq(&self, other: &KeyProviderDescriptor) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeyProviderDescriptor
Auto Trait Implementations§
impl Freeze for KeyProviderDescriptor
impl RefUnwindSafe for KeyProviderDescriptor
impl Send for KeyProviderDescriptor
impl Sync for KeyProviderDescriptor
impl Unpin for KeyProviderDescriptor
impl UnsafeUnpin for KeyProviderDescriptor
impl UnwindSafe for KeyProviderDescriptor
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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>
T in a tonic::Request