Class EncryptionSettings
Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
多个zip加密方法的设置的基类。
public abstract class EncryptionSettings
继承
派生
AesEcryptionSettings, TraditionalEncryptionSettings
继承成员
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
构造函数
EncryptionSettings(string, EncryptionMethod)
初始化Aspose.Zip.Saving.EncryptionSettings类的新实例。
protected EncryptionSettings(string password, EncryptionMethod method)
参数
password
string
用于加密或解密的密码。
method
EncryptionMethod
用于加密或解密的方法。
属性
Method
获取加密算法。
public EncryptionMethod Method { get; }
属性值
Password
获取或设置用于加密或解密的密码。
public string Password { get; set; }