List slot contents
This article describes the syntax for how to list slot contents. The hwsetup command line tool, included in Nexus Certificate Manager (CM), is used.
Syntax
Syntax: List slot contents
hwsetup -libname <pkcs11lib> [-slot <slot#>] [-pin <PIN>] [-nopinpad]
[-id <string>] [-label <string>] [-login user|so]
-list [-all] [-rwonly] [-showmod]
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 |
---|---|
list | Use this option to list slot contents. |
id <string> | List all objects where the CKA_ID attribute contains the specified string, case insensitive string match. |
label <string> | List all objects where the CKA_LABEL attribute contains the specified string, case insensitive string match. |
all | Use this option to show all certificate content. Default: Not flagged. |
rwonly | Use this option if the HSM requires a read/write session to be opened. Default: read only session. |
showmod | Use this option to show the value of the CKA_MODULUS attribute for RSA public keys. Default: Not flagged. |
If you provide only the library name you will get a list of all slots. To list private objects, you must supply the slot
, id
and pin
or label
parameters.