Skip to main content

open_verified_oracle_receipt_capture

Function open_verified_oracle_receipt_capture 

Source
pub fn open_verified_oracle_receipt_capture(
    path: &Path,
) -> Result<VerifiedOracleReceiptCapture>
Expand description

Securely opens and validates one exact schema-2 creation-receipt capture.

The file must be a bounded, nonempty, singly linked regular file beneath an absolute symlink-free parent path. Its canonical bytes are parsed before the descriptor-backed capture is returned.

ยงErrors

Returns an error for an insecure path or file type, a malformed receipt, an unsupported receipt contract, or any open/read/revalidation race.