Home | History | Annotate | Download | only in tls

Lines Matching refs:cert

32 	x509_certificate_chain_free(cred->cert);
43 struct x509_certificate *cert, *p;
46 cert = x509_certificate_parse(buf, len);
47 if (cert == NULL) {
56 if (p && x509_name_compare(&cert->subject, &p->issuer) == 0) {
61 p->next = cert;
64 cert->next = *chain;
65 *chain = cert;
68 x509_name_string(&cert->subject, name, sizeof(name));
153 const char *cert, const u8 *cert_blob,
159 if (cert) {
164 buf = (u8 *) os_readfile(cert, &len);
167 cert);
183 * @cert: File or reference name for X.509 certificate in PEM or DER format
184 * @cert_blob: cert as inlined data or %NULL if not used
189 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
193 if (tlsv1_set_cert_chain(&cred->trusted_certs, cert,
211 * @cert: File or reference name for X.509 certificate in PEM or DER format
212 * @cert_blob: cert as inlined data or %NULL if not used
216 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
219 return tlsv1_set_cert_chain(&cred->cert, cert,