Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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 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.

This article is valid from CM 8.0

Related information

  • No labels