pub enum SignerIdentity {
Keyed {
key_id: String,
},
Keyless {
issuer: String,
repository: String,
workflow: String,
git_ref: String,
},
}Expand description
Identity of the entity that signed a file.
Extracted from a Sigstore bundle’s Fulcio certificate (keyless) or matched against a keystore entry (keyed).
Variants§
Keyed
Keyed signer: private key stored in system keystore
Keyless
Keyless signer: OIDC identity from Fulcio certificate
Trait Implementations§
Source§impl Clone for SignerIdentity
impl Clone for SignerIdentity
Source§fn clone(&self) -> SignerIdentity
fn clone(&self) -> SignerIdentity
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 SignerIdentity
impl Debug for SignerIdentity
Source§impl<'de> Deserialize<'de> for SignerIdentity
impl<'de> Deserialize<'de> for SignerIdentity
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
Auto Trait Implementations§
impl Freeze for SignerIdentity
impl RefUnwindSafe for SignerIdentity
impl Send for SignerIdentity
impl Sync for SignerIdentity
impl Unpin for SignerIdentity
impl UnsafeUnpin for SignerIdentity
impl UnwindSafe for SignerIdentity
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