|
|
|
|
CertificateList( Función) Devuelve la lista de certificados disponibles en el equipo. Observación: Certificado HTTPList sólo enumera los certificados con función "Autenticación de clientes. // Retrieve the list of certificates available on the computer // (Windows personal certificate store) 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 + ")" + gStoredValue(i)) i++ END END
Sintaxis
<Result> = CertificateList([<Store location> [, <Store name>]])
<Result>: Array de las variables de la Certificate Nombre de la variable array de Certificate que contiene la lista de certificados disponibles en el equipo. <Store location>: Constante opcional de tipo Integer Ubicación de la tienda Certificate donde se deben recuperar los Certificate:
| | certLocalMachineStore | Ubicación correspondiente: HKEY_LOCAL_MACHINE/Software/Microsoft/ SistemaCertificados | certLocalMachineStoreEnterprise | Ubicación correspondiente: Cargado desde los dominios de la empresa. | certCurrentServiceStore | Ubicación correspondiente: HKEY_LOCAL_MACHINE/Software/Microsoft/Cryptography/ Servicios/NombreDeServicio/CertificadosDelSistema | certServiceStore | Ubicación correspondiente: HKEY_LOCAL_MACHINE/Software/Microsoft/Cryptography/ Servicios/NombreDeServicio/CertificadosDelSistema | certLocalMachineStorePolicy | Ubicación correspondiente: HKEY_LOCAL_MACHINE/Software/Policy/Microsoft/ SistemaCertificados | certCurrentUserStorePolicy | Ubicación correspondiente: HKEY_CURRENT_USER/Software/Policy/Microsoft/ | certCurrentUserStore (Valor predeterminado) | Ubicación correspondiente: HKEY_CURRENT_USER/Software/Microsoft/ SistemaCertificados | certUsersStore | Ubicación correspondiente: HKEY_USERS/NombreDeUsuario/Software/Microsoft/ SistemaCertificados |
Observación: Estas constantes no se pueden combinar. <Store name>: Cadena de caracteres opcional o constante opcional Nombre del almacén en el que se deben recuperar los certificados. Este parámetro puede corresponder a: - una cadena de caracteres,
- una de las siguientes constantes:
| | certAuthority | Almacén de autoridades de certificación. | certTrust | Tienda de confianza. | certPersonal (Valor predeterminado) | Tienda personal. | certRoot | Tienda de raíces |
Observación: Estas constantes no se pueden combinar. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|