I have not programmed the QsyListUserCertificates in C but I have used it in RPGLE.
The selection control parameter is pointer to a character structure.
I have it initialized with fixed values as per the following RPGLE spec
D SelectCtl DS
D Ctllen 10I 0 Inz(8)
D Ctlpairs 10I 0 Inz(0)
It should work for you if pass it as a parameter containings two 4 byte binary numbers, the first binary number is assigned the length (8) and the second number set to zero.
From: c400-l-bounces+peter.connell=vedaadvantage.com@xxxxxxxxxxxx [mailto:c400-l-bounces+peter.connell=vedaadvantage.com@xxxxxxxxxxxx] On Behalf Of gn pr
Sent: Thursday, 30 June 2011 10:02 AM
Subject: [C400-L] Selection Control getting user certificates
I have the next code, because I'm trying to get the user
certificates , but I cannot recover the certificates
of the user, I think it because the Selection Control is not in a good format.
Any help is appreciated.
This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact