blob: e5015924b7f762e50196228f67bdf765f8973d94 [file] [log] [blame]
Alexander Afanasyev151a8552014-04-11 00:54:43 -07001ndnsec-delete
2=============
3
4``ndnsec-delete`` is a tool to delete security data from both **Public Info Base** and
5**Trusted Platform Module**.
6
7Usage
8-----
9
10::
11
12 ndnsec-delete [-h] [-kc] name
13
14Description
15-----------
16
17By default, ``ndnsec-delete`` interpret ``name`` as an identity name. If an identity is deleted,
18all the keys and certificates belonging to the identity will be deleted as well. If a key is
19deleted, all the certificate belonging to the key will be deleted as well.
20
21Options
22-------
23
24``-k``
25 Interpret ``name`` as a key name and delete the key and its related data.
26
27``-c``
28 Interpret ``name`` as a certificate name and delete the certificate.
29
30Examples
31--------
32
33Delete all data related to an identity:
34
35::
36
37 $ ndnsec-delete /ndn/test/david