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
- 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
- dfa52c4 docs: Updating documentation and license boilerplates in all files by Alexander Afanasyev · 10 years ago
- 2a7f720 exceptions: Make Tlv::Error a base class for all packet-processing exceptions by Alexander Afanasyev · 10 years ago
- e52f4ef encoding: Deriving Block::Error from Tlv::Error by Yingdi Yu · 10 years ago
- fdbfc6d src: Improving consistency and correcting code style by Alexander Afanasyev · 10 years ago
- af8eeea interest: Interest::matchesData function by Junxiao Shi · 10 years ago
- a465e97 src: Code style corrections in Block and Buffer by Alexander Afanasyev · 10 years ago
- 937aa78 decoding+transport: Exception-safe Block parsing by Alexander Afanasyev · 10 years ago
- 5964fb7 management: Making LocalControlHeader encoding independent of Interest/Data wire by Alexander Afanasyev · 11 years ago
- 1515131 encoding: Extending Block and EncodingBuffer interfaces by Alexander Afanasyev · 11 years ago
- 233750e encoding: Fixing bugs in EncodingBlock and Block by Alexander Afanasyev · 11 years ago
- 95b0e34 data: Implementing FinalBlockId in Data packet's MetaInfo section by Alexander Afanasyev · 11 years ago
- 29e5c3d encoding: Fixing Block (and as a result Name) encoding bugs by Alexander Afanasyev · 11 years ago
- 380420b name: Converting name to use EncodingBuffer by Alexander Afanasyev · 11 years ago
- e2dcdfd build: Experimental support to build using precompiled headers by Alexander Afanasyev · 11 years ago
- 95e8c2f name: Optimization of Name implementation by Alexander Afanasyev · 11 years ago
- 8ea763d encoding: Fixes in Block: using std::vector for subblocks and allowing block with empty value by Alexander Afanasyev · 11 years ago
- 187bc48 encoding: Allow creation of a Block from EncodingBuffer by Alexander Afanasyev · 11 years ago
- 196b9aa data: Ensure that content block always exists, even content wasn't set explicitly by Alexander Afanasyev · 11 years ago
- 4270f20 security: Adding supports to signed interest by Yingdi Yu · 11 years ago
- 1950885 build+src: Updating common.hpp to import (std|boost)::(shared_ptr|function|...) into ndn namespace by Alexander Afanasyev · 11 years ago
- 09c613f src: Another round of source updates: moving all headers close to implementation files by Alexander Afanasyev · 11 years ago[Renamed (99%) from include/ndn-cpp-dev/encoding/block.hpp]
- 2715839 encoding: Construct Block from istream by Yingdi Yu · 11 years ago
- 61ec272 renaming: ndn-cpp to ndn-cpp-dev by Yingdi Yu · 11 years ago[Renamed (99%) from include/ndn-cpp/encoding/block.hpp]
- f5c35ae encoding/block: Extending interface to allow removal of child items by Alexander Afanasyev · 11 years ago
- f42ce13 encoding: Making two versions of Block constructor explicit by Alexander Afanasyev · 11 years ago
- 13bb51a encoding: Add TLV-related definitions, data structures, abstraction, and functions by Alexander Afanasyev · 11 years ago