Home | History | Annotate | Download | only in base

Lines Matching refs:subject

190   const CertPrincipal& subject = google_cert->subject();
191 EXPECT_EQ("www.google.com", subject.common_name);
192 EXPECT_EQ("Mountain View", subject.locality_name);
193 EXPECT_EQ("California", subject.state_or_province_name);
194 EXPECT_EQ("US", subject.country_name);
195 EXPECT_EQ(0U, subject.street_addresses.size());
196 ASSERT_EQ(1U, subject.organization_names.size());
197 EXPECT_EQ("Google Inc", subject.organization_names[0]);
198 EXPECT_EQ(0U, subject.organization_unit_names.size());
199 EXPECT_EQ(0U, subject.domain_components.size());
254 const CertPrincipal& subject = webkit_cert->subject();
255 EXPECT_EQ("Cupertino", subject.locality_name);
256 EXPECT_EQ("California", subject.state_or_province_name);
257 EXPECT_EQ("US", subject.country_name);
258 EXPECT_EQ(0U, subject.street_addresses.size());
259 ASSERT_EQ(1U, subject.organization_names.size());
260 EXPECT_EQ("Apple Inc.", subject.organization_names[0]);
261 ASSERT_EQ(1U, subject.organization_unit_names.size());
262 EXPECT_EQ("Mac OS Forge", subject.organization_unit_names[0]);
263 EXPECT_EQ(0U, subject.domain_components.size());
317 const CertPrincipal& subject = thawte_cert->subject();
318 EXPECT_EQ("www.thawte.com", subject.common_name);
319 EXPECT_EQ("Mountain View", subject.locality_name);
320 EXPECT_EQ("California", subject.state_or_province_name);
321 EXPECT_EQ("US", subject.country_name);
322 EXPECT_EQ(0U, subject.street_addresses.size());
323 ASSERT_EQ(1U, subject.organization_names.size());
324 EXPECT_EQ("Thawte Inc", subject.organization_names[0]);
325 EXPECT_EQ(0U, subject.organization_unit_names.size());
326 EXPECT_EQ(0U, subject.domain_components.size());
861 private_key.get(), "CN=subject", 1, base::TimeDelta::FromDays(1));
863 EXPECT_EQ("subject", cert->subject().GetDisplayName());
957 private_key.get(), "CN=subject", 1, base::TimeDelta::FromDays(1));
959 EXPECT_EQ("subject", cert->subject().GetDisplayName());
968 private_key.get(), "CN=subject", 0, base::TimeDelta::FromDays(1));