| ndnsec-list |
| =========== |
| |
| Synopsis |
| -------- |
| |
| **ndnsec-list** [**-h**] [**-k**\|\ **-c**] |
| |
| Description |
| ----------- |
| |
| :program:`ndnsec-list` prints the names of all the entities stored in the |
| **Public Information Base (PIB)**, such as identities, keys, and certificates, |
| up to the given granularity level. By default, only the identity names are |
| shown. The default entities will be marked with a "*" in front of their names. |
| |
| For example:: |
| |
| $ ndnsec list |
| * /ndn/edu/ucla/cs/yingdi |
| /ndn/test/cathy |
| /ndn/test/bob |
| /ndn/test/alice |
| |
| Options |
| ------- |
| |
| .. option:: -k, --key |
| |
| Display key names for each identity. The key name with a "*" in front is |
| the default key name of the corresponding identity. |
| |
| .. option:: -c, --cert |
| |
| Display certificate names for each key. The certificate name with a "*" |
| in front is the default certificate name of the corresponding key. |
| |
| Example |
| ------- |
| |
| Display all the key names in PIB:: |
| |
| $ ndnsec-list -k |
| * /ndn/edu/ucla/cs/yingdi |
| +->* /ndn/edu/ucla/cs/yingdi/ksk-1397247318867 |
| +-> /ndn/edu/ucla/cs/yingdi/ksk-1393811874052 |
| |
| /ndn/test/cathy |
| +->* /ndn/test/cathy/ksk-1394129695418 |
| |
| /ndn/test/bob |
| +->* /ndn/test/bob/ksk-1394129695308 |
| |
| /ndn/test/alice |
| +->* /ndn/test/alice/ksk-1394129695025 |
| |
| Display all the certificate names in PIB:: |
| |
| $ ndnsec-list -c |
| * /ndn/edu/ucla/cs/yingdi |
| +->* /ndn/edu/ucla/cs/yingdi/ksk-1397247318867 |
| +->* /ndn/edu/ucla/cs/yingdi/KEY/ksk-1397247318867/ID-CERT/%00%00%01ERn%1B%BE |
| +-> /ndn/edu/ucla/cs/yingdi/ksk-1393811874052 |
| +->* /ndn/edu/ucla/cs/yingdi/KEY/ksk-1393811874052/ID-CERT/%FD%01D%85%A9a%DD |
| |
| /ndn/test/cathy |
| +->* /ndn/test/cathy/ksk-1394129695418 |
| +->* /ndn/test/KEY/cathy/ksk-1394129695418/ID-CERT/%FD%01D%98%9A%F3J |
| |
| /ndn/test/bob |
| +->* /ndn/test/bob/ksk-1394129695308 |
| +->* /ndn/test/KEY/bob/ksk-1394129695308/ID-CERT/%FD%01D%98%9A%F2%AE |
| |
| /ndn/test/alice |
| +->* /ndn/test/alice/ksk-1394129695025 |
| +->* /ndn/test/KEY/alice/ksk-1394129695025/ID-CERT/%FD%01D%98%9A%F2%3F |