HomeSort by relevance Sort by last modified time
    Searched refs:common_name (Results 1 - 16 of 16) sorted by null

  /external/libcups/cups/
tls.c 61 httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name)
64 (void)common_name;
74 httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name)
77 (void)common_name;
90 httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name)
94 (void)common_name;
98 httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name)
102 (void)common_name;
tls-sspi.c 65 static BOOL http_sspi_find_credentials(http_t *http, const LPWSTR containerName, const char *common_name);
67 static BOOL http_sspi_make_credentials(_http_sspi_t *sspi, const LPWSTR containerName, const char *common_name, _http_mode_t mode, int years);
72 static DWORD http_sspi_verify(PCCERT_CONTEXT cert, const char *common_name, DWORD dwCertFlags);
84 const char *common_name, /* I - Common name */
93 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));
100 ret = http_sspi_make_credentials(sspi, L"ServerContainer", common_name, _HTTP_MODE_SERVER, (int)((expiration_date - time(NULL) + 86399) / 86400 / 365));
120 const char *common_name, /* I - Default common name for server */
123 DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create))
1337 common_name[1024]; \/* CN=username *\/ local
2071 char common_name[512]; \/* Common name for cert *\/ local
    [all...]
tls-gnutls.c 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));
    [all...]
tls-darwin.c 63 static CFArrayRef http_cdsa_copy_server(const char *common_name);
84 const char *common_name, /* I - Common name */
104 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));
123 cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8);
262 DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, (void *)alt_names, (int)expiration_date));
303 common_name);
363 const char *common_name, /* I - Default common name for server */
366 DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create))
    [all...]
tls-boringssl.c 70 const char *common_name, /* I - Common name */
90 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));
http.h 626 extern int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name);
628 extern http_trust_t httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) _CUPS_API_2_0;
640 extern int httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name) _CUPS_API_2_0;
642 extern int httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name) _CUPS_API_2_0;
cups.h 599 extern int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names, const char **alt_names, time_t expiration_date) _CUPS_API_2_0;
600 extern int cupsSetServerCredentials(const char *path, const char *common_name, int auto_create) _CUPS_API_2_0;
  /external/webrtc/webrtc/base/
sslidentity.h 171 // Parameters for generating a certificate. If |common_name| is non-empty, it
175 std::string common_name; member in struct:rtc::SSLIdentityParams
187 // common_name is non-empty, it will be used for the certificate's
191 static SSLIdentity* Generate(const std::string& common_name,
193 static SSLIdentity* Generate(const std::string& common_name,
195 return Generate(common_name, KeyParams(key_type));
opensslidentity.cc 95 LOG(LS_INFO) << "Making certificate for " << params.common_name;
123 // arbitrary common_name. Note that this certificate goes out in
129 (unsigned char*)params.common_name.c_str(), -1, -1, 0) ||
210 if (actual_params.common_name.empty()) {
212 actual_params.common_name = CreateRandomString(8);
416 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name,
420 params.common_name = common_name;
opensslidentity.h 104 static OpenSSLIdentity* Generate(const std::string& common_name,
rtccertificate_unittests.cc 73 params.common_name = kTestCertCommonName;
sslidentity.cc 161 SSLIdentity* SSLIdentity::Generate(const std::string& common_name,
163 return OpenSSLIdentity::Generate(common_name, key_params);
sslidentity_unittest.cc 392 params.common_name = "";
sslstreamadapter_unittest.cc 300 client_params.common_name = "client";
307 server_params.common_name = "server";
    [all...]
  /external/curl/lib/vtls/
darwinssl.c 1036 CFStringRef common_name; local
    [all...]
nss.c 871 char *subject, *issuer, *common_name; local
878 common_name = CERT_GetCommonName(&cert->subject);
888 infof(data, "\tcommon name: %s\n", common_name);
893 PR_Free(common_name);
    [all...]

Completed in 562 milliseconds