blob: e5015924b7f762e50196228f67bdf765f8973d94 [file] [log] [blame]
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.
Examples
--------
Delete all data related to an identity:
::
$ ndnsec-delete /ndn/test/david