Alexander Afanasyev | 151a855 | 2014-04-11 00:54:43 -0700 | [diff] [blame] | 1 | ndnsec-delete |
| 2 | ============= |
| 3 | |
| 4 | ``ndnsec-delete`` is a tool to delete security data from both **Public Info Base** and |
| 5 | **Trusted Platform Module**. |
| 6 | |
| 7 | Usage |
| 8 | ----- |
| 9 | |
| 10 | :: |
| 11 | |
| 12 | ndnsec-delete [-h] [-kc] name |
| 13 | |
| 14 | Description |
| 15 | ----------- |
| 16 | |
| 17 | By default, ``ndnsec-delete`` interpret ``name`` as an identity name. If an identity is deleted, |
| 18 | all the keys and certificates belonging to the identity will be deleted as well. If a key is |
| 19 | deleted, all the certificate belonging to the key will be deleted as well. |
| 20 | |
| 21 | Options |
| 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 | |
| 30 | Examples |
| 31 | -------- |
| 32 | |
| 33 | Delete all data related to an identity: |
| 34 | |
| 35 | :: |
| 36 | |
| 37 | $ ndnsec-delete /ndn/test/david |