Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article is valid from CM 8.0.

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

Code Block
languagetext
titleSyntax: 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 ArgumentsDescription
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.
allUse this option to show all certificate content. Default: Not flagged.
rwonlyUse this option if the HSM requires a read/write session to be opened. Default: read only session.
showmodUse 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

...

.

...

Related information

...