Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 1 | ndnsec-list |
| 2 | =========== |
| 3 | |
Davide Pesavento | b310efb | 2019-04-11 22:10:24 -0400 | [diff] [blame] | 4 | Synopsis |
| 5 | -------- |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 6 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 7 | **ndnsec list** [**-h**] [**-k**] [**-c**] [**-v**\|\ **-vv**\|\ **-vvv**] |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 8 | |
| 9 | Description |
| 10 | ----------- |
| 11 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 12 | Print the names of all the entities stored in the **Public Information Base (PIB)**, |
| 13 | such as identities, keys, and certificates, up to the given granularity level. |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 14 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 15 | By default, only the identity names are shown. In the output, the default entities |
| 16 | are marked with an asterisk ("*") in front of their names. |
| 17 | |
| 18 | Options |
| 19 | ------- |
| 20 | |
| 21 | .. option:: -k, --key |
| 22 | |
| 23 | Also list the key names for each identity. |
| 24 | An asterisk ("*") in front of a key name indicates the default key of the corresponding |
| 25 | identity. |
| 26 | |
| 27 | .. option:: -c, --cert |
| 28 | |
| 29 | Also list the certificate names for each key. Implies :option:`-k`. |
| 30 | An asterisk ("*") in front of a certificate name indicates the default certificate of |
| 31 | the corresponding key. |
| 32 | |
| 33 | .. option:: -v, -vv, -vvv, --verbose |
| 34 | |
| 35 | Verbose output mode. |
| 36 | This option can be repeated up to three times to increase the level of verbosity: |
| 37 | :option:`-v` is equivalent to :option:`-k`; |
| 38 | :option:`-vv` is equivalent to :option:`-c`; |
| 39 | :option:`-vvv` prints detailed information for each certificate. |
| 40 | |
| 41 | Examples |
| 42 | -------- |
| 43 | |
| 44 | Display all identity names in the PIB:: |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 45 | |
| 46 | $ ndnsec list |
| 47 | * /ndn/edu/ucla/cs/yingdi |
| 48 | /ndn/test/cathy |
| 49 | /ndn/test/bob |
| 50 | /ndn/test/alice |
| 51 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 52 | Display all key names in the PIB:: |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 53 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 54 | $ ndnsec list -k |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 55 | * /ndn/edu/ucla/cs/yingdi |
| 56 | +->* /ndn/edu/ucla/cs/yingdi/ksk-1397247318867 |
| 57 | +-> /ndn/edu/ucla/cs/yingdi/ksk-1393811874052 |
| 58 | |
| 59 | /ndn/test/cathy |
| 60 | +->* /ndn/test/cathy/ksk-1394129695418 |
| 61 | |
| 62 | /ndn/test/bob |
| 63 | +->* /ndn/test/bob/ksk-1394129695308 |
| 64 | |
| 65 | /ndn/test/alice |
| 66 | +->* /ndn/test/alice/ksk-1394129695025 |
| 67 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 68 | Display all certificate names in the PIB:: |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 69 | |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 70 | $ ndnsec list -c |
Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 71 | * /ndn/edu/ucla/cs/yingdi |
| 72 | +->* /ndn/edu/ucla/cs/yingdi/ksk-1397247318867 |
| 73 | +->* /ndn/edu/ucla/cs/yingdi/KEY/ksk-1397247318867/ID-CERT/%00%00%01ERn%1B%BE |
| 74 | +-> /ndn/edu/ucla/cs/yingdi/ksk-1393811874052 |
| 75 | +->* /ndn/edu/ucla/cs/yingdi/KEY/ksk-1393811874052/ID-CERT/%FD%01D%85%A9a%DD |
| 76 | |
| 77 | /ndn/test/cathy |
| 78 | +->* /ndn/test/cathy/ksk-1394129695418 |
| 79 | +->* /ndn/test/KEY/cathy/ksk-1394129695418/ID-CERT/%FD%01D%98%9A%F3J |
| 80 | |
| 81 | /ndn/test/bob |
| 82 | +->* /ndn/test/bob/ksk-1394129695308 |
| 83 | +->* /ndn/test/KEY/bob/ksk-1394129695308/ID-CERT/%FD%01D%98%9A%F2%AE |
| 84 | |
| 85 | /ndn/test/alice |
| 86 | +->* /ndn/test/alice/ksk-1394129695025 |
| 87 | +->* /ndn/test/KEY/alice/ksk-1394129695025/ID-CERT/%FD%01D%98%9A%F2%3F |
Davide Pesavento | 102f057 | 2024-06-22 15:00:06 -0400 | [diff] [blame] | 88 | |
| 89 | See Also |
| 90 | -------- |
| 91 | |
| 92 | :manpage:`ndnsec-cert-dump(1)`, |
| 93 | :manpage:`ndnsec-cert-install(1)`, |
| 94 | :manpage:`ndnsec-delete(1)`, |
| 95 | :manpage:`ndnsec-get-default(1)`, |
| 96 | :manpage:`ndnsec-key-gen(1)`, |
| 97 | :manpage:`ndnsec-set-default(1)` |