security: Enabling SignedInterest processing in SecPolicy and Verifier.

refs: #1161

Change-Id: I701ad619299e8e5aae03658b5ce2d3e7fed179cd
diff --git a/src/security/sec-policy-no-verify.cpp b/src/security/sec-policy-no-verify.cpp
index 23ffa42..1dce9d2 100644
--- a/src/security/sec-policy-no-verify.cpp
+++ b/src/security/sec-policy-no-verify.cpp
@@ -15,37 +15,22 @@
 SecPolicyNoVerify::~SecPolicyNoVerify()
 {
 }
-
-bool 
-SecPolicyNoVerify::skipVerifyAndTrust(const Data& data)
-{ 
-  return true; 
-}
-
-bool
-SecPolicyNoVerify::requireVerify(const Data& data)
-{ 
-  return false; 
-}
     
 ptr_lib::shared_ptr<ValidationRequest>
 SecPolicyNoVerify::checkVerificationPolicy
   (const ptr_lib::shared_ptr<Data>& data, int stepCount, const OnVerified& onVerified, const OnVerifyFailed& onVerifyFailed)
 { 
-  onVerified(data); 
+  onVerified(); 
   return ptr_lib::shared_ptr<ValidationRequest>();
 }
 
-bool 
-SecPolicyNoVerify::checkSigningPolicy(const Name& dataName, const Name& certificateName)
+ptr_lib::shared_ptr<ValidationRequest>
+SecPolicyNoVerify::checkVerificationPolicy
+  (const ptr_lib::shared_ptr<Interest>& interest, int stepCount, const OnVerified& onVerified, const OnVerifyFailed& onVerifyFailed)
 { 
-  return true; 
+  onVerified(); 
+  return ptr_lib::shared_ptr<ValidationRequest>();
 }
 
-Name 
-SecPolicyNoVerify::inferSigningIdentity(const Name& dataName)
-{ 
-  return Name(); 
-}
 
 }