pub struct VerifiedSealedResult { /* private fields */ }Expand description
Opaque, descriptor-retaining view of a receipt-bound Phase-B oracle result.
It cannot be constructed or deserialized externally, and it intentionally
does not implement Clone:
use u280_evidence_oracle::VerifiedSealedResult;
let _forged = VerifiedSealedResult {};use serde::de::DeserializeOwned;
use u280_evidence_oracle::VerifiedSealedResult;
fn require_deserialize<T: DeserializeOwned>() {}
require_deserialize::<VerifiedSealedResult>();use u280_evidence_oracle::VerifiedSealedResult;
fn require_clone<T: Clone>() {}
require_clone::<VerifiedSealedResult>();The returned values describe historical evidence. Keep this guard alive and
call Self::revalidate immediately before the promoter publishes its own
sealed result. That call uses the same retained result and transport root
descriptors; path-only snapshots are not substituted.
Implementations§
Source§impl VerifiedSealedResult
impl VerifiedSealedResult
Sourcepub fn profile(&self) -> &'static str
pub fn profile(&self) -> &'static str
Fixed cryptographic profile accepted by this typed verifier.
Sourcepub fn transport_root(&self) -> &Path
pub fn transport_root(&self) -> &Path
Canonical retained transport root.
Sourcepub fn transport_manifest(&self) -> &VerifiedResultArtifactBinding
pub fn transport_manifest(&self) -> &VerifiedResultArtifactBinding
Exact transport SHA256SUMS binding validated by the original oracle.
Sourcepub fn final_hardware_identity(&self) -> &VerifiedResultArtifactBinding
pub fn final_hardware_identity(&self) -> &VerifiedResultArtifactBinding
Exact final native-XRT hardware identity binding.
Sourcepub fn hardware_card_identity(&self) -> &VerifiedHardwareCardIdentity
pub fn hardware_card_identity(&self) -> &VerifiedHardwareCardIdentity
Strict card and programmed-image identity proof.
Sourcepub fn performance(&self) -> &VerifiedPerformanceObservations
pub fn performance(&self) -> &VerifiedPerformanceObservations
Independently parsed exact performance observations.
Sourcepub fn hardware_completion_promotable(&self) -> bool
pub fn hardware_completion_promotable(&self) -> bool
Final hardware promotion remains the later route/card combiner’s job.
Sourcepub fn coordination_intent(&self) -> &VerifiedResultArtifactBinding
pub fn coordination_intent(&self) -> &VerifiedResultArtifactBinding
Result-wide coordination intent root.
Sourcepub fn coordination_burn(&self) -> &VerifiedResultArtifactBinding
pub fn coordination_burn(&self) -> &VerifiedResultArtifactBinding
Result-wide durable authorization-burn root.
Sourcepub fn coordination_receipt(&self) -> &VerifiedResultArtifactBinding
pub fn coordination_receipt(&self) -> &VerifiedResultArtifactBinding
Result-wide post-lock coordination receipt root.
Sourcepub fn matched_jobs(&self) -> u64
pub fn matched_jobs(&self) -> u64
Number of matching transcript jobs.
Sourcepub fn mismatched_jobs(&self) -> u64
pub fn mismatched_jobs(&self) -> u64
Number of mismatching transcript jobs.
Sourcepub fn all_padding_valid(&self) -> bool
pub fn all_padding_valid(&self) -> bool
Conjunction of every request’s padding decision.
Sourcepub fn cryptographic_oracle_valid(&self) -> bool
pub fn cryptographic_oracle_valid(&self) -> bool
Recomputed complete cryptographic decision.
Sourcepub fn requests(&self) -> &[VerifiedResultRequest]
pub fn requests(&self) -> &[VerifiedResultRequest]
Revalidated request-level joins and decisions.
Sourcepub fn result_directory(&self) -> &Path
pub fn result_directory(&self) -> &Path
Canonical result directory bound by the exact creation receipt.
Sourcepub fn result_manifest(&self) -> &VerifiedResultArtifactBinding
pub fn result_manifest(&self) -> &VerifiedResultArtifactBinding
Result directory’s exact SHA256SUMS creation-time binding.
Sourcepub fn creation_receipt(&self) -> &VerifiedOracleReceiptCapture
pub fn creation_receipt(&self) -> &VerifiedOracleReceiptCapture
Descriptor-retained exact creation receipt.
Sourcepub fn revalidate(&self) -> Result<()>
pub fn revalidate(&self) -> Result<()>
Revalidates the complete result and transport through their originally retained roots.
§Errors
Returns an error if either absolute root path identity, tree, manifest, or any covered file changed since this guard was created.
No filesystem API can prevent the owner from changing a path after this method returns. A promoter must therefore publish the receipt and both manifest identities, not claim that either path remains immutable.