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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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
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§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.