Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

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

7z アーカイブ内の単一ファイルを表します。

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

継承

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

実装

IArchiveFileEntry

継承されたメンバー

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()

備考

Aspose.Zip.SevenZip.SevenZipArchiveEntry のインスタンスを Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted にキャストして、エントリが暗号化されているかどうかを判断します。

メソッド

FinalizeCompressedData(Stream, byte[])

圧縮データに続くヘッダーを出力ストリームに書き込みます。

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

パラメーター

outputStream Stream

エントリの出力ストリーム。

encoderProperties byte[]

圧縮機のプロパティ。

戻り値

int

エントリの重要なデータブロックの後に追加された「技術的」バイトの数。

例外

CryptographicException

キーが破損しており、ストリームに無効なパディングを引き起こす可能性があります。

NotSupportedException

最終ブロックはすでに変換されています。

GetDestinationStream(Stream)

エントリのための宛先ストリームで、装飾される場合があります。

protected override Stream GetDestinationStream(Stream outputStream)

パラメーター

outputStream Stream

エントリの出力ストリーム。

戻り値

Stream

エントリ圧縮のための宛先ストリーム。

 日本語