Skip to main content

Crate aff4_image

Crate aff4_image 

Source
Expand description

Experimental AFF4 evidence streams, separate from the EWF format implementation.

Supports ZIP AFF4 v1 physical ImageStreams and Maps, legacy AFF4-L 1.1, and a documented subset of the AFF4-L 2.1 draft. Reads never extract archive paths onto the host filesystem. Verification reports linear content, block/map structures, metadata digests, and byte provenance. Physical volume sets support assembled-image SHA256 and contextual metadata/block/map checks with explicit source attribution and caller-supplied stripe order. Neither internal hashes nor matching bytes establish independent authenticity.

Structs§

AcquiredStream
Digests of source bytes accepted for one image or file.
BackingVolume
A container required by a discovered physical image.
ByteCoverage
Byte provenance for one fully traversed resource. Counts sum to its size.
CaseMetadata
Descriptive provenance, not proof of origin or a digital signature.
CollectionIssue
One excluded, unsupported, or inaccessible source entry.
CollectionLimits
Collection discovery bounds and the reader budgets used for staged verification.
CollectionOptions
Local collection policy. Collection is not an atomic filesystem snapshot.
CollectionReport
Coverage of a local directory acquisition.
Container
One read-only ZIP container. Methods serialize access through &mut self. Open does not certify contents. Backing files must remain unchanged.
ContainerVerification
Container-wide inventory. No single matching digest substitutes for coverage.
DiskImageInfo
Identity and geometry of a selected physical AFF4 image, not its ZIP file.
DiskImageReader
Owned read-only cursor over one physical image’s decoded bytes. Reads retain normal AFF4 limits and errors, including missing/unreadable ranges. Backing files must remain unchanged. Seeking does not read or verify data.
DiskImageSet
Physical disks discovered from explicit inputs and optional nearby containers. Membership follows volume identifiers and map references, never filenames.
IntegrityCheck
One explicitly scoped integrity comparison.
Limits
Limits on retained metadata, map/index members, and decoded chunks.
LogicalMetadata
Metadata captured from a source, independent of the examiner’s filesystem.
MetadataScan
Work performed by a streaming metadata scan. Triples include repeated subjects.
MetadataVerification
Metadata checks, separate from file content verification and authenticity.
PhysicalDisk
Stable identity and backing files for one decoded physical disk.
PhysicalDiskReader
Seekable decoded disk, including data spread across companion containers.
Property
Preserved RDF property; values remain associated with their subject.
ReaderCacheInfo
Configured and observed payload bytes for the automatic AFF4 reader cache.
ReaderStatistics
Cumulative performance counters for one shared AFF4 payload cache.
ResourceVerification
Content traversal of one resource, kept separate from metadata checks.
SetDigest
Whole-image digest over a resolved volume set, distinct from block-map hashes.
SetVerification
Selected physical image plus all supplied-volume integrity references. Internal matches do not establish independent authenticity.
SetVolumeVerification
Integrity checks recorded in one supplied volume’s metadata context.
StreamInfo
An explicitly selectable image or underlying data stream.
Verification
Selected-stream linear digest results. Unsupported references are explicit.
VolumeSet
A primary physical container plus explicitly supplied companion volumes. No filenames are guessed, no graphs are flattened, and ambiguous owners fail. This reader does not yet certify a striped image’s composite block-map digest.
VolumeSource
Attribution of a stored ImageStream to its owning ZIP volume.
WriteOptions
Bounded writer geometry. Output is always a new single ZIP volume.
WriteResult
Published acquisition result. Caller may reopen to verify independently.
Writer
Streaming writer with exclusive publication and no full-source spool.

Enums§

CheckOutcome
Result of an individual integrity check. A missing reference is not a match.
Compression
Physical chunk codec. Logical ZIP segments use Stored or Deflate.
Error
Malformed, unsupported, cancelled, or unreadable evidence.
Profile
Container profile chosen before any evidence bytes are written.
SubstreamKind
Relationship of a non-primary file stream to its parent.

Type Aliases§

Result
AFF4 operation result.