Class EncryptionSettingsBase
Base class for the encryption settings.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip.dll
Syntax
public abstract class EncryptionSettingsBase : INotifyPropertyChanged
Constructors
EncryptionSettingsBase()
Creates a new instance of the EncryptionSettingsBase class.
Declaration
[Obsolete("Use the static creation methods instead.")]
public EncryptionSettingsBase()
Properties
Algorithm
Gets name of the algorithm will be used for encryption/decryption.
Declaration
[Obsolete("Use the static creation methods instead.")]
public string Algorithm { get; protected set; }
Property Value
System.String
|
Methods
CreateAesPasswordEncryptionSettings()
Creates a new instance of the PasswordEncryptionSettings class. The encryption strength is set to AES-256.
Declaration
public static PasswordEncryptionSettings CreateAesPasswordEncryptionSettings()
Returns
PasswordEncryptionSettings
|
CreateAesPasswordEncryptionSettings(EncryptionStrength)
Creates a new instance of the PasswordEncryptionSettings class.
Declaration
public static PasswordEncryptionSettings CreateAesPasswordEncryptionSettings(EncryptionStrength encryptionStrength)
Parameters
EncryptionStrength
encryptionStrength
The encryption strength. |
Returns
PasswordEncryptionSettings
|
CreateDecryptionSettings()
Creates a new instance of the DecryptionSettings class.
Declaration
public static DecryptionSettings CreateDecryptionSettings()
Returns
DecryptionSettings
|
CreatePkzipPasswordEncryptionSettings()
Creates a new instance of the PasswordEncryptionSettings class.
Declaration
public static PasswordEncryptionSettings CreatePkzipPasswordEncryptionSettings()
Returns
PasswordEncryptionSettings
|
OnPropertyChanged(String)
Called when property value is changed.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
Property name. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|