Feature #1483
Updated by Yingdi Yu over 10 years ago
In some cases, it would be undesirable to add trust-anchor section for each trusted-certificate. Therefore, it would be useful to specify a trust anchor directory and load trusted certificates from there. trust-anchor { type dir dir /usr/local/ndn/keys refresh 10s } The `type` property of such a trust-anchor should be `dir`. It should also have a `dir` property whose value is an absolute path to the directory. It may also have an optional property `refresh` to indicate how frequently the certificate should be refreshed (i.e., reloaded from the directory). The `refresh` value must be a positive integer followed by a character as unit indicator such as (10s for 10 seconds)