Check CA Certificate Trust (QycdCheckCACertTrust) API



  Required Parameter Group:


 Service Program:  QICSS/QYCDCUSG

 Default Public Authority:  *USE

 Threadsafe:  Yes

The Check CA Certificate Trust (QycdCheckCACertTrust) API will verify that the certificate authority (CA) certificates, identified by the list of labels, are trusted by the application. If the application is managing its own list of trusted CA certificates, or does not support client authentication, then this API will not verify the list of CA certificates, and will return the appropriate return indicator.

Authorities and Locks

Exit Registration Lock
*SHRNUP

QUSRSYS/QYCDCERTI *USRIDX
*SHRNUP

Required Parameter Group

Application ID
INPUT; CHAR(*)

The ID of the application that the trusted CA certificate is assigned to.

Length of application ID
INPUT; BINARY(4)

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

Number of CA certificate labels
INPUT; BINARY(4)

The number of CA certificate labels in the list.

CA certificate labels
INPUT; CHAR(*)

The list of CA certificate labels.

Each entry in the list must be in the following format:

Return indicator
OUTPUT; CHAR(1)

Whether or not all of the CA certificates identified in the list of labels are trusted by the application.

The possible values are:

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