UCLA-IRL / NAC-ABE

Attribute-based Access Control over Named Data Networking
GNU General Public License v3.0
14 stars 11 forks source link

refactor consumer certificate fetching #32

Closed tianyuan129 closed 12 months ago

tianyuan129 commented 1 year ago

This PR adds consumer fetching to TrustConfig. If corresponding consumer certificate cannot be found in configuration file, attribute authority expresses Interest to fetch from the network and validates it. It also cleans some redundant code in library.

This PR breaks the current attribute authority by requiring a validator input.