ndnsec¶
ndnsec is a command-line toolkit to perform various NDN security management operations.
Synopsis¶
ndnsec command [argument]…
ndnsec-command [argument]…
Description¶
The NDN security data are stored in two places: Public Information Base (PIB) and Trusted Platform Module (TPM). The ndnsec toolkit provides a command-line interface for managing and using the NDN security data.
Commands¶
The following commands are understood:
- list
List all known identities/keys/certificates.
- get-default
Show the default identity/key/certificate.
- set-default
Change the default identity/key/certificate.
- delete
Delete an identity/key/certificate.
- key-gen
Generate a key for an identity.
- sign-req
Generate a certificate signing request.
- cert-gen
Create a certificate for an identity.
- cert-dump
Export a certificate.
- cert-install
Import a certificate from a file.
- export
Export an identity as a SafeBag.
- import
Import an identity from a SafeBag.
- unlock-tpm
Unlock the TPM.