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));
141 const char *cert, const u8 *cert_blob,
147 if (cert) {
152 buf = (u8 *) os_readfile(cert, &len);
155 cert);
171 * @cert: File or reference name for X.509 certificate in PEM or DER format
172 * @cert_blob: cert as inlined data or %NULL if not used
177 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
181 if (tlsv1_set_cert_chain(&cred->trusted_certs, cert,
199 * @cert: File or reference name for X.509 certificate in PEM or DER format
200 * @cert_blob: cert as inlined data or %NULL if not used
204 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
207 return tlsv1_set_cert_chain(&cred->cert, cert,