New features:
- Base
- The license under which the library is released is changed to Lesser GNU Public
License version 3.0.
- New ways to use incoming Interest dispatching:
- New InterestFilter abstraction that supports filtering based on name prefixes
and regular expressions.
- Separated Face::registerPrefix() and Face::setInterestFilter() methods allow
distinct operations of registering with the local NDN forwarder and setting up
application-specific OnInterest call dispatch using InterestFilters.
- Security
- Add type dir trust-anchor in ValidatorConfig to add all certificates under the
specified directory as trust anchors. The new option also allows periodic
reloading trust anchors, allowing dynamic trust models.
- Added support for multiple signature types to PublicKey, SecPublicInfo
abstractions
- New SignatureSha256WithEcdsa signature type
- Wire encoding
- Data::getFullName() method to get Data packet name with implicit digest
- New Name::getSuccessor() method to get name successor
- Management
- Support for ChannelStatus, StrategyChoice datasets
- Build
- enabled support of precompiled headers for clang and gcc compilers to speed up
compilation
Updates and bug fixes:
- Wire encoding
- Nonce field is now encoded as 4-byte uint8_t value, as defined by NDN-TLV spec.
- Optimized Data packet signing
KeyChain::sign method now pre-allocates EncodingBuffer, requests unsigned portion
of Data using Data::wireEncode(EncodingBuffer, true), and then appends the
resulting signature and prepends Data packet header. This way there is no extra
memory allocation after Data packet is signed.
- Security
- Allow user to explicitly specify the cert name prefix before 'KEY' component in
ndnsec-certgen
- SignatureSha256 has been renamed to DigestSha256 to conform with NDN-TLV
specification.
- Add checking of Timestamp and Nonce fields in signed Interest within
ValidatorConfig
- Allow validator customization using hooks:
Sub-classes of Validator class can use the following hooks to fine-tune the
validation process:
- Validator::preCertificateValidation to process
received certificate before validation.
- Validator::onTimeout to process interest timeout
- Validator::afterCheckPolicy to process validation
requests.
- Other minor fixes and corrections
Deprecated:
- SignatureSha256 class, use DigestSha256 instead.
- All Face constructors that accept shared_ptr<io_service>.
Use versions that accept reference to io_service object.
- Face::ioService method, use Face::getIoService instead.
- Interest constructor that accepts name, individual selectors, and individual guiders
as constructor parameters.
Use Interest().setX(...).setY(...) or use the overload taking Selectors
- name::Component::toEscapedString method, use name::Component::toUri instead.
- SecPublicInfo::addPublicKey method, use SecPublicInfo::addKey instead.
- Tlv::ConentType constant (typo), use Tlv::ContentType instead.
Removed:
- support of ndnd-tlv (only NFD management protocol is supported now)
- SecPublicInfoMemory and SecTpmMemory classes that were no longer used
- Removing concept of periodic event from Scheduler.
In applications, periodic events should be just re-scheduled within the callback for
single-shot events.
- 197e565 data: Optimize Data signing by Alexander Afanasyev · 10 years ago
- e881e93 interest: Correcting encoding/decoding of Nonce field by Alexander Afanasyev · 10 years ago
- c169a81 src: Switching to LGPL 3.0 license by Alexander Afanasyev · 10 years ago
- 9c57818 src: Making use of DEPRECATED macro and updating library code not to use deprecated methods by Alexander Afanasyev · 10 years ago
- 258ec2b src: Refactoring common.hpp and minimizing exposed includes by Alexander Afanasyev · 10 years ago
- 770827c docs: Updating doxygen comments and minor update to normalize API by Alexander Afanasyev · 10 years ago
- 9016496 face: Implementing InterestFilter abstraction to be used with setInterestFilter by Alexander Afanasyev · 11 years ago
- dfa52c4 docs: Updating documentation and license boilerplates in all files by Alexander Afanasyev · 10 years ago
- fdbfc6d src: Improving consistency and correcting code style by Alexander Afanasyev · 10 years ago
- ff2d08f data+interest+selectors+meta-info+signature: Implementing EqualityComparable concept by Alexander Afanasyev · 10 years ago
- af8eeea interest: Interest::matchesData function by Junxiao Shi · 10 years ago
- b332e78 interest: add PublisherPublicKeyLocator selector by Junxiao Shi · 10 years ago
- aa0e7da all: Refactoring work with time using boost::chrono by Alexander Afanasyev · 10 years ago
- 5964fb7 management: Making LocalControlHeader encoding independent of Interest/Data wire by Alexander Afanasyev · 11 years ago
- 6d48bc1 management: Finalizing LocalControlHeader implementation by Alexander Afanasyev · 11 years ago
- c348f83 encoding: Optimized encoding of Interest and related data structures by Alexander Afanasyev · 11 years ago
- 10257b1 interest: Add setExclude function for Interest abstraction by chenatu · 11 years ago
- 0222fba api: Major API change. OnInterest/OnData callbacks now use just references, not shared pointers by Alexander Afanasyev · 11 years ago
- e2dcdfd build: Experimental support to build using precompiled headers by Alexander Afanasyev · 11 years ago
- a4e5767 interest+data: Add incomingFaceId into Interest and Data. by Yingdi Yu · 11 years ago
- 09c613f src: Another round of source updates: moving all headers close to implementation files by Alexander Afanasyev · 11 years ago[Renamed from include/ndn-cpp-dev/interest.hpp]
- 61ec272 renaming: ndn-cpp to ndn-cpp-dev by Yingdi Yu · 11 years ago[Renamed from include/ndn-cpp/interest.hpp]
- 8548084 binary-xml-wire-format: Partial enabling of binary-xml-wire-format by Alexander Afanasyev · 11 years ago
- 840139f interest: auto-generating random nonce if not set by Alexander Afanasyev · 11 years ago
- 1eb961a interest: More TLV-related changes by Alexander Afanasyev · 11 years ago
- 8468198 interest: Convert Interest to TLV by Alexander Afanasyev · 11 years ago
- 13e280b Interest: Added Interest::toUri(). by Jeff Thompson · 11 years ago
- 92342a9 code style: Exclude: Put return type on the previous line. by Jeff Thompson · 11 years ago
- 000a1e9 code style: In Exclude, put return types on previous line. by Jeff Thompson · 11 years ago
- 4dfca98 Exclude: Fix doc comment. by Jeff Thompson · 11 years ago
- f62f9f2 Interest: Moved class ExcludeEntry to inner class Exclude::Entry. by Jeff Thompson · 11 years ago
- 83bf07e Code style: In "setter" methods, use meaningful argument name instead of "value". by Jeff Thompson · 11 years ago
- f76efef Interest: In setNonce, make the argument const Blob&. by Jeff Thompson · 11 years ago
- 1b4a7b1 doc: Add documentation for Interest constructors and methods. by Jeff Thompson · 11 years ago
- b096e49 Interest exclude: Fix typo in comment. by Jeff Thompson · 11 years ago
- 832d297 Interest exclude: Added appendAny and appendComponent and deprecated addAny and addComponent (to be consistent with Name append). by Jeff Thompson · 11 years ago
- 4b70d3d interest: Added setName(). by Jeff Thompson · 11 years ago
- 9a8e82f common.hpp: time: Added typedef for Milliseconds and MillisecondsSince1970, and use instead of double where appropriate. by Jeff Thompson · 11 years ago
- 25b4e61 make: Global change: Move all public headers to include folder. Change source to including public headers using #include <ndn-cpp/*>. Split some header files to minimize exposing C .h files. by Jeff Thompson · 11 years ago[Renamed (96%) from ndn-cpp/interest.hpp]
- 97223af globa: Change unsigned int to size_t where it is the size of a byte array or an index/offset into it. by Jeff Thompson · 11 years ago
- 10ad12a global: Rename unsigned char to uint8, DynamicUCharArray to DynamicUInt8Array and DynamicUCharVector to DynamicUInt8Vector. by Jeff Thompson · 11 years ago
- 0050abe Code style: Put function return type on a line by itself. by Jeff Thompson · 11 years ago
- 7687dc0 All source files: Added UC Copyright. Added jefft0 email address. by Jeff Thompson · 11 years ago
- 412226d Change Interest.nonce to a Blob. by Jeff Thompson · 11 years ago
- c2b7b14 Change wire encoding to return a Blob. by Jeff Thompson · 11 years ago
- a7516e0 Use argument defaults for getDefaultWireFormat() instead of a separate overloaded method. by Jeff Thompson · 11 years ago
- 1656e6a Code style: Declare (Type& value) instead of (Type &value) by Jeff Thompson · 11 years ago
- f62382a Added Interest constructor for name and interestLifetimeMilliseconds by Jeff Thompson · 11 years ago
- 3f76e9e Added Interest constructor with default nonce. by Jeff Thompson · 11 years ago
- 37527d6 Added Exclude toUri. by Jeff Thompson · 11 years ago
- 4962c62 Fix bug: getter methods for vectors should return a reference. by Jeff Thompson · 11 years ago
- 38d0e08 Change the ExcludeEntry to use a name component directly. by Jeff Thompson · 11 years ago
- 2d27e2f Convert tabs to spaces. by Jeff Thompson · 11 years ago
- 5341219 Major code style change to rename all files to lower case. by Jeff Thompson · 11 years ago[Renamed (98%) from ndn-cpp/Interest.hpp]
- 67e9e0a Rename encode and decode to wireEncode and wireDecode by Jeff Thompson · 11 years ago
- f544701 In encode and decode with default WireFormat, use WireFormat::getDefaultWireFormat() by Jeff Thompson · 11 years ago
- f59a87a Added Interest constructor with all arguments by Jeff Thompson · 11 years ago
- b915b1d Rename BinaryXmlWireFormat::instance() to BinaryXmlWireFormat::getInstance() by Jeff Thompson · 11 years ago
- f0fea00 Code style: Rename BinaryXML to BinaryXml by Jeff Thompson · 11 years ago
- b0979fd In encode methods, return a ptr_lib::shared_ptr<vector<unsigned char> > by Jeff Thompson · 11 years ago
- c0486c1 Added Interest(const Name &name) by Jeff Thompson · 11 years ago
- 5a5e8b7 Rename interestLifetime to interestLifetimeMilliseconds and make it a double by Jeff Thompson · 11 years ago
- 3423865 In the Interest constructor, set int values to -1 by Jeff Thompson · 11 years ago
- a899539 Don't need to include vector since Name.hpp does by Jeff Thompson · 11 years ago
- dd3d229 In set methods, make the argument const by Jeff Thompson · 11 years ago
- 8238d00 Added separate PublishPublicKeyDigest and use in Interest. by Jeff Thompson · 11 years ago
- eb316a8 Added setter methods. by Jeff Thompson · 11 years ago
- 12c2776 Added non-const getName and getExclude by Jeff Thompson · 11 years ago
- fe55686 Implement Interest Exclude by Jeff Thompson · 11 years ago
- 0a68172 Added const getters. by Jeff Thompson · 11 years ago
- d345a5b Use const where possible. by Jeff Thompson · 11 years ago
- f2e5e28 In structures, put minSuffixComponents before maxSuffixComponents by Jeff Thompson · 11 years ago
- d9e278c Implement get(struct ndn_Interest &) by Jeff Thompson · 11 years ago
- 47eecfc Change all copyright notices to refer to file COPYING by Jeff Thompson · 11 years ago
- 2255290 Implement ndn_decodeBinaryXMLInterest (except for Exclude) by Jeff Thompson · 11 years ago
- b7f9556 Added Interest by Jeff Thompson · 11 years ago