Home
last modified time | relevance | path

Searched refs:common_name (Results 1 – 17 of 17) 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.h626 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) _CU…
640 …adCredentials(const char *path, cups_array_t **credentials, const char *common_name) _CUPS_API_2_0;
642 …aveCredentials(const char *path, cups_array_t *credentials, const char *common_name) _CUPS_API_2_0;
Dtls-boringssl.c70 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
90 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
Dcups.h599 extern int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names,…
600 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/curl/lib/vtls/
Ddarwinssl.c1036 CFStringRef common_name; in CopyIdentityWithLabel() local
1085 common_name = SecCertificateCopySubjectSummary(cert); in CopyIdentityWithLabel()
1087 SecCertificateCopyCommonName(cert, &common_name); in CopyIdentityWithLabel()
1089 if(CFStringCompare(common_name, label_cf, 0) == kCFCompareEqualTo) { in CopyIdentityWithLabel()
1091 CFRelease(common_name); in CopyIdentityWithLabel()
1097 CFRelease(common_name); in CopyIdentityWithLabel()
Dnss.c871 char *subject, *issuer, *common_name; in display_cert_info() local
878 common_name = CERT_GetCommonName(&cert->subject); in display_cert_info()
888 infof(data, "\tcommon name: %s\n", common_name); in display_cert_info()
893 PR_Free(common_name); in display_cert_info()
/external/cros/system_api/dbus/authpolicy/
Dactive_directory_info.proto130 optional string common_name = 7; field