security: fixing bugs and adding methods

1. changing getCertificate to take only one argument, now validation checking is always enforced.
2. changing KSK-... DSK-... to lower case ksk-..., dsk-...
3. adding a addCertificateAsSystemDefault method to facilitate setting default certificate of the system.
4. using static_cast<int> (rather than floor) to round time.
5. sanity checking for key name in SecPublicInfo and SecPublicInfoSqlite3.

Change-Id: Id67af9873efef3df92458ed7a87623f22167c558
7 files changed
tree: d406369b674caa7d114460e7eacddb7cff65ed79
  1. examples/
  2. include/
  3. m4/
  4. src/
  5. tests/
  6. tests_boost/
  7. tools/
  8. .gitignore
  9. aminclude.am
  10. autogen.sh
  11. CHANGELOG
  12. configure.ac
  13. COPYING
  14. Doxyfile
  15. INSTALL
  16. Makefile.am
  17. README.md
README.md

NDN-CPP: A Named Data Networking client library for C++ and C

NDN-CPP is a new implementation of a Named Data Networking client library written in C++ and C.
It is wire format compatible with NDNx and PARC's CCNx.

NDN-CPP is open source under a license described in the file COPYING. While the license does not require it, we really would appreciate it if others would share their contributions to the library if they are willing to do so under the same license.

See the file INSTALL for build and install instructions.

Please submit any bugs or issues to the NDN-CPP issue tracker: http://redmine.named-data.net/projects/ndn-cpp/issues


The library currently requires a remote NDN daemon, and has been tested with ndnd, from the NDNx package: https://github.com/named-data/ndnx .

Currently, the library has two APIs for developers:

1. The C++ API which follows the NDN Common Client Library API also used by ndn-js (JavaScript)
 and PyNDN (Python).

2. A core C library implementing lower-level encoding and communication.  Applications should normally
 use the C++ API, but core C code will also function on embedded devices and other environments 
 which don't have C++ support.