RSA::Decrypt Method (array<Byte>^, RSAEncryptionPadding^)

 

When overridden in a derived class, decrypts the input data using the specified padding mode.

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

public:
virtual array<unsigned char>^ Decrypt(
	array<unsigned char>^ data,
	RSAEncryptionPadding^ padding
)

Parameters

data
Type: array<System::Byte>^

The data to decrypt.

padding
Type: System.Security.Cryptography::RSAEncryptionPadding^

The padding mode.

Return Value

Type: array<System::Byte>^

The decrypted data.

Exception Condition
NotImplementedException

A derived class must override this method.

.NET Framework
Available since 4.6
Return to top
Show: