Class SevenZipArchiveEntryEncrypted
Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)
Représente un fichier unique au sein de l’archive 7z.
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
Héritage
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
Implémente
Membres hérités
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()
Remarques
Transformez une instance d’Aspose.Zip.SevenZip.SevenZipArchiveEntry en Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted pour déterminer si l’entrée est cryptée ou non.
Méthodes
FinalizeCompressedData(Stream, byte[])
Écrit dans le flux de sortie tous les en-têtes qui suivent les données compressées.
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
Paramètres
outputStream
Stream
Flux de sortie pour l’entrée.
encoderProperties
byte[]
Propriétés du compresseur.
Retourne
Nombre de “bytes techniques” qui ont été ajoutés après le bloc de données significatives de l’entrée.
Exceptions
La clé est corrompue, ce qui peut entraîner un remplissage invalide dans le flux.
Le bloc final a déjà été transformé.
GetDestinationStream(Stream)
Flux de destination pour l’entrée, peut être décoré.
protected override Stream GetDestinationStream(Stream outputStream)
Paramètres
outputStream
Stream
Flux de sortie pour l’entrée.
Retourne
Le flux de destination pour la compression de l’entrée.