|
|
|
|
|
CertificateList (Function) In french: CertificatListe Returns the list of certificates available on the computer. Remarque: The HTTPListCertificate function only lists certificates with the "Customer authentication" role..
tabCertificat is array of Certificate
tabCertificat = CertificateList()
UnCertificat is Certificate
i is int
i = 1
FOR EACH UnCertificat OF tabCertificat
IF UnCertificat.ValidForSignature = True THEN
ListAdd(COMBO_CHOIXCERTIFICAT, UnCertificat.Name + ...
"(" + UnCertificat.Issuer + ")" + gStoredValue(i))
i++
END
END
Syntax
<Result> = CertificateList([<Store location> [, <Store name>]])
<Result>: Array of Certificate variables Name of the array of Certificate variables that contains the list of certificates available on the computer. <Store location>: Optional Integer constant Location of the certificate store where certificates are to be retrieved:
| | certLocalMachineStore | Corresponding location: HKEY_LOCAL_MACHINE/Software/Microsoft/ SystemCertificates | certLocalMachineStoreEnterprise | Corresponding location: Loaded from the enterprise domains. | certCurrentServiceStore | Corresponding location: HKEY_LOCAL_MACHINE/Software/Microsoft/Cryptography/ Services/ServiceName/SystemCertificates | certServiceStore | Corresponding location: HKEY_LOCAL_MACHINE/Software/Microsoft/Cryptography/ Services/ServiceName/SystemCertificates | certLocalMachineStorePolicy | Corresponding location: HKEY_LOCAL_MACHINE/Software/Policy/Microsoft/ SystemCertificates | certCurrentUserStorePolicy | Corresponding location: HKEY_CURRENT_USER/Software/Policy/Microsoft/ | certCurrentUserStore (Default value) | Corresponding location: HKEY_CURRENT_USER/Software/Microsoft/ SystemCertificates | certUsersStore | Corresponding location: HKEY_USERS/UserName/Software/Microsoft/ SystemCertificates |
Note: These constants cannot be combined.. <Store name>: Optional character string or optional constant Name of the store where certificates are to be retrieved. This parameter can correspond to: - a character string,
- one of the following constants:
| | certAuthority | Certification authority store. | certTrust | Trusted store. | certPersonal (Default value) | Personal store. | certRoot | Root store |
Note: These constants cannot be combined.. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|