SevenZipAESEncryptionSettings.SevenZipAESEncryptionSettings
SevenZipAESEncryptionSettings(string)
の新しいインスタンスを初期化しますSevenZipAESEncryptionSettings
class.
public SevenZipAESEncryptionSettings(string password)
パラメータ | タイプ | 説明 |
---|---|---|
password | String | 暗号化または復号化のためのパスワード。 |
例
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings("p@s$"))))
{
archive.CreateEntry("data.bin", "data.bin");
archive.Save("archive.7z");
}
関連項目
- class SevenZipAESEncryptionSettings
- 名前空間 Aspose.Zip.Saving
- 組み立て Aspose.Zip
SevenZipAESEncryptionSettings(SevenZipCipher)
の新しいインスタンスを初期化しますSevenZipAESEncryptionSettings
外部暗号を持つクラス.
public SevenZipAESEncryptionSettings(SevenZipCipher cipher)
パラメータ | タイプ | 説明 |
---|---|---|
cipher | SevenZipCipher | カスタム AES 実装。 |
例
SevenZipCipher cipher = ComposeMyCipher();
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings(cipher))))
{
archive.CreateEntry("data.bin", "data.bin");
archive.Save("archive.7z");
}
関連項目
- class SevenZipCipher
- class SevenZipAESEncryptionSettings
- 名前空間 Aspose.Zip.Saving
- 組み立て Aspose.Zip