security: internal: In Sha256WithRsaHandler, renamed verify to verifySignature.
diff --git a/include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp b/include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp
index 4cc9f98..6627f02 100644
--- a/include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp
+++ b/include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp
@@ -30,7 +30,7 @@
* @throw SecurityException if data does not have a Sha256WithRsaSignature.
*/
static bool
- verify(const Data& data, const PublicKey& publicKey);
+ verifySignature(const Data& data, const PublicKey& publicKey);
};
diff --git a/src/security/signature/sha256-with-rsa-handler.cpp b/src/security/signature/sha256-with-rsa-handler.cpp
index ce6d249..1da748e 100644
--- a/src/security/signature/sha256-with-rsa-handler.cpp
+++ b/src/security/signature/sha256-with-rsa-handler.cpp
@@ -15,7 +15,7 @@
namespace ndn {
bool
-Sha256WithRsaHandler::verify(const Data& data, const PublicKey& publicKey)
+Sha256WithRsaHandler::verifySignature(const Data& data, const PublicKey& publicKey)
{
const Sha256WithRsaSignature *signature = dynamic_cast<const Sha256WithRsaSignature*>(data.getSignature());
if (!signature)