Class EncryptionSettings

Class EncryptionSettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.2.0)

Base class for settings for several zip encryption methods.

public abstract class EncryptionSettings

Inheritance

objectEncryptionSettings

Derived

AesEcryptionSettings, TraditionalEncryptionSettings

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EncryptionSettings(string, EncryptionMethod)

Initializes a new instance of the Aspose.Zip.Saving.EncryptionSettings class.

protected EncryptionSettings(string password, EncryptionMethod method)

Parameters

password string

Password for encryption or decryption.

method EncryptionMethod

Method to encrypt or decrypt with.

Properties

Method

Gets the encryption algorithm.

public EncryptionMethod Method { get; }

Property Value

EncryptionMethod

Password

Gets or sets password for encryption or decryption.

public string Password { get; set; }

Property Value

string

 English