ndnsec-get-default¶
Synopsis¶
ndnsec get-default [-h] [-k|-c] [-i identity|-K key] [-q]
Description¶
This command shows the default settings of the local Public Information Base (PIB) or those of a specific PIB identity or key.
By default, if neither -i
nor -K
is given, the command displays
the default identity or the default key/certificate of the default identity.
Options¶
- -k, --default-key¶
Display the chosen entity’s default key name.
- -c, --default-cert¶
Display the chosen entity’s default certificate name.
- -i <identity>, --identity <identity>¶
Display default settings of identity.
- -K <key>, --key <key>¶
Display default settings of key.
- -q, --quiet¶
Disable printing the trailing newline character.
Examples¶
Display an identity’s default key name:
$ ndnsec get-default -k -i /ndn/test/alice
/ndn/test/alice/ksk-1394129695025
Display an identity’s default certificate name:
$ ndnsec get-default -c -i /ndn/test/alice
/ndn/test/KEY/alice/ksk-1394129695025/ID-CERT/%FD%01D%98%9A%F2%3F
Display a key’s default certificate name:
$ ndnsec get-default -c -K /ndn/test/alice/ksk-1394129695025
/ndn/test/KEY/alice/ksk-1394129695025/ID-CERT/%FD%01D%98%9A%F2%3F
See Also¶
ndnsec-list(1), ndnsec-set-default(1)