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