named-data-iot / ndn-lite

A lightweight NDN protocol stack with high-level application support including security bootstrapping, access control, trust management, etc.
https://ndn-lite.named-data.net
GNU Lesser General Public License v3.0
44 stars 16 forks source link

Override certificate name parts in KeyLocator #73

Open yoursunny opened 4 years ago

yoursunny commented 4 years ago

Since #72, KeyLocator can contain either a key name or a certificate name. When the validator operates in a network environment that uses a distinct certificate chain than what appears the KeyLocator, it may be necessary to override parts of the certificate name before fetching certificate.

This feature is to introduce an "issuer id override" option in ndn_sig_verifier_verify_*. After specifying this option to <issuer-id>:

yoursunny commented 4 years ago

Cross-project links: https://redmine.named-data.net/issues/5113