Home
last modified time | relevance | path

Searched refs:common_name (Results 1 – 15 of 15) sorted by relevance

/external/libcups/cups/
Dtls.c61 httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name) in httpCredentialsAreValidForName() argument
64 (void)common_name; in httpCredentialsAreValidForName()
74 httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) in httpCredentialsGetTrust() argument
77 (void)common_name; in httpCredentialsGetTrust()
90 httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name) in httpLoadCredentials() argument
94 (void)common_name; in httpLoadCredentials()
98 httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name) in httpSaveCredentials() argument
102 (void)common_name; in httpSaveCredentials()
Dtls-sspi.c65 …BOOL http_sspi_find_credentials(http_t *http, const LPWSTR containerName, const char *common_name);
67 …redentials(_http_sspi_t *sspi, const LPWSTR containerName, const char *common_name, _http_mode_t m…
72 static DWORD http_sspi_verify(PCCERT_CONTEXT cert, const char *common_name, DWORD dwCertFlags);
84 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
93 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
100 …ret = http_sspi_make_credentials(sspi, L"ServerContainer", common_name, _HTTP_MODE_SERVER, (int)(… in cupsMakeServerCredentials()
120 const char *common_name, /* I - Default common name for server */ in cupsSetServerCredentials() argument
123 …verCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); in cupsSetServerCredentials()
126 (void)common_name; in cupsSetServerCredentials()
183 const char *common_name) /* I - Name to check */ in httpCredentialsAreValidForName() argument
[all …]
Dtls-gnutls.c62 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()
[all …]
Dtls-darwin.c63 static CFArrayRef http_cdsa_copy_server(const char *common_name);
84 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
104 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
123 …cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); in cupsMakeServerCredentials()
262 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
303 common_name); in cupsMakeServerCredentials()
363 const char *common_name, /* I - Default common name for server */ in cupsSetServerCredentials() argument
366 …verCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); in cupsSetServerCredentials()
400 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials()
415 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials()
[all …]
Dhttp.h625 extern int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name);
627 extern http_trust_t httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) _CU…
639 …adCredentials(const char *path, cups_array_t **credentials, const char *common_name) _CUPS_API_2_0;
641 …aveCredentials(const char *path, cups_array_t *credentials, const char *common_name) _CUPS_API_2_0;
Dcups.h597 extern int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names,…
598 extern int cupsSetServerCredentials(const char *path, const char *common_name, int auto_create) _C…
/external/webrtc/webrtc/base/
Dsslidentity.h175 std::string common_name; member
191 static SSLIdentity* Generate(const std::string& common_name,
193 static SSLIdentity* Generate(const std::string& common_name, in Generate() argument
195 return Generate(common_name, KeyParams(key_type)); in Generate()
Dopensslidentity.cc95 LOG(LS_INFO) << "Making certificate for " << params.common_name; in MakeCertificate()
129 (unsigned char*)params.common_name.c_str(), -1, -1, 0) || in MakeCertificate()
210 if (actual_params.common_name.empty()) { in Generate()
212 actual_params.common_name = CreateRandomString(8); in Generate()
416 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name, in Generate() argument
420 params.common_name = common_name; in Generate()
Dsslidentity.cc161 SSLIdentity* SSLIdentity::Generate(const std::string& common_name, in Generate() argument
163 return OpenSSLIdentity::Generate(common_name, key_params); in Generate()
Drtccertificate_unittests.cc73 params.common_name = kTestCertCommonName; in GenerateCertificateWithExpires()
Dopensslidentity.h104 static OpenSSLIdentity* Generate(const std::string& common_name,
Dsslidentity_unittest.cc392 params.common_name = ""; in TestExpireTime()
Dsslstreamadapter_unittest.cc300 client_params.common_name = "client"; in ResetIdentitiesWithValidity()
307 server_params.common_name = "server"; in ResetIdentitiesWithValidity()
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Dcertutils.py238 common_name = server_host
242 common_name = original_cert.get_subject().commonName
252 cert.get_subject().CN = common_name
/external/curl/lib/vtls/
Dnss.c797 char *subject, *issuer, *common_name; in display_cert_info() local
804 common_name = CERT_GetCommonName(&cert->subject); in display_cert_info()
814 infof(data, "\tcommon name: %s\n", common_name); in display_cert_info()
819 PR_Free(common_name); in display_cert_info()