Breyta

Deila með


SymmetricAlgorithm.CreateDecryptor Method

Definition

Creates a symmetric decryptor object.

Overloads

CreateDecryptor()

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

CreateDecryptor(Byte[], Byte[])

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

CreateDecryptor()

Source:
SymmetricAlgorithm.cs
Source:
SymmetricAlgorithm.cs
Source:
SymmetricAlgorithm.cs

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

A symmetric decryptor object.

Remarks

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

See also

Applies to

CreateDecryptor(Byte[], Byte[])

Source:
SymmetricAlgorithm.cs
Source:
SymmetricAlgorithm.cs
Source:
SymmetricAlgorithm.cs

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);
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

A symmetric decryptor object.

Remarks

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

See also

Applies to