SymmetricAlgorithm.CreateDecryptor SymmetricAlgorithm.CreateDecryptor SymmetricAlgorithm.CreateDecryptor SymmetricAlgorithm.CreateDecryptor Method

Definition

Creates a symmetric decryptor object.

Overloads

CreateDecryptor() CreateDecryptor() CreateDecryptor() CreateDecryptor()

Creates a symmetric decryptor object with the current Key property and initialization vector (IV).

CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[])

When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV).

CreateDecryptor() CreateDecryptor() CreateDecryptor() CreateDecryptor()

Creates a symmetric decryptor object with the current Key property and initialization vector (IV).

public:
 virtual System::Security::Cryptography::ICryptoTransform ^ CreateDecryptor();
public virtual System.Security.Cryptography.ICryptoTransform CreateDecryptor ();
abstract member CreateDecryptor : unit -> System.Security.Cryptography.ICryptoTransform
override this.CreateDecryptor : unit -> System.Security.Cryptography.ICryptoTransform
Public Overridable Function CreateDecryptor () As ICryptoTransform

Returns

Remarks

This method decrypts an encrypted message created using the CreateEncryptor overload with the same signature.

See also

CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[]) CreateDecryptor(Byte[], Byte[])

When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV).

public:
 abstract System::Security::Cryptography::ICryptoTransform ^ CreateDecryptor(cli::array <System::Byte> ^ rgbKey, cli::array <System::Byte> ^ rgbIV);
public abstract System.Security.Cryptography.ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[] rgbIV);
abstract member CreateDecryptor : byte[] * byte[] -> System.Security.Cryptography.ICryptoTransform
Public MustOverride Function CreateDecryptor (rgbKey As Byte(), rgbIV As Byte()) As ICryptoTransform

Parameters

rgbKey
Byte[]

The secret key to use for the symmetric algorithm.

rgbIV
Byte[]

The initialization vector to use for the symmetric algorithm.

Returns

Remarks

This method decrypts an encrypted message created using the CreateEncryptor overload with the same parameters.

See also

Applies to