Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Basis-Klasse für Einstellungen für mehrere Zip-Verschlüsselungsmethoden.
public abstract class EncryptionSettings
Vererbung
Abgeleitet
AesEcryptionSettings, TraditionalEncryptionSettings
Vererbte Mitglieder
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktoren
EncryptionSettings(string, EncryptionMethod)
Initialisiert eine neue Instanz der Aspose.Zip.Saving.EncryptionSettings-Klasse.
protected EncryptionSettings(string password, EncryptionMethod method)
Parameter
password
string
Passwort für die Verschlüsselung oder Entschlüsselung.
method
EncryptionMethod
Methode zur Verschlüsselung oder Entschlüsselung.
Eigenschaften
Methode
Erhält den Verschlüsselungsalgorithmus.
public EncryptionMethod Method { get; }
Eigenschaftswert
Passwort
Erhält oder setzt das Passwort für die Verschlüsselung oder Entschlüsselung.
public string Password { get; set; }