Decrypt()

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

Decrypts message. Not implemented.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Decrypt(const ByteArrayPtr &rgb, bool use_oaep)

Arguments

ParameterTypeDescription
rgbconst ByteArrayPtr&Data to decrypt.
use_oaepboolTrue to use OAEP padding, false to use PKCS#1 v1.5 padding.

Return Value

Decrypted data array.

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

Arguments

ParameterTypeDescription
dataByteArrayPtrByte array to decrypt.
paddingSharedPtr<RSAEncryptionPadding>Padding mode.

Return Value

Decrypted data in byte array format.

See Also