Class SevenZipAESEncryptionSettings
İsim alanı : Aspose.Zip.Saving Toplama: Aspose.Zip.dll (25.5.0)
Birkaç 7z şifreleme yöntemleri için ayarlar için temel sınıf.
public class SevenZipAESEncryptionSettings : SevenZipEncryptionSettings
Inheritance
object ← SevenZipEncryptionSettings ← SevenZipAESEncryptionSettings
mirasçı üyeleri
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 arşivi için mümkün olan tek şifreleme yöntemi. bu yüzden Aspose.Zip.Saving.SevenZipAESEncryptionSettings tek uygulama.
Constructors
SevenZipAESEncryptionKayıtlar(Sırt)
Aspose.Zip.Saving.SevenZipAESEncryptionSettings sınıfının yeni bir örneğini başlatır.
public SevenZipAESEncryptionSettings(string password)
Parameters
password
string
Şifreleme veya şifreleme için şifreleme.
Examples
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings("p@s$"))))
{
archive.CreateEntry("data.bin", "data.bin");
archive.Save("archive.7z");
}
SevenZipAESEncryptionKayıtlar(SevenZipCipher)
Aspose.Zip.Saving.SevenZipAESEncryptionSettings sınıfının yeni bir örneğini dış çip ile başlatır.
public SevenZipAESEncryptionSettings(SevenZipCipher cipher)
Parameters
cipher
SevenZipCipher
Özelleştirilmiş AES uygulaması.
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");
}