security: Changing Verifier::verifySignature method to be more generalized, so that users can avoid explicit exception processing

Change-Id: I61a7d6b5a4f38626be06bfb43a3e2e49ca749d23
diff --git a/include/ndn-cpp/security/verifier.hpp b/include/ndn-cpp/security/verifier.hpp
index 0682927..537e74d 100644
--- a/include/ndn-cpp/security/verifier.hpp
+++ b/include/ndn-cpp/security/verifier.hpp
@@ -68,9 +68,17 @@
   /*****************************************
    *      verifySignature method set       *
    *****************************************/
+    static bool
+  verifySignature(const Data &data, const Signature &sig, const PublicKey &publicKey);
+
+  static bool
+  verifySignature(const Buffer &data, const Signature &sig, const PublicKey &publicKey);
+
   static bool
   verifySignature(const Data& data, const SignatureSha256WithRsa& sig, const PublicKey& publicKey);
 
+  static bool
+  verifySignature(const Buffer &data, const SignatureSha256WithRsa &sig, const PublicKey &publicKey);
 
 public:
   static const ptr_lib::shared_ptr<PolicyManager>     DefaultPolicyManager;