Check Validation List Certificate (QSYCHKVC,QsyCheckVldlCertificate) AP


Required Parameter Group for QSYCHKVC:


  Default Public Authority: *USE

  Threadsafe: Yes



  Syntax for QsyCheckVldlCertificate:
 #include <qsydigid.h>

 void QsyCheckVldlCertificate
        (char           *Validation_list_path_name,
         int             Length_of_path,
         char           *Certificate,
         int             Type,
         int             Length_of_certificate,
         int            *Return_code,
         void           *Error_code);

  Service Program: QSYDIGID

  Default Public Authority: *USE

  Threadsafe: Yes

The Check Validation List Certificate (OPM, QSYCHKVC; ILE, QsyCheckVldlCertificate) API determines whether a certificate is in a validation list.


Authorities and Locks

Validation List Authority
*USE
Validation List Library Authority
*EXECUTE

Required Parameter Group

Validation list path name
INPUT; CHAR(*)

The fully qualified path name of the validation list.

Length of path
INPUT; BINARY(4)

The length of the validation list path.

Certificate
INPUT; CHAR(*)

The certificate or the handle of the certificate to be checked. This is not a text string.

Type
INPUT; BINARY(4)

The type of the certificate.

The possible types are:


Length of certificate
INPUT; BINARY(4)

The length of the certificate that was provided. The type parameter indicates what this length refers to.

Return code
OUTPUT; BINARY(4)

The return code that indicates the result of the check.

The possible types 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: V4R2

[ Back to top | Security APIs | APIs by category ]