Lines Matching defs:cert
182 " crt_file=%%s Your own cert and chain (in bottom to top order, top may be omitted)\n" \
187 " crt_file2=%%s Your second cert and chain (in bottom to top order, top may be omitted)\n" \
751 mbedtls_x509_crt *cert;
764 mbedtls_x509_crt_free(cur->cert);
765 mbedtls_free(cur->cert);
819 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL ||
824 mbedtls_x509_crt_init(new->cert);
827 if (mbedtls_x509_crt_parse_file(new->cert, crt_file) != 0 ||
932 return mbedtls_ssl_set_hs_own_cert(ssl, cur->cert, cur->key);
1086 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */
1109 mbedtls_x509_crt *cert,
1117 ctx->slots[ctx->slots_used].cert = cert;
1153 mbedtls_x509_crt *cert,
1167 if (mbedtls_x509_dn_gets(dn, sizeof(dn), &cert->subject) > 0) {
1173 /* Look for a private key that matches the public key in cert.
1178 if (mbedtls_pk_check_pair(&cert->pk,
1221 mbedtls_x509_crt *cert,
1226 return ssl_async_start(ssl, cert,
1232 mbedtls_x509_crt *cert,
1236 return ssl_async_start(ssl, cert,
2617 mbedtls_printf(" . Loading the server cert. and key...");
2827 * (Intended for use where the client cert expected has been signed by
3148 cur->cert, cur->key, 1,
3440 * (Intended for use where the client cert expected has been signed by