Expand description
AFF4 (Advanced Forensic Format 4) read-only disk image reader.
AFF4 is a ZIP-based container format with RDF/Turtle metadata. Disk images
are stored as chunked “bevies” (ZIP segments). This crate supports
NullCompressor, DeflateCompressor, Snappy, and LZ4 frame compression.
Images may be direct aff4:ImageStreams or aff4:Map-backed, where a Map
redirects virtual addresses to ImageStream regions, Zero-fill, or SymbolicStreamFF.
Structs§
- Aff4
Reader - A read-only AFF4 disk image reader.
- Logical
Container - A read-only AFF4-Logical container: a collection of logical files.
- Logical
Entry - One logical file in an AFF4-L container (an
aff4:FileImagenode). - Stored
Hash - A content digest declared on the ImageStream node (
aff4:hash).
Enums§
- Aff4
Error - Errors that can occur while opening or reading an AFF4 image.
- Container
Kind - The kind of AFF4 container, determined from
information.turtlewithout fully opening the image — cheap enough for filesystem detection.
Traits§
- Read
Seek Send - A seekable, thread-safe byte source the AFF4 container ZIP can sit on: a
File, an in-RAMCursor, or a positioned sub-range of an outer.zip. Lets a caller open an AFF4 image straight from a byte source (no temp-file extraction) viaAff4Reader::open_reader, whileAff4Reader::openkeeps the file-path convenience.
Functions§
- container_
kind - Classify an AFF4 container by reading its
information.turtleonce. - decrypt_
encrypted_ stream - Decrypt an encrypted AFF4 container with
password, returning the plaintext of itsaff4:EncryptedStream— an inner AFF4 volume. - decrypt_
reader - Byte-source variant of
decrypt_encrypted_stream.