pub struct VerificationReport {
pub ok: bool,
pub bundle_path: String,
pub manifest_present: bool,
pub schema_version: u32,
pub memory_id: String,
pub signer_agent_id: Option<String>,
pub signature_status: SignatureStatus,
pub tampered_files: Vec<String>,
pub missing_files: Vec<String>,
pub extra_files: Vec<String>,
pub chain_edges_failed: Vec<String>,
}Expand description
Result of verify. One row per discrepancy plus an ok flag.
Fields§
§ok: bool§bundle_path: String§manifest_present: bool§schema_version: u32§memory_id: String§signer_agent_id: Option<String>§signature_status: SignatureStatus§tampered_files: Vec<String>Files whose recomputed SHA-256 disagreed with the manifest.
missing_files: Vec<String>Files present in the manifest but missing from the tarball.
extra_files: Vec<String>Files present in the tarball but absent from the manifest.
chain_edges_failed: Vec<String>Reflection-chain edges whose embedded signature failed to
re-verify against the bundled observed_by public key.
Auditors typically expect this to be empty.
Trait Implementations§
Source§impl Clone for VerificationReport
impl Clone for VerificationReport
Source§fn clone(&self) -> VerificationReport
fn clone(&self) -> VerificationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VerificationReport
impl Debug for VerificationReport
Auto Trait Implementations§
impl Freeze for VerificationReport
impl RefUnwindSafe for VerificationReport
impl Send for VerificationReport
impl Sync for VerificationReport
impl Unpin for VerificationReport
impl UnsafeUnpin for VerificationReport
impl UnwindSafe for VerificationReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more