Searched defs:certs (Results 1 - 25 of 81) sorted by relevance

1234

/external/chromium_org/chrome/common/net/
H A Dx509_certificate_model_unittest.cc233 // Test that explicitly distrusted CA certs are still returned as CA_CERT
254 // Test mozilla_security_manager::GetCertType with server certs and default
257 // tell server certs even if they have no trust bits set.
267 // Test GetCertType with server certs and explicit trust.
274 // Test GetCertType with server certs and explicit distrust.
295 net::CertificateList certs = local
301 for (net::CertificateList::iterator i = certs.begin(); i != certs.end(); ++i)
318 ASSERT_EQ(certs.size(), decoded_certs.size());
320 for (size_t i = 0; i < certs
[all...]
/external/chromium_org/net/cert/
H A Dx509_certificate_net_log_param.cc18 base::ListValue* certs = new base::ListValue(); local
22 certs->Append(new base::StringValue(encoded_chain[i]));
23 dict->Set("certificates", certs);
H A Dx509_util_unittest.cc21 CertificateList certs; local
26 certs.push_back(scoped_refptr<X509Certificate>(NULL));
27 certs.push_back(new X509Certificate(
30 certs.push_back(new X509Certificate(
33 certs.push_back(new X509Certificate(
36 certs.push_back(scoped_refptr<X509Certificate>(NULL));
37 certs.push_back(new X509Certificate(
41 std::sort(certs.begin(), certs.end(), ClientCertSorter());
43 ASSERT_TRUE(certs[
[all...]
H A Dnss_cert_database_chromeos.cc40 void NSSCertDatabaseChromeOS::ListCertsSync(CertificateList* certs) { argument
41 ListCertsImpl(profile_filter_, certs);
45 const base::Callback<void(scoped_ptr<CertificateList> certs)>& callback) {
46 scoped_ptr<CertificateList> certs(new CertificateList());
48 // base::Pased will NULL out |certs|, so cache the underlying pointer here.
49 CertificateList* raw_certs = certs.get();
55 base::Bind(callback, base::Passed(&certs)));
82 CertificateList* certs) {
83 NSSCertDatabase::ListCertsImpl(crypto::ScopedPK11Slot(), certs); local
85 size_t pre_size = certs
80 ListCertsImpl( const NSSProfileFilterChromeOS& profile_filter, CertificateList* certs) argument
[all...]
H A Dnss_cert_database_chromeos_unittest.cc142 // Load test certs from disk.
171 // Check that the imported certs only shows up in the list for the user that
189 // Tests that the new certs are loaded by async ListCerts method.
212 // Load test certs from disk.
239 // Check that the imported certs only shows up in the list for the user that
254 // Tests that the new certs are loaded by async ListCerts method.
299 CertificateList certs; local
300 db_1_->ListCertsSync(&certs);
301 EXPECT_TRUE(IsCertInCertificateList(cert_1.get(), certs));
302 EXPECT_TRUE(IsCertInCertificateList(cert_2.get(), certs));
317 CertificateList certs; local
[all...]
H A Dnss_cert_database_unittest.cc91 CertificateList* certs) {
97 certs->push_back(cert);
126 CertificateList certs; local
127 cert_db_->ListCertsSync(&certs);
130 EXPECT_LT(0U, certs.size());
136 CertificateList certs; local
138 cert_db_->ListCerts(base::Bind(&SwapCertList, base::Unretained(&certs)));
139 EXPECT_EQ(0U, certs.size());
145 EXPECT_LT(0U, certs.size());
279 CertificateList certs local
90 ReadCertIntoList(const std::string& name, CertificateList* certs) argument
310 CertificateList certs = CreateCertificateListFromFile( local
341 CertificateList certs = CreateCertificateListFromFile( local
372 CertificateList certs = CreateCertificateListFromFile( local
393 CertificateList certs; local
420 CertificateList certs; local
458 CertificateList certs; local
479 CertificateList certs; local
502 CertificateList certs = CreateCertificateListFromFile( local
534 CertificateList certs = CreateCertificateListFromFile( local
571 CertificateList certs; local
602 CertificateList certs; local
645 CertificateList certs = CreateCertificateListFromFile( local
681 CertificateList certs = CreateCertificateListFromFile( local
733 CertificateList certs = CreateCertificateListFromFile( local
809 CertificateList certs = CreateCertificateListFromFile( local
879 CertificateList certs = CreateCertificateListFromFile( local
943 CertificateList certs = CreateCertificateListFromFile( local
988 CertificateList certs = local
[all...]
/external/chromium_org/net/ssl/
H A Dclient_cert_store_unittest-inl.h57 std::vector<scoped_refptr<X509Certificate> > certs; local
62 certs, *request.get(), &selected_certs);
74 std::vector<scoped_refptr<X509Certificate> > certs; local
75 certs.push_back(cert);
80 certs, *request.get(), &selected_certs);
107 std::vector<scoped_refptr<X509Certificate> > certs; local
108 certs.push_back(cert_1);
109 certs.push_back(cert_2);
115 certs, *request.get(), &selected_certs);
H A Dclient_cert_store_mac_unittest.cc55 std::vector<scoped_refptr<X509Certificate> > certs; local
61 cert_1, certs, *request.get(), &selected_certs);
76 std::vector<scoped_refptr<X509Certificate> > certs; local
77 certs.push_back(cert_2);
82 cert_1, certs, *request.get(), &selected_certs);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dbinary_feature_extractor_win_unittest.cc37 std::vector<scoped_refptr<net::X509Certificate> >* certs) {
39 certs->push_back(
57 std::vector<scoped_refptr<net::X509Certificate> > certs; local
58 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
59 ASSERT_EQ(2, certs.size());
60 EXPECT_EQ("Joe's-Software-Emporium", certs[0]->subject().common_name);
61 EXPECT_EQ("Root Agency", certs[1]->subject().common_name);
74 std::vector<scoped_refptr<net::X509Certificate> > certs; local
75 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
76 ASSERT_EQ(3, certs
35 ParseCertificateChain( const ClientDownloadRequest_CertificateChain& chain, std::vector<scoped_refptr<net::X509Certificate> >* certs) argument
[all...]
/external/chromium_org/net/quic/crypto/
H A Dquic_server_info.h72 std::vector<std::string> certs; // A list of certificates in leaf-first member in struct:net::QuicServerInfo::State
H A Dcommon_cert_set.cc25 // certs is an array of |num_certs| pointers to the DER encoded certificates.
26 const unsigned char* const* certs; member in struct:net::__anon9429::CertSet
82 reinterpret_cast<const char*>(kSets[i].certs[index]),
117 int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]);
H A Dproof_test.cc61 const vector<string>& certs,
74 hostname, server_config, certs, proof, verify_context.get(),
118 const vector<string>* certs; local
125 &certs, &signature));
128 ASSERT_EQ(first_certs, certs);
132 verifier.get(), hostname, server_config, *certs, signature, true);
135 verifier.get(), "foo.com", server_config, *certs, signature, false);
139 *certs, signature, false);
143 verifier.get(), hostname, server_config, *certs, corrupt_signature,
147 for (size_t i = 1; i < certs
58 RunVerification(ProofVerifier* verifier, const string& hostname, const string& server_config, const vector<string>& certs, const string& proof, bool expected_ok) argument
[all...]
/external/chromium_org/net/test/
H A Dcert_test_util.cc33 CertificateList certs = CreateCertificateListFromFile( local
35 if (certs.empty())
39 for (size_t i = 1; i < certs.size(); ++i)
40 intermediates.push_back(certs[i]->os_cert_handle());
43 certs[0]->os_cert_handle(), intermediates));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DPKIXCertPath.java66 * @param certs
69 List certs)
71 if (certs.size() < 2)
73 return certs;
76 X500Principal issuer = ((X509Certificate)certs.get(0)).getIssuerX500Principal();
79 for (int i = 1; i != certs.size(); i++)
81 X509Certificate cert = (X509Certificate)certs.get(i);
85 issuer = ((X509Certificate)certs.get(i)).getIssuerX500Principal();
96 return certs;
100 List retList = new ArrayList(certs
68 sortCerts( List certs) argument
[all...]
/external/chromium_org/chromeos/network/onc/
H A Donc_utils_unittest.cc108 CertPEMsByGUIDMap certs; local
109 certs["cert_google"] = "pem_google";
110 certs["cert_webkit"] = "pem_webkit";
131 bool success = ResolveServerCertRefsInNetworks(certs,
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dpkcs7.c119 int PKCS7_bundle_certificates(CBB *out, const STACK_OF(X509) *certs) { argument
141 for (i = 0; i < sk_X509_num(certs); i++) {
142 X509 *x509 = sk_X509_value(certs, i);
/external/chromium_org/third_party/webrtc/base/
H A Dfakesslidentity.h28 explicit FakeSSLCertificate(const std::vector<std::string>& certs) argument
29 : data_(certs.front()), digest_algorithm_(DIGEST_SHA_1) {
31 // Skip certs[0].
32 for (it = certs.begin() + 1; it != certs.end(); ++it) {
H A Dsslidentity.h80 explicit SSLCertChain(const std::vector<SSLCertificate*>& certs) { argument
81 ASSERT(!certs.empty());
82 certs_.resize(certs.size());
83 std::transform(certs.begin(), certs.end(), certs_.begin(), DupCert);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactory_ImplTest.java353 private void verifyCertificates(Collection certs) throws Exception { argument
356 for (Iterator it = certs.iterator(); it.hasNext(); ) {
554 Collection certs =
556 assertNotNull("Factory returned null on correct data", certs);
558 expected_size, certs.size());
559 verifyCertificates(certs);
586 Collection certs = factory.generateCertificates(bais);
587 assertNotNull("Factory returned null on correct PKCS7 data", certs);
589 2, certs.size());
592 for (Iterator it = certs
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DSignedData.java124 ASN1Set certs,
133 if (certs != null)
135 for (Enumeration en = certs.getObjects(); en.hasMoreElements();)
122 calculateVersion( ASN1ObjectIdentifier contentOid, ASN1Set certs, ASN1Set crls, ASN1Set signerInfs) argument
/external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys/
H A Denterprise_platform_keys_api.cc176 scoped_ptr<net::CertificateList> certs,
185 for (net::CertificateList::const_iterator it = certs->begin();
186 it != certs->end();
175 OnGotCertificates( scoped_ptr<net::CertificateList> certs, const std::string& error_message) argument
/external/chromium_org/chrome/browser/ui/
H A Dcertificate_dialogs.cc202 const net::X509Certificate::OSCertHandles& certs = local
204 cert_chain.insert(cert_chain.end(), certs.begin(), certs.end());
/external/chromium_org/chromeos/
H A Dcert_loader_unittest.cc202 net::CertificateList certs; local
203 ImportCACert("root_ca_cert.pem", primary_db_.get(), &certs);
208 IsCertInCertificateList(certs[0].get(), cert_loader_->cert_list()));
216 IsCertInCertificateList(certs[0].get(), cert_loader_->cert_list()));
226 net::CertificateList certs; local
227 ImportCACert("root_ca_cert.pem", secondary_db.get(), &certs);
232 IsCertInCertificateList(certs[0].get(), cert_loader_->cert_list()));
238 net::CertificateList certs; local
241 &certs);
248 IsCertInCertificateList(certs[
258 net::CertificateList certs; local
272 net::CertificateList certs; local
296 net::CertificateList certs; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar ... long serialVersionUID private java.security.cert.X509Certificate[] certs private String type public void " href="/5.1.0 ...
/external/openssl/crypto/ocsp/
H A Docsp_srv.c200 if (!resp->certs && !(resp->certs = sk_X509_new_null()))
203 if(!sk_X509_push(resp->certs, cert)) return 0;
210 STACK_OF(X509) *certs, unsigned long flags)
225 for (i = 0; i < sk_X509_num(certs); i++)
227 X509 *tmpcert = sk_X509_value(certs, i);
208 OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, STACK_OF(X509) *certs, unsigned long flags) argument

Completed in 564 milliseconds

1234