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

12

/external/chromium/third_party/libjingle/source/talk/base/
H A Dsslidentity.cc62 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
63 return OpenSSLIdentity::Generate(common_name);
H A Dopensslidentity.cc89 static X509* MakeCertificate(EVP_PKEY* pkey, const char* common_name) { argument
90 LOG(LS_INFO) << "Making certificate for " << common_name;
117 // arbitrary common_name. Note that this certificate goes out in
122 (unsigned char*)common_name, -1, -1, 0) ||
191 OpenSSLKeyPair* key_pair, const std::string& common_name) {
192 std::string actual_common_name = common_name;
251 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name) { argument
255 OpenSSLCertificate::Generate(key_pair, common_name);
190 Generate( OpenSSLKeyPair* key_pair, const std::string& common_name) argument
/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/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/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.cc228 cert->subject().common_name,
475 const std::string& common_name,
524 dns_names.push_back(common_name);
473 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.cc41 const std::string& common_name,
70 // Because |common_name| only contains a common name and starts with 'CN=',
75 if (common_name.size() < kCommonNamePrefixLen ||
76 strncmp(common_name.c_str(), kCommonNamePrefix, kCommonNamePrefixLen)) {
80 if (common_name.size() > INT_MAX) {
85 reinterpret_cast<unsigned char*>(const_cast<char*>(common_name.data())) +
88 static_cast<int>(common_name.size() - kCommonNamePrefixLen);
98 LOG(ERROR) << "Can't parse common name: " << common_name.c_str();
272 const std::string& common_name,
281 common_name,
39 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
270 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.cc244 wchar_t* common_name = local
247 if (common_name[k] == L'\0')
255 int* common_name = local
258 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);
415 EXPECT_EQ("127.0.0.1", san_cert->subject().common_name);
929 const char* common_name; member in struct:net::CertificateNameVerifyTestData
943 ASSERT_TRUE(data.hostname && data.common_name);
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
H A Dfakedtlsidentityservice.h70 Request(const std::string& common_name, argument
72 : common_name(common_name), observer(observer) {}
74 std::string common_name; member in struct:FakeIdentityService::Request
87 const std::string& common_name,
89 MessageData* msg = new MessageData(Request(common_name, observer));
112 GenerateIdentity(message_data->data().common_name, &cert, &key);
124 const std::string& common_name,
86 RequestIdentity(const std::string& identity_name, const std::string& common_name, DTLSIdentityRequestObserver* observer) argument
123 GenerateIdentity( const std::string& common_name, std::string* der_cert, std::string* der_key) argument
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dsslidentity.cc114 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
129 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
130 return OpenSSLIdentity::Generate(common_name);
144 SSLIdentity* SSLIdentity::Generate(const std::string& common_name) { argument
145 return NSSIdentity::Generate(common_name);
H A Dnssidentity.cc302 NSSIdentity *NSSIdentity::Generate(const std::string &common_name) { argument
303 std::string subject_name_string = "CN=" + common_name;
H A Dopensslidentity.cc99 static X509* MakeCertificate(EVP_PKEY* pkey, const char* common_name) { argument
100 LOG(LS_INFO) << "Making certificate for " << common_name;
127 // arbitrary common_name. Note that this certificate goes out in
132 (unsigned char*)common_name, -1, -1, 0) ||
202 OpenSSLKeyPair* key_pair, const std::string& common_name) {
203 std::string actual_common_name = common_name;
323 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name) { argument
327 OpenSSLCertificate::Generate(key_pair, common_name);
201 Generate( OpenSSLKeyPair* key_pair, const std::string& common_name) argument
/external/chromium/net/base/
H A Dx509_cert_types.h74 std::string common_name; member in struct:net::CertPrincipal
H A Dx509_certificate_win.cc264 wchar_t* common_name = local
267 if (common_name[k] == L'\0')
275 int* common_name = local
278 if (common_name[k] == 0)
411 &principal->common_name, &principal->locality_name,
633 dns_names->push_back(subject_.common_name);
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dnetworking_private_crypto.cc122 char* common_name = CERT_GetCommonName(&cert->subject); local
123 if (!common_name) {
128 std::string subject_name(common_name);
129 PORT_Free(common_name);
/external/chromium_org/chromeos/network/
H A Dcertificate_pattern.cc54 IssuerSubjectPattern::IssuerSubjectPattern(const std::string& common_name, argument
58 : common_name_(common_name),
H A Dcertificate_pattern.h24 IssuerSubjectPattern(const std::string& common_name,
45 const std::string& common_name() const { function in class:chromeos::IssuerSubjectPattern
/external/chromium_org/content/browser/media/
H A Dwebrtc_identity_store_unittest.cc67 const std::string& common_name,
74 common_name,
65 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
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.cc29 db->DoesColumnExist(kWebRTCIdentityStoreDBName, "common_name") &&
43 "common_name TEXT NOT NULL,"
63 Identity(const std::string& common_name, argument
66 : common_name(common_name),
71 Identity(const std::string& common_name, argument
75 : common_name(common_name),
80 std::string common_name; member in struct:content::WebRTCIdentityStoreBackend::Identity
89 const std::string& common_name,
87 PendingFindRequest(const GURL& origin, const std::string& identity_name, const std::string& common_name, const FindIdentityCallback& callback) argument
100 std::string common_name; member in struct:content::WebRTCIdentityStoreBackend::PendingFindRequest
185 FindIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const FindIdentityCallback& callback) argument
246 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...]
/external/chromium_org/net/tools/quic/test_tools/
H A Dquic_test_client.cc63 const string& common_name() const { return common_name_; } function in class:__anon9880::RecordingProofVerifier
278 ->common_name();

Completed in 414 milliseconds

12