Lines Matching refs:common_name
64 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
83 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
92 if (!path || !common_name) in cupsMakeServerCredentials()
98 http_gnutls_make_path(crtfile, sizeof(crtfile), path, common_name, "crt"); in cupsMakeServerCredentials()
99 http_gnutls_make_path(keyfile, sizeof(keyfile), path, common_name, "key"); in cupsMakeServerCredentials()
160 common_name, strlen(common_name)); in cupsMakeServerCredentials()
162 common_name, strlen(common_name)); in cupsMakeServerCredentials()
241 const char *common_name, /* I - Default common name for server */ in cupsSetServerCredentials() argument
247 …verCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); in cupsSetServerCredentials()
260 if (!path || !common_name) in cupsSetServerCredentials()
284 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials()
370 const char *common_name) /* I - Name to check */ in httpCredentialsAreValidForName() argument
379 result = gnutls_x509_crt_check_hostname(cert, common_name) != 0; in httpCredentialsAreValidForName()
429 const char *common_name) /* I - Common name for trust lookup */ in httpCredentialsGetTrust() argument
439 if (!common_name) in httpCredentialsGetTrust()
461 httpLoadCredentials(NULL, &tcreds, common_name); in httpCredentialsGetTrust()
498 else if (!httpCredentialsAreValidForName(credentials, common_name)) in httpCredentialsGetTrust()
516 httpSaveCredentials(NULL, credentials, common_name); in httpCredentialsGetTrust()
522 else if (cg->validate_certs && !httpCredentialsAreValidForName(credentials, common_name)) in httpCredentialsGetTrust()
684 const char *common_name) /* I - Common name for credentials */ in httpLoadCredentials() argument
698 if (!credentials || !common_name) in httpLoadCredentials()
706 http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt"); in httpLoadCredentials()
815 const char *common_name) /* I - Common name for credentials */ in httpSaveCredentials() argument
827 if (!credentials || !common_name) in httpSaveCredentials()
835 http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt"); in httpSaveCredentials()