System::Security::Cryptography::RSACryptoServiceProvider::Decrypt 方法
RSACryptoServiceProvider::Decrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) method
使用指定的填充模式解密输入数据。
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Decrypt(ByteArrayPtr data, SharedPtr<RSAEncryptionPadding> padding) override
| Parameter | Type | 描述 |
|---|---|---|
| data | ByteArrayPtr | 要解密的 Byte 数组。 |
| 填充 | SharedPtr<RSAEncryptionPadding> | 填充模式。 |
ReturnValue
解密后的数据以字节数组格式。
另见
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSAEncryptionPadding
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++
RSACryptoServiceProvider::Decrypt(const ByteArrayPtr&, bool) method
解密消息。未实现。
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Decrypt(const ByteArrayPtr &rgb, bool use_oaep)
| Parameter | Type | 描述 |
|---|---|---|
| rgb | const ByteArrayPtr& | Data 用于解密。 |
| use_oaep | bool | True 表示使用 OAEP 填充,false 表示使用 PKCS#1 v1.5 填充。 |
ReturnValue
已解密的数据数组。
另见
- Typedef ByteArrayPtr
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++