pub struct VerifyResult {
pub artifact_id: ArtifactId,
pub digest: String,
pub verified_key_ids: Vec<String>,
pub payload_type: String,
}Expand description
The result of a successful verification.
Fields§
§artifact_id: ArtifactIdContent-addressed ID re-derived from the envelope during verification. If the envelope payload or payloadType was tampered with since signing, this will differ from any stored artifact ID — a reliable tamper signal.
digest: StringFull SHA-256 digest of the PAE bytes: “sha256:
verified_key_ids: Vec<String>Key IDs whose signatures were successfully verified.
payload_type: StringThe payloadType from the envelope.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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