ndnsec-delete

Synopsis

ndnsec-delete [-h] [-k|-c] name

Description

ndnsec-delete allows to delete security data from both the Public Info Base (PIB) and the Trusted Platform Module (TPM).

By default, ndnsec-delete will interpret name as an identity name. If an identity is deleted, all keys and certificates belonging to that identity will be deleted as well. If a key is deleted, all certificates associated with that key will be deleted as well.

Options

-k, --delete-key

Interpret name as a key name and delete the key and its associated data.

-c, --delete-cert

Interpret name as a certificate name and delete the certificate.

Exit Status

Normally, the exit status is 0 if the requested entity is deleted successfully. If the entity to be deleted does not exist, the exit status is 1. For other errors, the exit status is 2.

Example

Delete all data related to an identity:

$ ndnsec-delete /ndn/test/david