Remove Certificate Usage (QycdRemoveCertUsage) API



  Required Parameter Group:


 Service Program: QICSS/QYCDCUSG

 Default Public Authority: *USE

 Threadsafe:  Yes

The Remove Certificate Usage (QycdRemoveCertUsage) API will remove usage of a certificate from a registered application. The exit program that is associated with the application will be called indicating that a certificate is no longer assigned to the application. If the exit program does not exist, or is the default value (program QSY_NOPGM in library QSY_NOLIB), the exit program will not be called.

Authorities and Locks

Authority Required
Caller of this API must have *ALLOBJ and *SECADM special authorities.

Exit Registration Lock
*SHRNUP

QUSRSYS/QYCDCERTI *USRIDX
*EXCL

Required Parameter Group

Application ID
INPUT; CHAR(*)

The application identifier that is no longer using the certificate.

You may specify the following special value:

Length of application ID
INPUT; BINARY(4)

The length of the specified application ID. The length must be a value from 1 to 100.

Certificate store name
INPUT; CHAR(*)

The path name where the certificate is stored. The path name is assumed to be in the coded character set ID (CCSID) of the job.

You may specify the following special values:

Length of certificate store name
INPUT; BINARY(4)

The length of the specified certificate store name. The length must be a value from 1 to 1024.

Certificate ID
INPUT; CHAR(*)

The ID for the assigned certificate that is no longer being used. The ID is assumed to be in the CCSID of the job.

Length of certificate ID
INPUT; BINARY(4)

The length of the specified certificate ID. The length must be a value from 1 to 1024.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error Code Parameter.



Error Messages



API introduced: IBM® i 7.4