commit | 31b4af206b7a13764ef1a879a8b538d0cf59ff0c | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Tue Jan 14 14:13:00 2014 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Tue Jan 14 20:56:30 2014 -0800 |
tree | 39962c68c7b9724ddfaf6e5ae66671e82bad1fcf | |
parent | 462688f65a5a24dd038fc1a4580106ba8aabd00a [diff] |
security: refactoring KeyChain and related classess 1. rename IdentityStorage as SecPublicInfo and PrivateKeyStorage as SecTpm. 2. KeyChain is defined as a template of sub-classes of SecPublicInfo and SecTpm, and KeyChain inherits from these two classes rather than has objects of these two classes. 3. rename some methods of SecPublicInfo and SecTpm to clarify usage and avoid conflicts SecPublicInfo: addKey, getKey, doesKeyExist, activateKey, deactivateKey SecTpm: generateKeyPair, getPublicKey, generateKey 4. adjust getter/setter of KeyChain & SecPublicInfo Change-Id: Ib67631ad1c883100b1200a1a381d837bbbdb1d37
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.