pub struct CheckpointSignature {
pub name: String,
pub key_id: KeyHint,
pub signature: SignatureBytes,
}Expand description
A signature on a checkpoint.
Each signature consists of:
- A name identifying the signer (e.g., “rekor.sigstore.dev”)
- A 4-byte key ID (key hint) used to match the signature to a public key
- The signature bytes
Fields§
§name: StringThe name of the signer (appears after the em dash in the signature line)
key_id: KeyHintKey identifier (first 4 bytes of SHA-256 of the public key)
signature: SignatureBytesSignature bytes
Trait Implementations§
Source§impl Clone for CheckpointSignature
impl Clone for CheckpointSignature
Source§fn clone(&self) -> CheckpointSignature
fn clone(&self) -> CheckpointSignature
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 CheckpointSignature
impl Debug for CheckpointSignature
Source§impl<'de> Deserialize<'de> for CheckpointSignature
impl<'de> Deserialize<'de> for CheckpointSignature
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
Source§impl PartialEq for CheckpointSignature
impl PartialEq for CheckpointSignature
Source§impl Serialize for CheckpointSignature
impl Serialize for CheckpointSignature
impl Eq for CheckpointSignature
impl StructuralPartialEq for CheckpointSignature
Auto Trait Implementations§
impl Freeze for CheckpointSignature
impl RefUnwindSafe for CheckpointSignature
impl Send for CheckpointSignature
impl Sync for CheckpointSignature
impl Unpin for CheckpointSignature
impl UnsafeUnpin for CheckpointSignature
impl UnwindSafe for CheckpointSignature
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