Lines Matching refs:common_name
62 const char *common_name, /* I - Common name */
81 DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, alt_names, (int)expiration_date));
90 if (!path || !common_name)
96 http_gnutls_make_path(crtfile, sizeof(crtfile), path, common_name, "crt");
97 http_gnutls_make_path(keyfile, sizeof(keyfile), path, common_name, "key");
158 common_name, strlen(common_name));
160 common_name, strlen(common_name));
239 const char *common_name, /* I - Default common name for server */
245 DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create));
258 if (!path || !common_name)
282 tls_common_name = _cupsStrAlloc(common_name);
368 const char *common_name) /* I - Name to check */
377 result = gnutls_x509_crt_check_hostname(cert, common_name) != 0;
427 const char *common_name) /* I - Common name for trust lookup */
437 if (!common_name)
459 httpLoadCredentials(NULL, &tcreds, common_name);
496 else if (!httpCredentialsAreValidForName(credentials, common_name))
514 httpSaveCredentials(NULL, credentials, common_name);
520 else if (cg->validate_certs && !httpCredentialsAreValidForName(credentials, common_name))
685 const char *common_name) /* I - Common name for credentials */
699 if (!credentials || !common_name)
707 http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt");
816 const char *common_name) /* I - Common name for credentials */
828 if (!credentials || !common_name)
836 http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt");