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

/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.cc32 const std::string& common_name,
43 common_name,
30 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,
116 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.cc41 const std::string& common_name) {
60 common_name,
38 OnRequestIdentity( 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 Dx509_util_openssl.cc63 const std::string& common_name,
62 CreateSelfSignedCert(crypto::RSAPrivateKey* key, const std::string& common_name, uint32 serial_number, base::Time not_valid_before, base::Time not_valid_after, std::string* der_encoded) argument
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.cc162 EXPECT_EQ("www.google.com", subject.common_name);
173 EXPECT_EQ("Thawte SGC CA", issuer.common_name);
228 EXPECT_EQ("Go Daddy Secure Certification Authority", issuer.common_name);
272 EXPECT_EQ("www.thawte.com", subject.common_name);
283 EXPECT_EQ("thawte Extended Validation SSL CA", issuer.common_name);
324 EXPECT_EQ("Multivalue RDN Test", subject.common_name);
348 EXPECT_EQ("127.0.0.1", subject.common_name);
479 EXPECT_EQ("127.0.0.1", san_cert->subject().common_name);
926 const char* common_name; member in struct:net::CertificateNameVerifyTestData
940 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);
123 const std::string& common_name,
86 RequestIdentity(const std::string& identity_name, const std::string& common_name, DTLSIdentityRequestObserver* observer) argument
122 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.cc205 NSSIdentity *NSSIdentity::Generate(const std::string &common_name) { argument
206 std::string subject_name_string = "CN=" + common_name;
H A Dopensslidentity.cc98 static X509* MakeCertificate(EVP_PKEY* pkey, const char* common_name) { argument
99 LOG(LS_INFO) << "Making certificate for " << common_name;
126 // arbitrary common_name. Note that this certificate goes out in
131 (unsigned char*)common_name, -1, -1, 0) ||
201 OpenSSLKeyPair* key_pair, const std::string& common_name) {
202 std::string actual_common_name = common_name;
285 OpenSSLIdentity* OpenSSLIdentity::Generate(const std::string& common_name) { argument
289 OpenSSLCertificate::Generate(key_pair, common_name);
200 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/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| and returns the result in
36 static void GenerateIdentityWorker(const std::string& common_name, argument
51 "CN=" + common_name,
84 const std::string& common_name)
87 common_name_(common_name) {}
187 const std::string& common_name,
191 FindRequest(origin, identity_name, common_name);
195 request = new WebRTCIdentityRequest(origin, identity_name, common_name);
200 common_name,
296 const std::string& common_name) {
82 WebRTCIdentityRequest(const GURL& origin, const std::string& identity_name, const std::string& common_name) argument
184 RequestIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const CompletionCallback& callback) argument
293 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
177 FindIdentity( const GURL& origin, const std::string& identity_name, const std::string& common_name, const FindIdentityCallback& callback) argument
231 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.cc59 const string& common_name() const { return common_name_; } function in class:__anon9183::RecordingProofVerifier
256 ->common_name();
/external/chromium/net/socket/
H A Dssl_client_socket_nss.cc1900 char* common_name = CERT_GetCommonName(&cert->issuer); local
1901 if (common_name) {
1902 if (strcmp(common_name, "ESET_RootSslCert") == 0)
1904 if (strcmp(common_name,
1912 PORT_Free(common_name);

Completed in 267 milliseconds