Share via


CreateDecryptor Method (CryptoKey, Byte[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public MustOverride Function CreateDecryptor ( _
    hKey As CryptoKey, _
    rgbIV As Byte() _
) As ICryptoTransform
public abstract ICryptoTransform CreateDecryptor(
    CryptoKey hKey,
    byte[] rgbIV
)
public:
virtual ICryptoTransform^ CreateDecryptor(
    CryptoKey^ hKey, 
    array<unsigned char>^ rgbIV
) abstract
abstract CreateDecryptor : 
        hKey:CryptoKey * 
        rgbIV:byte[] -> ICryptoTransform 
public abstract function CreateDecryptor(
    hKey : CryptoKey, 
    rgbIV : byte[]
) : ICryptoTransform

Parameters

  • rgbIV
    Type: array<System. . :: . .Byte> [] () [] []
    The initialization vector to use for the symmetric algorithm.

Return Value

Type: System.Security.Cryptography. . :: . .ICryptoTransform
A symmetric decryptor object.

.NET Framework Security

See Also

Reference

SymmetricAlgorithm Class

CreateDecryptor Overload

System.Security.Cryptography Namespace