ndnsec-list¶
Synopsis¶
ndnsec list [-h] [-k] [-c] [-v|-vv|-vvv]
Description¶
Print 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. In the output, the default entities are marked with an asterisk (“*”) in front of their names.
Options¶
- -k, --key¶
Also list the key names for each identity. An asterisk (“*”) in front of a key name indicates the default key of the corresponding identity.
Examples¶
Display all identity names in the PIB:
$ ndnsec list
* /ndn/edu/ucla/cs/yingdi
/ndn/test/cathy
/ndn/test/bob
/ndn/test/alice
Display all key names in the 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 certificate names in the 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
See Also¶
ndnsec-cert-dump(1), ndnsec-cert-install(1), ndnsec-delete(1), ndnsec-get-default(1), ndnsec-key-gen(1), ndnsec-set-default(1)