Class SevenZipAESEncryptionSettings

Class SevenZipAESEncryptionSettings

名称: Aspose.Zip.Saving 組み合わせ: Aspose.Zip.dll (25.5.0)

いくつかの7z暗号化方法の設定のためのベースクラス。

public class SevenZipAESEncryptionSettings : SevenZipEncryptionSettings

Inheritance

object SevenZipEncryptionSettings SevenZipAESEncryptionSettings

相続人

SevenZipEncryptionSettings.Password , SevenZipEncryptionSettings.EncryptHeader , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

AES-256は7zアーカイブのための唯一の可能な暗号化方法ですので、Aspose.Zip.Saving.SevenZipAESEncryptionSettingsは唯一の実装です。

Constructors

第7章 暗号化(ストレッチ)

Aspose.Zip.Saving.SevenZipAESEncryptionSettingsクラスの新しい例を開始します。

public SevenZipAESEncryptionSettings(string password)

Parameters

password string

暗号化または暗号化のためのパスワード

Examples

using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings("p@s$"))))
{
   archive.CreateEntry("data.bin", "data.bin");
   archive.Save("archive.7z");
}

第7章 暗号化(SevenZipCipher)

Aspose.Zip.Saving.SevenZipAESEncryptionSettingsクラスの新しい例を外部のチッパーで開始します。

public SevenZipAESEncryptionSettings(SevenZipCipher cipher)

Parameters

cipher SevenZipCipher

AESの実装

Examples

SevenZipCipher cipher = ComposeMyCipher();
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings(cipher))))
{
   archive.CreateEntry("data.bin", "data.bin");
   archive.Save("archive.7z");
}
 日本語