System::Security::Cryptography::ECDsa::VerifyData method
内容
[
隐藏
]ECDsa::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method
验证指定数据的签名是否有效。
bool System::Security::Cryptography::ECDsa::VerifyData(const ByteArrayPtr &data, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 数据 | const ByteArrayPtr& | 已签名的数据。 |
| 签名 | const ByteArrayPtr& | 签名数据。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。若签名有效返回 true,否则返回 false。 |
另见
- Typedef ByteArrayPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
ECDsa::VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&) method
验证指定数据的签名是否有效。
bool System::Security::Cryptography::ECDsa::VerifyData(const ByteArrayPtr &data, int32_t offset, int32_t count, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 数据 | const ByteArrayPtr& | 已签名的数据。 |
| offset | int32_t | 在 data 中的偏移。 |
| count | int32_t | 要进行哈希的字节数。 |
| 签名 | const ByteArrayPtr& | 签名数据。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。若签名有效返回 true,否则返回 false。 |
另见
- Typedef ByteArrayPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++
ECDsa::VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method
验证指定二进制流的签名是否有效。
bool System::Security::Cryptography::ECDsa::VerifyData(const StreamPtr &stream, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
| 参数 | 类型 | 描述 |
|---|---|---|
| 流 | const StreamPtr& | 已签名的数据。 |
| 签名 | const ByteArrayPtr& | 签名数据。 |
| hash_algorithm | const HashAlgorithmName& | 哈希算法。若签名有效返回 true,否则返回 false。 |
另见
- Typedef StreamPtr
- Typedef ByteArrayPtr
- Class ECDsa
- Namespace System::Security::Cryptography
- Library Aspose.Font for C++