tools: Refactor ndnsec tools and update code style

This commit also deletes unused (broken) `op-tool`

Change-Id: I6c45c293d9c22198efd9db8144e32097d73738e5
Refs: #3098
diff --git a/tools/ndnsec/ndnsec.hpp b/tools/ndnsec/ndnsec.hpp
new file mode 100644
index 0000000..b64a6b2
--- /dev/null
+++ b/tools/ndnsec/ndnsec.hpp
@@ -0,0 +1,76 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2013-2017 Regents of the University of California.
+ *
+ * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
+ *
+ * ndn-cxx library is free software: you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later version.
+ *
+ * ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ *
+ * You should have received copies of the GNU General Public License and GNU Lesser
+ * General Public License along with ndn-cxx, e.g., in COPYING.md file.  If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ * See AUTHORS.md for complete list of ndn-cxx authors and contributors.
+ */
+
+#ifndef NDN_TOOLS_NDNSEC_NDNSEC_HPP
+#define NDN_TOOLS_NDNSEC_NDNSEC_HPP
+
+namespace ndn {
+namespace ndnsec {
+
+int
+ndnsec_list(int argc, char** argv);
+
+int
+ndnsec_get_default(int argc, char** argv);
+
+int
+ndnsec_set_default(int argc, char** argv);
+
+int
+ndnsec_key_gen(int argc, char** argv);
+
+int
+ndnsec_dsk_gen(int argc, char** argv);
+
+int
+ndnsec_sign_req(int argc, char** argv);
+
+int
+ndnsec_cert_gen(int argc, char** argv);
+
+int
+ndnsec_cert_revoke(int argc, char** argv);
+
+int
+ndnsec_cert_dump(int argc, char** argv);
+
+int
+ndnsec_cert_install(int argc, char** argv);
+
+int
+ndnsec_delete(int argc, char** argv);
+
+int
+ndnsec_export(int argc, char** argv);
+
+int
+ndnsec_import(int argc, char** argv);
+
+int
+ndnsec_set_acl(int argc, char** argv);
+
+int
+ndnsec_unlock_tpm(int argc, char** argv);
+
+} // namespace ndnsec
+} // namespace ndn
+
+#endif // NDN_TOOLS_NDNSEC_NDNSEC_HPP