ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / HTTP functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HTTPListCertificate (Function)
In french: HTTPListeCertificat
Lists the client certificates found on the computer to authenticate on a server. A specific certificate can be used via HTTPCertificate.
Example of use This function can be used, for example, to avoid the standard certificate selection window when the site asks the customer to authenticate himself.
Remarque: The CertificateList function lists the certificates available in the Windows certificate store..
Example
ListeCertif is string
ListeCertif = HTTPListCertificate()
FOR EACH STRING Certif OF ListeCertif SEPARATED BY CR
	ListAdd(LISTE_Liste1, ExtractString(Certif, 1, TAB) + ...
			gStoredValue(ExtractString(Certif, 3, TAB)))
END
Syntax
<Result> = HTTPListCertificate()
<Result>: Character string
List of certificates found on the current computer. The different certificates are separated by a Carriage Return (CR). This list has the following format:
<Certificate name> + TAB + <Supplier> + TAB + <Digital print> + CR + ...
Component: wd300com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
certificado com HTTPListCertificate
//Elimina dados da Tabela // clearing data from table // Effacement des données du tableau

TableDeleteAll(TABLE_certificado_Consulta)

//Criar uma string cerfiticado lista // create a string certificate list // créer une liste de certificat de chaîne

s_certificado_lista is string=HTTPListCertificate()

//criar um contador // create a counter // créer un compteur

n_numero is int=0

//percorrer a lista de certificado // go the certificate list // aller la liste des certificats

FOR EACH STRING s_certificado OF s_certificado_lista SEPARATED BY RC

//somar o contador // add the counter // ajouter le compteur //

n_numero++

//extrair nome e assinatura // extract name and signature // extraire le nom et la signature

_assinatura is string=ExtractString(ExtractString(s_certificado_lista, n_numero, CR), 3, TAB)

//adicionar dados tabela // add table data // ajouter des donnéees de table

TableAddLine(TABLE_certificado_Consulta,s_certificado,_assinatura)

END

//http://www.nfe.fazenda.gov.br/portal/WebServices.aspx#RS

//Blog Com video e exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/06/curso-windev-certificado-008.html
https://www.youtube.com/watch?v=6GYh6RzruOo
De matos AMARILDO
30 Jun. 2016

Last update: 03/28/2025

Send a report | Local help