|
|
|
|
CertificateLoad (Function) In french: CertificatCharge Loads a certificate from a file or from a buffer.
// Load from a file arrCertificate is array of Certificates MyCertificate is Certificate arrCertificate = CertificateLoad("MyCertificate.cer", "MyPassword") MyCertificate = arrCertificate[1]
Syntax
Loading the certificate from a file Hide the details
<Result> = CertificateLoad(<Certificate file> , <Password>)
<Result>: Array of Certificates Array of Certificate variables containing the loaded certificates. <Certificate file>: Character string Path of file containing the certificate to load.
This file can contain: - a PKCS#12 certificate of the "Public-Key Cryptography Standards" family. In most cases, the extension of these files is ".p12" or ".cer".
- a certificate in PFX format (predecessor to the PKCS#12 format). In most cases, the extension of these files is ".pfx".
Remark: If the certificate path is not specified, the certificate will be sought in the project library. <Password>: Character string Certificate password.
Loading the certificate from a buffer Hide the details
<Result> = CertificateLoad(<Buffer> , <Password>)
<Result>: Array of Certificates Array of Certificate variables containing the loaded certificates. <Buffer>: Buffer variable Buffer containing the certificate data. <Password>: Character string Certificate password. Remarks - The certificate does not have to be found in the Windows store.
- This function can be used to load the certificate used by SocketConnectSSL and NotifPushSend.
- The certificate can be included in the project library (WDL file).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|