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.c67 …BOOL http_sspi_find_credentials(http_t *http, const LPWSTR containerName, const char *common_name);
69 …redentials(_http_sspi_t *sspi, const LPWSTR containerName, const char *common_name, _http_mode_t m…
74 static DWORD http_sspi_verify(PCCERT_CONTEXT cert, const char *common_name, DWORD dwCertFlags);
86 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
95 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
102 …ret = http_sspi_make_credentials(sspi, L"ServerContainer", common_name, _HTTP_MODE_SERVER, (int)(… in cupsMakeServerCredentials()
122 const char *common_name, /* I - Default common name for server */ in cupsSetServerCredentials() argument
125 …verCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); in cupsSetServerCredentials()
128 (void)common_name; in cupsSetServerCredentials()
185 const char *common_name) /* I - Name to check */ in httpCredentialsAreValidForName() argument
[all …]
Dtls-gnutls.c64 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()
[all …]
Dtls-darwin.c65 static CFArrayRef http_cdsa_copy_server(const char *common_name);
86 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
106 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
125 …cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); in cupsMakeServerCredentials()
264 …me=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names,… in cupsMakeServerCredentials()
305 common_name); in cupsMakeServerCredentials()
365 const char *common_name, /* I - Default common name for server */ in cupsSetServerCredentials() argument
368 …verCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); in cupsSetServerCredentials()
402 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials()
417 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials()
[all …]
Dhttp.h629 extern int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name);
631 extern http_trust_t httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) _CU…
643 …adCredentials(const char *path, cups_array_t **credentials, const char *common_name) _CUPS_API_2_0;
645 …aveCredentials(const char *path, cups_array_t *credentials, const char *common_name) _CUPS_API_2_0;
Dtls-boringssl.c75 const char *common_name, /* I - Common name */ in cupsMakeServerCredentials() argument
95 …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.c891 CFStringRef common_name; in CopyIdentityWithLabel() local
939 SecCertificateCopyCommonName(cert, &common_name); in CopyIdentityWithLabel()
940 if(CFStringCompare(common_name, label_cf, 0) == kCFCompareEqualTo) { in CopyIdentityWithLabel()
942 CFRelease(common_name); in CopyIdentityWithLabel()
946 CFRelease(common_name); in CopyIdentityWithLabel()
Dnss.c832 char *subject, *issuer, *common_name; in display_cert_info() local
839 common_name = CERT_GetCommonName(&cert->subject); in display_cert_info()
849 infof(data, "\tcommon name: %s\n", common_name); in display_cert_info()
854 PR_Free(common_name); in display_cert_info()
/external/cros/system_api/dbus/authpolicy/
Dactive_directory_info.proto102 optional string common_name = 7; field