Lines Matching refs:cert
38 x509_certificate_chain_free(cred->cert);
49 struct x509_certificate *cert;
52 cert = x509_certificate_parse(buf, len);
53 if (cert == NULL) {
59 cert->next = *chain;
60 *chain = cert;
62 x509_name_string(&cert->subject, name, sizeof(name));
147 const char *cert, const u8 *cert_blob,
153 if (cert) {
158 buf = (u8 *) os_readfile(cert, &len);
161 cert);
177 * @cert: File or reference name for X.509 certificate in PEM or DER format
178 * @cert_blob: cert as inlined data or %NULL if not used
183 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
187 if (tlsv1_set_cert_chain(&cred->trusted_certs, cert,
205 * @cert: File or reference name for X.509 certificate in PEM or DER format
206 * @cert_blob: cert as inlined data or %NULL if not used
210 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
213 return tlsv1_set_cert_chain(&cred->cert, cert,