Feature #2260
Updated by Yingdi Yu almost 10 years ago
We need an expression to indicate a particular KeyChain component (e.g., a instance of Pib or Tpm). Such an indicator can facilitate KeyChain configuration. The indicator is defined as a name with following naming convention: ndn:/localhost/keychain/[component_class]/[component_type]/[component_location] /[component_class]/[component_type]/[component_location] Note that this name is just an indicator, i.e., it is not designed to be bound with any data. * component_class: either `SecTpm` or `SecPib`. * component_type: depends on component class. For Tpm, we define two types: `OsxKeyChain` and `File`. For Pib, we define one types: `Sqlite3`. Another Pib type `LocalService` will be supported later. * component_location: interpreted by specific component implementation. Here are some examples: ndn:/localhost/keychain/SecTpm/OsxKeyChain/login /SecTpm/OsxKeyChain/login ndn:/localhost/keychain/SecTpm/File/"/example/dir" /SecTpm/File/"/example/dir" // The last component is interpreted as a path ndn:/localhost/keychain/SecPib/Sqlite3/"example/dir" /SecPib/Sqlite3/"example/dir" // The last component is interpreted as a path