ndnsec-delete¶
ndnsec-delete is a tool to delete security data from both Public Info Base and Trusted Platform Module.
Usage¶
ndnsec-delete [-h] [-kc] name
Description¶
By default, ndnsec-delete interpret name as an identity name. If an identity is deleted, all the keys and certificates belonging to the identity will be deleted as well. If a key is deleted, all the certificate belonging to the key will be deleted as well.
Options¶
- -k
- Interpret name as a key name and delete the key and its related data.
- -c
- 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.