Previous Topic: TOKENADD Keyword—Create PKCS#11 TokenNext Topic: TOKENLST Keyword—PKCS#11 Token Certificate Object Information


TOKENDEL Keyword—Delete PKCS#11 Token

Valid on z/OS.

Use the TOKENDEL keyword with the P11TOKEN function to delete a PKCS #11 token.

The command has the following format:

TSS P11TOKEN TOKENDEL 
             LABLCTKN(token name)
             [FORCE] 
LABLCTKN(token name)

Specifies the name of the token being deleted. The token must already exist.

FORCE

(Optional) Deletes the token even if an object (certificate, public key, or private key) in the token is not defined to CA Top Secret. This allows an administrator to delete a certificate not defined to CA Top Secret.

This keyword is used with MISC3(PTOK) authority.

Also controlled by ICSF using resources in the CRYPTOZ class. Authority to resources in the IBMFAC class is not required.

Example: TOKENDEL keyword

This example deletes a token called token#1:

TSS P11TOKEN TOKENDEL LABLCTKN(token#1)