System::Security::Cryptography::ECDsa::SignData 方法
内容
[
隐藏
]ECDsa::SignData(const ByteArrayPtr&, const HashAlgorithmName&) method
使用指定的哈希算法计算指定数据数组的哈希值,并对结果进行签名。
virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const ByteArrayPtr &data, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 数据 | const ByteArrayPtr& | 输入数据数组。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。返回输入数据的 ECDSA 签名。 |
另见
- Typedef ByteArrayPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
ECDsa::SignData(const ByteArrayPtr&, int32_t, int32_t, const HashAlgorithmName&) method
使用指定的哈希算法计算指定数据数组的哈希值,并对结果进行签名。
virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const ByteArrayPtr &data, int32_t offset, int32_t count, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 数据 | const ByteArrayPtr& | 输入数据数组。 |
| offset | int32_t | 在 data 中的偏移。 |
| count | int32_t | 用作输入数据的字节数。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。返回输入数据的 ECDSA 签名。 |
另见
- Typedef ByteArrayPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
ECDsa::SignData(const StreamPtr&, const HashAlgorithmName&) method
使用指定的哈希算法计算指定二进制流的哈希值,并对结果进行签名。
virtual ByteArrayPtr System::Security::Cryptography::ECDsa::SignData(const StreamPtr &stream, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 流 | const StreamPtr& | 二进制流。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。返回输入数据的 ECDSA 签名。 |
另见
- Typedef ByteArrayPtr
- Typedef StreamPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++