PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of certificates available on the computer. These certificates are available in the personal store of Windows certificates.
WEBDEV - Server code Returns the list of certificates available on the server. In order for the certificates to be visible to the user of the site, they must be installed on the server in the store of custom certificates of the Internet user.
Note: HTTPListCertificate only lists certificates with a "Client authentication" role.
Example
// Retrieve the list of certificates available on the computer
arrCertificate is array of Certificates
arrCertificate = CertificateList()

// Browse the certificates
ACertificate is Certificate
i is int
i = 1
FOR EACH ACertificate OF arrCertificate
// Checks whether the certificate is valid for signing
IF ACertificate..ValidForSignature = True THEN
// Adds the certificate into a Combo Box control
ListAdd(COMBO_CERTIFICATECHOICE, ACertificate..Name + ...
 "(" + ACertificate..Issuer + ")" + gLink(i))
i++
END
END
Syntax
<Result> = CertificateList()
<Result>: Array of Certificate variables
Name of the array of Certificate variables containing the list of certificates available on the computer.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment