security: Add KeyParams to support multiple types of keys.

Different types of keys may require different size options and default key size.
This commit also fixes the undefined behavior when processing the password of TPM.

Change-Id: I8fb95f28468be8299002f0d5146a4496ea1da25f
Refs: #1660
Refs: #1693
14 files changed
tree: 377621c6ed9f49f234a9bac8e27d3c8ce1047e35
  1. .waf-tools/
  2. docs/
  3. examples/
  4. src/
  5. tests/
  6. tools/
  7. .gitignore
  8. .travis.yml
  9. AUTHORS.md
  10. client.conf.sample
  11. COPYING.md
  12. libndn-cxx.pc.in
  13. README-dev.md
  14. README.md
  15. waf
  16. wscript
README.md

ndn-cxx: NDN C++ library with eXperimental eXtensions

ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:

See the file docs/INSTALL.rst for build and install instructions.

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

More documentation

Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/

License

ndn-cxx is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING.