System::Security::Cryptography::RSA::VerifyData メソッド
コンテンツ
[
隠れる
]RSA::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&, const SharedPtr<RSASignaturePadding>&) method
指定されたデータの署名が有効であることを検証します。
bool System::Security::Cryptography::RSA::VerifyData(const ByteArrayPtr &data, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm, const SharedPtr<RSASignaturePadding> &padding)
| パラメーター | 型 | 説明 |
|---|---|---|
| データ | const ByteArrayPtr& | 署名済みデータ。 |
| 署名 | const ByteArrayPtr& | 署名データ。 |
| hash_algorithm | const HashAlgorithmName& | ハッシュアルゴリズム。 |
| パディング | const SharedPtr<RSASignaturePadding>& | パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。 |
参照
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++
RSA::VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&, const SharedPtr<RSASignaturePadding>&) method
指定されたデータの署名が有効であることを検証します。
bool System::Security::Cryptography::RSA::VerifyData(const ByteArrayPtr &data, int32_t offset, int32_t count, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm, const SharedPtr<RSASignaturePadding> &padding)
| パラメーター | 型 | 説明 |
|---|---|---|
| データ | const ByteArrayPtr& | 署名済みデータ。 |
| offset | int32_t | data のオフセット。 |
| count | int32_t | ハッシュ化するバイト数。 |
| 署名 | const ByteArrayPtr& | 署名データ。 |
| hash_algorithm | const HashAlgorithmName& | ハッシュアルゴリズム。 |
| パディング | const SharedPtr<RSASignaturePadding>& | パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。 |
参照
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++
RSA::VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&, const SharedPtr<RSASignaturePadding>&) method
指定されたバイナリストリームの署名が有効であることを検証します。
bool System::Security::Cryptography::RSA::VerifyData(const StreamPtr &stream, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm, const SharedPtr<RSASignaturePadding> &padding)
| パラメーター | 型 | 説明 |
|---|---|---|
| ストリーム | const StreamPtr& | 署名済みデータ。 |
| 署名 | const ByteArrayPtr& | 署名データ。 |
| hash_algorithm | const HashAlgorithmName& | ハッシュアルゴリズム。 |
| パディング | const SharedPtr<RSASignaturePadding>& | パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。 |
参照
- Typedef StreamPtr
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++