Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)

Reprezentuje jednotlivý soubor v archivu 7z.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

Dědičnost

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

Implementuje

IArchiveFileEntry

Děděné členy

SevenZipArchiveEntry.GetDestinationStream(Stream), SevenZipArchiveEntry.FinalizeCompressedData(Stream, byte[]), SevenZipArchiveEntry.Extract(string, string), SevenZipArchiveEntry.Extract(Stream, string), SevenZipArchiveEntry.Open(string), SevenZipArchiveEntry.Name, SevenZipArchiveEntry.ModificationTime, SevenZipArchiveEntry.UncompressedSize, SevenZipArchiveEntry.CompressedSize, SevenZipArchiveEntry.IsDirectory, SevenZipArchiveEntry.CompressionSettings, SevenZipArchiveEntry.Source, SevenZipArchiveEntry.FileAttributes, SevenZipArchiveEntry.CompressionProgressed, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Poznámky

Převeďte instanci Aspose.Zip.SevenZip.SevenZipArchiveEntry na Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted, abyste zjistili, zda je položka zašifrována nebo ne.

Metody

FinalizeCompressedData(Stream, byte[])

Zapište do výstupního proudu jakékoliv hlavičky, které následují po komprimovaných datech.

protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)

Parametry

outputStream Stream

Výstupní proud pro položku.

encoderProperties byte[]

Vlastnosti kompresoru.

Vrací

int

Počet “technických” bajtů, které byly přidány po významné datové části položky.

Výjimky

CrypotgraphicException

Klíč je poškozen, což může způsobit neplatné vyplnění proudu.

NotSupportedException

Poslední blok již byl transformován.

GetDestinationStream(Stream)

Cílový proud pro položku, může být dekorován.

protected override Stream GetDestinationStream(Stream outputStream)

Parametry

outputStream Stream

Výstupní proud pro položku.

Vrací

Stream

Cílový proud pro kompresi položky.

 Čeština