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
- hKey
Type: System.Security.Cryptography. . :: . .CryptoKey
The secret key to use for the symmetric algorithm.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.