pub struct TrustedAgentKey {
pub kid: String,
pub alg: String,
pub jwk_or_pem: String,
}Expand description
A single trusted public key for verifying peer AgentCard signatures (#5928).
Public verification key material — not secret, so stored inline in config rather than
resolved via a vault reference (contrast IBCT’s ibct_signing_key_vault_ref, which
protects a symmetric HMAC secret).
Fields§
§kid: StringKey identifier, matched against the kid in a signature’s protected header.
alg: StringSignature algorithm this key is trusted to verify (e.g. "ES256").
jwk_or_pem: StringJWK JSON object or PEM-encoded SubjectPublicKeyInfo public key material.
Trait Implementations§
Source§impl Clone for TrustedAgentKey
impl Clone for TrustedAgentKey
Source§fn clone(&self) -> TrustedAgentKey
fn clone(&self) -> TrustedAgentKey
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 moreSource§impl Debug for TrustedAgentKey
impl Debug for TrustedAgentKey
Source§impl<'de> Deserialize<'de> for TrustedAgentKey
impl<'de> Deserialize<'de> for TrustedAgentKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrustedAgentKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrustedAgentKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TrustedAgentKey
Source§impl PartialEq for TrustedAgentKey
impl PartialEq for TrustedAgentKey
Source§impl Serialize for TrustedAgentKey
impl Serialize for TrustedAgentKey
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TrustedAgentKey
Auto Trait Implementations§
impl Freeze for TrustedAgentKey
impl RefUnwindSafe for TrustedAgentKey
impl Send for TrustedAgentKey
impl Sync for TrustedAgentKey
impl Unpin for TrustedAgentKey
impl UnsafeUnpin for TrustedAgentKey
impl UnwindSafe for TrustedAgentKey
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.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
Compare self to
key and return true if they are equal.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§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