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
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.
Versions 16 and later
Note: CertificateList is used to list the certificates available in the store of Windows certificates.
New in version 16
Note: CertificateList is used to list the certificates available in the store of Windows certificates.
Note: 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) + ...
gLink(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 + ...
Remarks
This feature is available for Windows with Internet Explorer version 5.5 and later.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • 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
Jun. 30 2016