Class EncryptionSettings
Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Základní třída pro nastavení pro několik metod šifrování zipu.
public abstract class EncryptionSettings
Dědičnost
Odvozené
AesEcryptionSettings, TraditionalEncryptionSettings
Děděné členy
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktor
EncryptionSettings(string, EncryptionMethod)
Inicializuje novou instanci třídy Aspose.Zip.Saving.EncryptionSettings.
protected EncryptionSettings(string password, EncryptionMethod method)
Parametry
password
string
Heslo pro šifrování nebo dešifrování.
method
EncryptionMethod
Metoda pro šifrování nebo dešifrování.
Vlastnosti
Method
Získá šifrovací algoritmus.
public EncryptionMethod Method { get; }
Hodnota vlastnosti
Password
Získá nebo nastaví heslo pro šifrování nebo dešifrování.
public string Password { get; set; }