Move validation-request.hpp to public API. Moved static verifySha256WithRsaSignature to new Sha256WithRsaHandler::verify.
diff --git a/Makefile.in b/Makefile.in
index a07f09c..a5dfe8d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -206,6 +206,7 @@
src/security/identity/osx-private-key-storage.lo \
src/security/policy/no-verify-policy-manager.lo \
src/security/policy/self-verify-policy-manager.lo \
+ src/security/signature/sha256-with-rsa-handler.lo \
src/transport/tcp-transport.lo src/transport/transport.lo \
src/transport/udp-transport.lo src/util/blob.lo \
src/util/changed-event.lo src/util/dynamic-uint8-vector.lo \
@@ -622,6 +623,8 @@
include/ndn-cpp/security/policy/no-verify-policy-manager.hpp \
include/ndn-cpp/security/policy/policy-manager.hpp \
include/ndn-cpp/security/policy/self-verify-policy-manager.hpp \
+ include/ndn-cpp/security/policy/validation-request.hpp \
+ include/ndn-cpp/security/signature/sha256-with-rsa-handler.hpp \
include/ndn-cpp/transport/tcp-transport.hpp \
include/ndn-cpp/transport/transport.hpp \
include/ndn-cpp/transport/udp-transport.hpp \
@@ -704,6 +707,7 @@
src/security/identity/osx-private-key-storage.cpp \
src/security/policy/no-verify-policy-manager.cpp \
src/security/policy/self-verify-policy-manager.cpp \
+ src/security/signature/sha256-with-rsa-handler.cpp \
src/transport/tcp-transport.cpp \
src/transport/transport.cpp \
src/transport/udp-transport.cpp \
@@ -1003,6 +1007,15 @@
src/security/policy/self-verify-policy-manager.lo: \
src/security/policy/$(am__dirstamp) \
src/security/policy/$(DEPDIR)/$(am__dirstamp)
+src/security/signature/$(am__dirstamp):
+ @$(MKDIR_P) src/security/signature
+ @: > src/security/signature/$(am__dirstamp)
+src/security/signature/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/security/signature/$(DEPDIR)
+ @: > src/security/signature/$(DEPDIR)/$(am__dirstamp)
+src/security/signature/sha256-with-rsa-handler.lo: \
+ src/security/signature/$(am__dirstamp) \
+ src/security/signature/$(DEPDIR)/$(am__dirstamp)
src/transport/$(am__dirstamp):
@$(MKDIR_P) src/transport
@: > src/transport/$(am__dirstamp)
@@ -1113,6 +1126,8 @@
-rm -f src/security/identity/*.lo
-rm -f src/security/policy/*.$(OBJEXT)
-rm -f src/security/policy/*.lo
+ -rm -f src/security/signature/*.$(OBJEXT)
+ -rm -f src/security/signature/*.lo
-rm -f src/transport/*.$(OBJEXT)
-rm -f src/transport/*.lo
-rm -f src/util/*.$(OBJEXT)
@@ -1179,6 +1194,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@src/security/identity/$(DEPDIR)/osx-private-key-storage.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/security/policy/$(DEPDIR)/no-verify-policy-manager.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/security/policy/$(DEPDIR)/self-verify-policy-manager.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/security/signature/$(DEPDIR)/sha256-with-rsa-handler.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/transport/$(DEPDIR)/tcp-transport.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/transport/$(DEPDIR)/transport.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/transport/$(DEPDIR)/udp-transport.Plo@am__quote@
@@ -1259,6 +1275,7 @@
-rm -rf src/security/certificate/.libs src/security/certificate/_libs
-rm -rf src/security/identity/.libs src/security/identity/_libs
-rm -rf src/security/policy/.libs src/security/policy/_libs
+ -rm -rf src/security/signature/.libs src/security/signature/_libs
-rm -rf src/transport/.libs src/transport/_libs
-rm -rf src/util/.libs src/util/_libs
@@ -1617,6 +1634,8 @@
-rm -f src/security/identity/$(am__dirstamp)
-rm -f src/security/policy/$(DEPDIR)/$(am__dirstamp)
-rm -f src/security/policy/$(am__dirstamp)
+ -rm -f src/security/signature/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/security/signature/$(am__dirstamp)
-rm -f src/transport/$(DEPDIR)/$(am__dirstamp)
-rm -f src/transport/$(am__dirstamp)
-rm -f src/util/$(DEPDIR)/$(am__dirstamp)
@@ -1634,7 +1653,7 @@
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf src/$(DEPDIR) src/c/$(DEPDIR) src/c/encoding/$(DEPDIR) src/c/transport/$(DEPDIR) src/c/util/$(DEPDIR) src/encoding/$(DEPDIR) src/encoding/der/$(DEPDIR) src/encoding/der/visitor/$(DEPDIR) src/security/$(DEPDIR) src/security/certificate/$(DEPDIR) src/security/identity/$(DEPDIR) src/security/policy/$(DEPDIR) src/transport/$(DEPDIR) src/util/$(DEPDIR) tests/$(DEPDIR)
+ -rm -rf src/$(DEPDIR) src/c/$(DEPDIR) src/c/encoding/$(DEPDIR) src/c/transport/$(DEPDIR) src/c/util/$(DEPDIR) src/encoding/$(DEPDIR) src/encoding/der/$(DEPDIR) src/encoding/der/visitor/$(DEPDIR) src/security/$(DEPDIR) src/security/certificate/$(DEPDIR) src/security/identity/$(DEPDIR) src/security/policy/$(DEPDIR) src/security/signature/$(DEPDIR) src/transport/$(DEPDIR) src/util/$(DEPDIR) tests/$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags
@@ -1682,7 +1701,7 @@
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf src/$(DEPDIR) src/c/$(DEPDIR) src/c/encoding/$(DEPDIR) src/c/transport/$(DEPDIR) src/c/util/$(DEPDIR) src/encoding/$(DEPDIR) src/encoding/der/$(DEPDIR) src/encoding/der/visitor/$(DEPDIR) src/security/$(DEPDIR) src/security/certificate/$(DEPDIR) src/security/identity/$(DEPDIR) src/security/policy/$(DEPDIR) src/transport/$(DEPDIR) src/util/$(DEPDIR) tests/$(DEPDIR)
+ -rm -rf src/$(DEPDIR) src/c/$(DEPDIR) src/c/encoding/$(DEPDIR) src/c/transport/$(DEPDIR) src/c/util/$(DEPDIR) src/encoding/$(DEPDIR) src/encoding/der/$(DEPDIR) src/encoding/der/visitor/$(DEPDIR) src/security/$(DEPDIR) src/security/certificate/$(DEPDIR) src/security/identity/$(DEPDIR) src/security/policy/$(DEPDIR) src/security/signature/$(DEPDIR) src/transport/$(DEPDIR) src/util/$(DEPDIR) tests/$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic