Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Classe de base pour les paramètres de plusieurs méthodes de chiffrement zip.
public abstract class EncryptionSettings
Héritage
Dérivé
AesEcryptionSettings, TraditionalEncryptionSettings
Membres hérités
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructeurs
EncryptionSettings(string, EncryptionMethod)
Initialise une nouvelle instance de la classe Aspose.Zip.Saving.EncryptionSettings.
protected EncryptionSettings(string password, EncryptionMethod method)
Paramètres
password
string
Mot de passe pour le chiffrement ou le déchiffrement.
method
EncryptionMethod
Méthode à utiliser pour chiffrer ou déchiffrer.
Propriétés
Method
Obtient l’algorithme de chiffrement.
public EncryptionMethod Method { get; }
Valeur de la propriété
Password
Obtient ou définit le mot de passe pour le chiffrement ou le déchiffrement.
public string Password { get; set; }