pub struct IdentityPin {
pub version: u32,
pub pubkey: String,
pub key_version: u32,
pub chain: Vec<RotationAttestation>,
pub fail_closed: bool,
}Expand description
The pinned identity: the trusted current key and the trusted chain that leads to it (empty for an identity minted without one, e.g. an import).
Fields§
§version: u32§pubkey: String§key_version: u32§chain: Vec<RotationAttestation>§fail_closed: boolFail-closed marker: the runtime could not establish a trusted identity
(no key on disk, or an inconsistent one), so verifiers trust no key at
all rather than the agent’s own files. Cleared only by
mur agent rekey --emergency.
Trait Implementations§
Source§impl Clone for IdentityPin
impl Clone for IdentityPin
Source§impl Debug for IdentityPin
impl Debug for IdentityPin
Source§impl<'de> Deserialize<'de> for IdentityPin
impl<'de> Deserialize<'de> for IdentityPin
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 IdentityPin
Source§impl PartialEq for IdentityPin
impl PartialEq for IdentityPin
Source§impl Serialize for IdentityPin
impl Serialize for IdentityPin
impl StructuralPartialEq for IdentityPin
Auto Trait Implementations§
impl Forget for IdentityPin
impl Freeze for IdentityPin
impl Move for IdentityPin
impl RefUnwindSafe for IdentityPin
impl Send for IdentityPin
impl Sync for IdentityPin
impl Unpin for IdentityPin
impl UnsafeUnpin for IdentityPin
impl UnwindSafe for IdentityPin
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§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.