Class SevenZipArchiveEntryEncrypted

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

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

Implémente

IArchiveFileEntry

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

int

Nombre de “bytes techniques” qui ont été ajoutés après le bloc de données significatives de l’entrée.

Exceptions

CryptographicException

La clé est corrompue, ce qui peut entraîner un remplissage invalide dans le flux.

NotSupportedException

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

Stream

Le flux de destination pour la compression de l’entrée.

 Français