ndnsec

Synopsis

ndnsec command [argument]…

ndnsec-command [argument]…

Description

ndnsec is a command-line toolkit to perform various NDN security management operations.

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.

Exit Status

Generally, ndnsec commands exit with status 0 if the requested operation was completed successfully. On error, a nonzero status is returned. Individual commands may use certain nonzero exit codes to indicate that a more specific error has occurred. Please consult the respective man pages for more information.