System::Security::Cryptography::RSACryptoServiceProvider::SignHash 方法
RSACryptoServiceProvider::SignHash(ByteArrayPtr, HashAlgorithmName, SharedPtr<RSASignaturePadding>) method
为指定的哈希值计算签名。
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignHash(ByteArrayPtr hash, HashAlgorithmName hash_algorithm, SharedPtr<RSASignaturePadding> padding) override
| 参数 | 类型 | 描述 |
|---|---|---|
| 哈希 | ByteArrayPtr | 哈希值。 |
| hash_algorithm | HashAlgorithmName | 哈希算法。 |
| padding | SharedPtr<RSASignaturePadding> | 填充模式。返回针对指定哈希的 RSA 签名。 |
另见
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
RSACryptoServiceProvider::SignHash(const ByteArrayPtr&, const String&) method
计算指定输入值的签名。未实现。
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignHash(const ByteArrayPtr &rgb_hash, const String &str)
| 参数 | 类型 | 描述 |
|---|---|---|
| rgb_hash | const ByteArrayPtr& | 待签名数据的哈希值。 |
| str | const String& | 用于创建哈希的哈希算法标识符。 |
ReturnValue
RSA signature for specified data.
另见
- Typedef ByteArrayPtr
- Class String
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++