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_algorithmconst HashAlgorithmName&ハッシュアルゴリズム。
パディングconst SharedPtr<RSASignaturePadding>&パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。

参照

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&署名済みデータ。
offsetint32_tdata のオフセット。
countint32_tハッシュ化するバイト数。
署名const ByteArrayPtr&署名データ。
hash_algorithmconst HashAlgorithmName&ハッシュアルゴリズム。
パディングconst SharedPtr<RSASignaturePadding>&パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。

参照

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_algorithmconst HashAlgorithmName&ハッシュアルゴリズム。
パディングconst SharedPtr<RSASignaturePadding>&パディングモード。署名が有効な場合は true を返し、そうでない場合は false を返します。

参照