Searched defs:common_name (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/content/renderer/media/
H A Dpeer_connection_identity_service.cc23 const std::string& common_name,
34 common_name,
21 RequestIdentity( const std::string& identity_name, const std::string& common_name, webrtc::DTLSIdentityRequestObserver* observer) argument
H A Dwebrtc_identity_service.h36 // |identity_name| and |common_name| have the same meaning as in
46 const std::string& common_name,
68 const std::string& common_name,
76 std::string common_name; member in struct:content::WebRTCIdentityService::RequestInfo
H A Dwebrtc_identity_service.cc17 const std::string& common_name,
23 common_name(common_name),
49 const std::string& common_name,
57 common_name,
130 request_info.common_name))) {
13 RequestInfo( int request_id, const GURL& origin, const std::string& identity_name, const std::string& common_name, const SuccessCallback& success_callback, const FailureCallback& failure_callback) argument
46 RequestIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const SuccessCallback& success_callback, const FailureCallback& failure_callback) argument
/external/chromium_org/net/cert/
H A Dx509_cert_types.h60 std::string common_name; member in struct:net::CertPrincipal
H A Dx509_util_nss_unittest.cc119 char* common_name = CERT_GetCommonName(&nss_cert->subject); local
120 ASSERT_TRUE(common_name);
121 EXPECT_STREQ("anonymous.invalid", common_name);
122 PORT_Free(common_name);
H A Dcert_verify_proc.cc229 cert->subject().common_name,
354 const std::string& cn = cert->subject().common_name;
519 const std::string& common_name,
600 dns_names.push_back(common_name);
517 HasNameConstraintsViolation( const HashValueVector& public_key_hashes, const std::string& common_name, const std::vector<std::string>& dns_names, const std::vector<std::string>& ip_addrs) argument
H A Dx509_util_openssl.cc55 const std::string& common_name,
83 // Because |common_name| only contains a common name and starts with 'CN=',
88 if (common_name.size() < kCommonNamePrefixLen ||
89 strncmp(common_name.c_str(), kCommonNamePrefix, kCommonNamePrefixLen)) {
93 if (common_name.size() > INT_MAX) {
98 reinterpret_cast<unsigned char*>(const_cast<char*>(common_name.data())) +
101 static_cast<int>(common_name.size() - kCommonNamePrefixLen);
111 LOG(ERROR) << "Can't parse common name: " << common_name.c_str();
317 const std::string& common_name,
325 common_name,
53 CreateCertificate(EVP_PKEY* key, DigestAlgorithm alg, const std::string& common_name, uint32_t serial_number, base::Time not_valid_before, base::Time not_valid_after) argument
315 CreateSelfSignedCert(crypto::RSAPrivateKey* key, DigestAlgorithm alg, const std::string& common_name, uint32 serial_number, base::Time not_valid_before, base::Time not_valid_after, std::string* der_encoded) argument
[all...]
H A Dcert_verify_proc_win.cc243 wchar_t* common_name = local
246 if (common_name[k] == L'\0')
254 int* common_name = local
257 if (common_name[k] == 0)
H A Dx509_certificate_unittest.cc97 EXPECT_EQ("www.google.com", subject.common_name);
108 EXPECT_EQ("Thawte SGC CA", issuer.common_name);
163 EXPECT_EQ("Go Daddy Secure Certification Authority", issuer.common_name);
208 EXPECT_EQ("www.thawte.com", subject.common_name);
219 EXPECT_EQ("thawte Extended Validation SSL CA", issuer.common_name);
260 EXPECT_EQ("Multivalue RDN Test", subject.common_name);
284 EXPECT_EQ("127.0.0.1", subject.common_name);
489 EXPECT_EQ("127.0.0.1", san_cert->subject().common_name);
903 const char* common_name; member in struct:net::CertificateNameVerifyTestData
917 ASSERT_TRUE(data.hostname && data.common_name);
[all...]
/external/chromium_org/chrome/common/extensions/api/networking_private/
H A Dnetworking_private_crypto_openssl.cc91 std::string common_name; local
102 WriteInto(&common_name, common_name_length + 1),
104 DCHECK_EQ((int)common_name.size(), common_name_length);
109 common_name.resize(common_name_length);
114 if (!EndsWith(common_name, translated_mac, false)) {
H A Dnetworking_private_crypto_nss.cc94 char* common_name = CERT_GetCommonName(&cert->subject); local
95 if (!common_name) {
100 std::string subject_name(common_name);
101 PORT_Free(common_name);
/external/chromium_org/chromeos/network/
H A Dcertificate_pattern.cc36 const std::string& common_name,
40 : common_name_(common_name),
35 IssuerSubjectPattern( const std::string& common_name, const std::string& locality, const std::string& organization, const std::string& organizational_unit) argument
H A Dcertificate_pattern.h25 IssuerSubjectPattern(const std::string& common_name,
46 const std::string& common_name() const { function in class:chromeos::IssuerSubjectPattern
/external/chromium_org/content/browser/renderer_host/media/
H A Dwebrtc_identity_service_host.cc43 const std::string& common_name) {
62 common_name,
39 OnRequestIdentity( int sequence_number, const GURL& origin, const std::string& identity_name, const std::string& common_name) argument
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
H A Dfakedtlsidentityservice.h71 Request(const std::string& common_name, argument
73 : common_name(common_name), observer(observer) {}
75 std::string common_name; member in struct:FakeIdentityService::Request
88 const std::string& common_name,
90 MessageData* msg = new MessageData(Request(common_name, observer));
113 GenerateIdentity(message_data->data().common_name, &cert, &key);
125 const std::string& common_name,
87 RequestIdentity(const std::string& identity_name, const std::string& common_name, DTLSIdentityRequestObserver* observer) argument
124 GenerateIdentity( const std::string& common_name, std::string* der_cert, std::string* der_key) argument
/external/chromium_org/third_party/webrtc/base/
H A Dsslidentity.cc97 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
116 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
117 return OpenSSLIdentity::Generate(common_name);
135 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
136 return NSSIdentity::Generate(common_name);
H A Dsslidentity.h119 // Parameters for generating an identity for testing. If common_name is
124 std::string common_name; member in struct:rtc::SSLIdentityParams
135 // common_name is non-empty, it will be used for the certificate's
139 static SSLIdentity* Generate(const std::string& common_name);
H A Dopensslidentity.cc73 LOG(LS_INFO) << "Making certificate for " << params.common_name;
100 // arbitrary common_name. Note that this certificate goes out in
106 (unsigned char*)params.common_name.c_str(), -1, -1, 0) ||
178 if (actual_params.common_name.empty()) {
180 actual_params.common_name = CreateRandomString(8);
308 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name) { argument
310 params.common_name = common_name;
H A Dnssidentity.cc334 std::string subject_name_string = "CN=" + params.common_name;
439 NSSIdentity* NSSIdentity::Generate(const std::string &common_name) { argument
441 params.common_name = common_name;
/external/chromium_org/content/browser/media/
H A Dwebrtc_identity_store.cc34 // Generates a new identity using |common_name| which expires after
36 static void GenerateIdentityWorker(const std::string& common_name, argument
45 "CN=" + common_name,
80 const std::string& common_name)
83 common_name_(common_name) {}
185 const std::string& common_name,
189 FindRequest(origin, identity_name, common_name);
193 request = new WebRTCIdentityRequest(origin, identity_name, common_name);
198 common_name,
304 const std::string& common_name) {
78 WebRTCIdentityRequest(const GURL& origin, const std::string& identity_name, const std::string& common_name) argument
182 RequestIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const CompletionCallback& callback) argument
301 FindRequest( const GURL& origin, const std::string& identity_name, const std::string& common_name) argument
[all...]
H A Dwebrtc_identity_store_backend.cc31 db->DoesColumnExist(kWebRTCIdentityStoreDBName, "common_name") &&
46 "common_name TEXT NOT NULL,"
66 Identity(const std::string& common_name, argument
69 : common_name(common_name),
74 Identity(const std::string& common_name, argument
78 : common_name(common_name),
83 std::string common_name; member in struct:content::WebRTCIdentityStoreBackend::Identity
92 const std::string& common_name,
90 PendingFindRequest(const GURL& origin, const std::string& identity_name, const std::string& common_name, const FindIdentityCallback& callback) argument
103 std::string common_name; member in struct:content::WebRTCIdentityStoreBackend::PendingFindRequest
189 FindIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const FindIdentityCallback& callback) argument
250 AddIdentity(const GURL& origin, const std::string& identity_name, const std::string& common_name, const std::string& certificate, const std::string& private_key) argument
[all...]
H A Dwebrtc_identity_store_unittest.cc69 const std::string& common_name,
76 common_name,
67 RequestIdentityAndRunUtilIdle(const std::string& origin, const std::string& identity_name, const std::string& common_name, bool* completed, std::string* certificate, std::string* private_key) argument
/external/chromium_org/net/tools/quic/test_tools/
H A Dquic_test_client.cc73 const string& common_name() const { return common_name_; } function in class:net::tools::test::__anon9776::RecordingProofVerifier
359 ->common_name();

Completed in 319 milliseconds