pub struct CatProvenance {
pub kid: String,
pub signature: Vec<u8>,
}Expand description
CAT provenance - identifies who signed the previous PCA.
Uses kid (Key ID) which can be resolved to obtain the public key.
The kid can be a SPIFFE ID, DID, URL, or any resolvable identifier.
Fields§
§kid: StringKey identifier (SPIFFE ID, DID, URL, etc.) - resolvable to public key
signature: Vec<u8>Signature bytes from the predecessor PCA
Trait Implementations§
Source§impl Clone for CatProvenance
impl Clone for CatProvenance
Source§fn clone(&self) -> CatProvenance
fn clone(&self) -> CatProvenance
Returns a duplicate of the value. Read more
1.0.0 · 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 CatProvenance
impl Debug for CatProvenance
Source§impl<'de> Deserialize<'de> for CatProvenance
impl<'de> Deserialize<'de> for CatProvenance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CatProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CatProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CatProvenance
impl PartialEq for CatProvenance
Source§impl Serialize for CatProvenance
impl Serialize for CatProvenance
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 CatProvenance
Auto Trait Implementations§
impl Freeze for CatProvenance
impl RefUnwindSafe for CatProvenance
impl Send for CatProvenance
impl Sync for CatProvenance
impl Unpin for CatProvenance
impl UnwindSafe for CatProvenance
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