Skip to main content

Crate tzap_core

Crate tzap_core 

Source
Expand description

Core implementation surface for the tzap v0.44 archive format.

This crate owns wire-format parsing, validation, crypto, compression, FEC, and archive read/write primitives. The CLI stays intentionally thin.

Re-exports§

pub use crypto::HmacDomain;
pub use crypto::KdfParams;
pub use crypto::MasterKey;
pub use crypto::Subkeys;
pub use format::AeadAlgo;
pub use format::ArchiveWriteError;
pub use format::CompressionAlgo;
pub use format::ExtractError;
pub use format::FecAlgo;
pub use format::FormatError;
pub use format::KdfAlgo;
pub use format::FORMAT_VERSION;
pub use format::VOLUME_FORMAT_REV;
pub use non_seekable_reader::extract_non_seekable_stream_to_dir;
pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_bootstrap_sidecar;
pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_recipient_wrap_resolver;
pub use non_seekable_reader::extract_non_seekable_stream_to_dir_with_recipient_wrap_resolver_and_bootstrap_sidecar;
pub use non_seekable_reader::extract_unencrypted_non_seekable_stream_to_dir;
pub use non_seekable_reader::extract_unencrypted_non_seekable_stream_to_dir_with_bootstrap_sidecar;
pub use non_seekable_reader::list_non_seekable_stream;
pub use non_seekable_reader::list_non_seekable_stream_with_bootstrap_sidecar;
pub use non_seekable_reader::list_non_seekable_stream_with_recipient_wrap_resolver;
pub use non_seekable_reader::list_non_seekable_stream_with_recipient_wrap_resolver_and_bootstrap_sidecar;
pub use non_seekable_reader::list_unencrypted_non_seekable_stream;
pub use non_seekable_reader::list_unencrypted_non_seekable_stream_with_bootstrap_sidecar;
pub use non_seekable_reader::verify_non_seekable_stream;
pub use non_seekable_reader::verify_non_seekable_stream_with_bootstrap_sidecar;
pub use non_seekable_reader::verify_non_seekable_stream_with_options;
pub use non_seekable_reader::verify_non_seekable_stream_with_recipient_wrap_resolver_and_bootstrap_sidecar;
pub use non_seekable_reader::verify_non_seekable_stream_with_recipient_wrap_resolver_options;
pub use non_seekable_reader::verify_unencrypted_non_seekable_stream_with_bootstrap_sidecar;
pub use non_seekable_reader::verify_unencrypted_non_seekable_stream_with_options;
pub use non_seekable_reader::NonSeekableReaderOptions;
pub use non_seekable_reader::SequentialExtractReport;
pub use non_seekable_reader::SequentialListReport;
pub use non_seekable_reader::SequentialRootAuthStatus;
pub use non_seekable_reader::SequentialVerifyReport;
pub use reader::open_archive;
pub use reader::open_archive_unencrypted;
pub use reader::open_archive_volumes;
pub use reader::open_archive_volumes_unencrypted;
pub use reader::open_archive_with_bootstrap_sidecar;
pub use reader::open_archive_with_recipient_wrap_resolver;
pub use reader::open_non_seekable_archive;
pub use reader::open_seekable_archive;
pub use reader::open_seekable_archive_volumes;
pub use reader::open_seekable_archive_volumes_with_recipient_wrap_resolver_options;
pub use reader::open_seekable_archive_with_bootstrap_sidecar;
pub use reader::open_seekable_archive_with_bootstrap_sidecar_options;
pub use reader::open_seekable_archive_with_recipient_wrap_resolver_options;
pub use reader::public_no_key_verify_archive_with;
pub use reader::public_no_key_verify_volumes_with;
pub use reader::public_no_key_verify_volumes_with_options;
pub use reader::sequential_extract_tar_stream;
pub use reader::ArchiveContentVerification;
pub use reader::ArchiveEntry;
pub use reader::ArchiveExtractProgressSink;
pub use reader::ArchiveIndexEntry;
pub use reader::ArchiveReadAt;
pub use reader::ArchiveRepairPatch;
pub use reader::OpenedArchive;
pub use reader::PublicNoKeyDiagnostic;
pub use reader::PublicNoKeyVerification;
pub use reader::ReaderOptions;
pub use reader::RecipientWrapArchiveIdentity;
pub use reader::RecipientWrapCandidateMasterKey;
pub use reader::RecipientWrapRecordContext;
pub use reader::RootAuthDiagnostic;
pub use reader::RootAuthVerification;
pub use tar_model::MetadataDiagnostic;
pub use tar_model::SafeExtractionOptions;
pub use tar_model::TarEntryKind;
pub use writer::write_archive;
pub use writer::write_archive_sources_to_sink;
pub use writer::write_archive_sources_to_sink_ordered_parallel;
pub use writer::write_archive_sources_to_sink_ordered_parallel_with_progress;
pub use writer::write_archive_sources_to_sink_ordered_parallel_with_recipient_wrap_records;
pub use writer::write_archive_sources_to_sink_single_pass;
pub use writer::write_archive_sources_to_sink_single_pass_with_progress;
pub use writer::write_archive_sources_to_sink_single_pass_with_recipient_wrap_records;
pub use writer::write_archive_sources_to_sink_with_progress;
pub use writer::write_archive_unencrypted;
pub use writer::write_archive_with_dictionary;
pub use writer::write_archive_with_dictionary_and_kdf;
pub use writer::write_archive_with_dictionary_and_root_auth;
pub use writer::write_archive_with_dictionary_kdf_and_root_auth;
pub use writer::write_archive_with_kdf;
pub use writer::write_archive_with_recipient_wrap_records;
pub use writer::write_archive_with_root_auth;
pub use writer::write_archive_with_root_auth_and_kdf;
pub use writer::write_empty_archive;
pub use writer::ArchiveWriteProgressSink;
pub use writer::ArchiveWriteSink;
pub use writer::KeyWrapRecordSource;
pub use writer::MemoryArchiveSink;
pub use writer::RegularFile;
pub use writer::RegularFileSource;
pub use writer::RootAuthSigningRequest;
pub use writer::RootAuthWriterConfig;
pub use writer::WriterOptions;
pub use writer::WriterTimings;
pub use writer::WrittenArchiveSummary;

Modules§

compression
crypto
fec
format
metadata
non_seekable_reader
padding
reader
root_auth
tar_model
wire
writer

Structs§

StreamingRawWriterSummary
StreamingTarWriterSummary

Functions§

write_sized_raw_member_archive_to_sink_with_kdf_and_root_auth
write_tar_stream_archive
write_tar_stream_archive_to_sink
write_tar_stream_archive_to_sink_with_kdf_and_root_auth