ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / HTTP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Use example: This function can be used for example to avoid displaying the standard window for certificate selection if the site asks the client to authenticate.
Remark: CertificateList is used to list the certificates available in the store of Windows certificates.
Example
CertifList is string
CertifList = HTTPListCertificate()
FOR EACH STRING Certif OF CertifList SEPARATED BY RC
ListAdd(LIST_List1, 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: wd290com.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: 05/26/2022

Send a report | Local help