System::Security::Cryptography::RSACryptoServiceProvider::Decrypt method

RSACryptoServiceProvider::Decrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) method

Decrypts input data using the specified padding mode.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Decrypt(ByteArrayPtr data, SharedPtr<RSAEncryptionPadding> padding) override
ParameterTypeDescription
dataByteArrayPtrByte array to decrypt.
paddingSharedPtr<RSAEncryptionPadding>Padding mode.

ReturnValue

Decrypted data in byte array format.

See Also

RSACryptoServiceProvider::Decrypt(const ByteArrayPtr&, bool) method

Decrypts message. Not implemented.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Decrypt(const ByteArrayPtr &rgb, bool use_oaep)
ParameterTypeDescription
rgbconst ByteArrayPtr&Data to decrypt.
use_oaepboolTrue to use OAEP padding, false to use PKCS#1 v1.5 padding.

ReturnValue

Decrypted data array.

See Also