Lines Matching refs:certificate
20 // Define certificate blobs
23 data: '-----BEGIN CERTIFICATE-----\n... (certificate data) ...\n-----END CERTIFICATE-----',
28 data: '-----BEGIN CERTIFICATE-----\n... (CA certificate data) ...\n-----END CERTIFICATE-----',
31 // Perform asynchronous certificate verification
43 > Be sure to replace the certificate data in the example with the actual certificate data.
47 Enumerates certificate types.
53 | CERT_TYPE_PEM | 0 | PEM certificate|
54 | CERT_TYPE_DER | 1 | DER certificate.|
59 Defines the certificate data.
73 Obtains the preset CA certificate and custom CA certificate from the certificate management module,…
82 | caCert | CertBlob | No | Custom CA certificate.|
88 … Promise used to return the result. The value **0** indicates that the certificate verification is…
96 | 2305002 | Unable to get issuer certificate. |
97 | 2305003 | Unable to get certificate revocation list (CRL). |
98 | 2305004 | Unable to decrypt certificate signature. |
107 | 2305018 | Self-signed certificate. |
109 | 2305024 | Invalid certificate authority (CA). |
115 > If any of the preceding error codes is reported during certificate verification, rectify the erro…
123 // Define certificate blobs
126 data: '-----BEGIN CERTIFICATE-----\n... (certificate data) ...\n-----END CERTIFICATE-----',
131 data: '-----BEGIN CERTIFICATE-----\n... (CA certificate data) ...\n-----END CERTIFICATE-----',
134 // Perform asynchronous certificate verification
145 > Be sure to replace the certificate data in the example with the actual certificate data.
153 Obtains the preset CA certificate and custom CA certificate from the certificate management module,…
162 | caCert | CertBlob | No | Custom CA certificate.|
168 | number | Certificate verification result. The value **0** indicates that the certificate verifica…
176 | 2305002 | Unable to get issuer certificate. |
177 | 2305003 | Unable to get certificate revocation list (CRL). |
178 | 2305004 | Unable to decrypt certificate signature. |
188 | 2305024 | Invalid certificate authority (CA). |
193 > If any of the preceding error codes is reported during certificate verification, rectify the erro…
201 // Create certificate blobs
228 > Be sure to replace the certificate data in the example with the actual certificate data.