New to Telerik Document ProcessingStart a free 30-day trial

Interface which provides method to encrypt/decrypt data in the ZIP archive.

Definition

Namespace:Telerik.Windows.Zip

Assembly:Telerik.Windows.Zip.dll

Syntax:

C#
public interface ICryptoProvider

Derived Classes: AesCryptoProviderPkzipCryptoProvider

Methods

Creates an decryptor object.

C#
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Decryptor")]
IBlockTransform CreateDecryptor()
Returns:

IBlockTransform

A decryptor object.

Creates an encryptor object.

C#
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Encryptor")]
IBlockTransform CreateEncryptor()
Returns:

IBlockTransform

An encryptor object.

Initialize crypto provider using given encryption settings.

C#
void Initialize(EncryptionSettingsBase settings)
Parameters:settingsEncryptionSettingsBase

Encryption settings.