Project

General

Profile

Feature #2260

Updated by Alex Afanasyev over 9 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] 
     ndn:/localhost/keychain/[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`: component_class: either `SecTpm` or `SecPib`. 
 * `component_type`: 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`: component_location: interpreted by specific component implementation. Missing component_location means the default location. 

 Here are some examples: 

     ndn:/localhost/keychain/SecTpm/File                     // a file TPM at the default location (e.g., home dir) 
     ndn:/localhost/keychain/SecTpm/OsxKeyChain/ndn          // an osx keychain with name "ndn" 
     ndn:/localhost/keychain/SecPib/Sqlite3/"/example/dir" // a pib at /example/dir

Back