Delete object
This article is valid from CM 8.0.
This article describes the syntax for how to delete an object. The hwsetup command line tool, included in Nexus Certificate Manager (CM), is used.
Syntax
Syntax: Delete object
hwsetup -libname <pkcs11lib> [-slot <slot#>] [-pin <PIN>] [-nopinpad]
[-id <string>] [-label <string>] [-login user|so]
{-remove | -removeall | -removecerts}
Options and arguments
For a description of the options libname
, slot
, pin
, nopinpad
, and login
 and their arguments, see Generate DSA/EC/RSA key pair.
Options and Arguments | Description |
---|---|
remove | Use |
removeall | Use |
removecert | Use |
id <string> | Delete the objects where the |
label <string> | Delete the objects where the |
Examples
To delete all objects in a slot:
Example: Delete all objects in slot
hwsetup -libname crypto -slot 1 -pin abcd -removeall
To delete the certificate objects for a given slot and id:
Example: Delete the certificate objects for given slot and id
hwsetup -libname crypto -pin abcd -slot 1 -id mykey -removecerts
Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions