Class SevenZipArchiveEntryEncrypted
Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.2.0)
Represents single file within 7z archive.
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
Inheritance
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
Implements
Inherited Members
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()
Remarks
Cast an Aspose.Zip.SevenZip.SevenZipArchiveEntry instance to Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted to determine whether the entry encrypted or not.
Methods
FinalizeCompressedData(Stream, byte[])
Write to output stream any headers that follow compressed data.
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
Parameters
outputStream
Stream
Output stream for the entry.
encoderProperties
byte[]
Properties of compressor.
Returns
Number of “technical” bytes that were added after entry significant data block.
Exceptions
The key is corrupt which can cause invalid padding to the stream.
The final block has already been transformed.
GetDestinationStream(Stream)
Destination stream for the entry, may be decorated.
protected override Stream GetDestinationStream(Stream outputStream)
Parameters
outputStream
Stream
Output stream for the entry.
Returns
The destination stream for entry compression.