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

1234

/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_unittest.cc76 CertificateList* certs) {
82 certs->push_back(cert);
109 CertificateList certs = ListCertsInSlot(slot_->os_module_handle()); local
111 for (size_t i = 0; i < certs.size(); ++i) {
115 CERT_GetDefaultCertDB(), certs[i]->os_cert_handle(), &default_trust);
119 if (!cert_db_->DeleteCertAndKey(certs[i].get()))
131 CertificateList certs; local
132 cert_db_->ListCerts(&certs);
135 EXPECT_LT(0U, certs.size());
269 CertificateList certs local
75 ReadCertIntoList(const std::string& name, CertificateList* certs) argument
300 CertificateList certs = CreateCertificateListFromFile( local
331 CertificateList certs = CreateCertificateListFromFile( local
362 CertificateList certs = CreateCertificateListFromFile( local
383 CertificateList certs; local
410 CertificateList certs; local
448 CertificateList certs; local
469 CertificateList certs; local
492 CertificateList certs = CreateCertificateListFromFile( local
524 CertificateList certs = CreateCertificateListFromFile( local
561 CertificateList certs; local
599 CertificateList certs; local
642 CertificateList certs = CreateCertificateListFromFile( local
684 CertificateList certs = CreateCertificateListFromFile( local
736 CertificateList certs = CreateCertificateListFromFile( local
818 CertificateList certs = CreateCertificateListFromFile( local
888 CertificateList certs = CreateCertificateListFromFile( local
958 CertificateList certs = CreateCertificateListFromFile( local
1003 CertificateList certs = local
[all...]
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsignature_util_win_unittest.cc37 std::vector<scoped_refptr<net::X509Certificate> >* certs) {
39 certs->push_back(
56 std::vector<scoped_refptr<net::X509Certificate> > certs; local
57 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
58 ASSERT_EQ(2, certs.size());
59 EXPECT_EQ("Joe's-Software-Emporium", certs[0]->subject().common_name);
60 EXPECT_EQ("Root Agency", certs[1]->subject().common_name);
73 std::vector<scoped_refptr<net::X509Certificate> > certs; local
74 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
75 ASSERT_EQ(3, certs
35 ParseCertificateChain( const ClientDownloadRequest_CertificateChain& chain, std::vector<scoped_refptr<net::X509Certificate> >* certs) argument
[all...]
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_server_bound_cert_helper_unittest.cc50 const net::ServerBoundCertStore::ServerBoundCertList& certs) {
52 server_bound_cert_list_ = certs;
49 FetchCallback( const net::ServerBoundCertStore::ServerBoundCertList& certs) argument
/external/chromium_org/net/ssl/
H A Dclient_cert_store_impl_unittest.cc60 std::vector<scoped_refptr<X509Certificate> > certs; local
64 bool rv = SelectClientCerts(certs, *request.get(), &selected_certs);
76 std::vector<scoped_refptr<X509Certificate> > certs; local
77 certs.push_back(cert);
81 bool rv = SelectClientCerts(certs, *request.get(), &selected_certs);
108 std::vector<scoped_refptr<X509Certificate> > certs; local
109 certs.push_back(cert_1);
110 certs.push_back(cert_2);
115 bool rv = SelectClientCerts(certs, *request.get(), &selected_certs);
134 std::vector<scoped_refptr<X509Certificate> > certs; local
155 std::vector<scoped_refptr<X509Certificate> > certs; local
[all...]
/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/net/base/
H A Dcert_database_openssl.cc39 void CertDatabase::ListCerts(CertificateList* certs) { argument
70 int CertDatabase::ExportToPKCS12(const CertificateList& certs, argument
H A Dcert_database_nss_unittest.cc70 CertificateList certs = ListCertsInSlot(slot); local
71 for (size_t i = 0; i < certs.size(); ++i) {
72 if (!cert_db.DeleteCertAndKey(certs[i]))
85 bool ReadCertIntoList(const std::string& name, CertificateList* certs) { argument
95 certs->push_back(cert);
145 CertificateList certs; local
146 cert_db_.ListCerts(&certs);
149 EXPECT_LT(0U, certs.size());
189 CertificateList certs = local
192 ASSERT_EQ(1U, certs
221 CertificateList certs = local
252 CertificateList certs = local
283 CertificateList certs = local
304 CertificateList certs; local
330 CertificateList certs; local
367 CertificateList certs; local
387 CertificateList certs; local
409 CertificateList certs = local
440 CertificateList certs = local
470 CertificateList certs; local
[all...]
/external/chromium_org/chrome/browser/net/
H A Dsqlite_server_bound_cert_store_unittest.cc32 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs) {
38 certs->swap(certs_);
45 net::DefaultServerBoundCertStore::ServerBoundCert> > certs) {
46 certs_.swap(*certs);
86 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
87 Load(&certs);
88 ASSERT_EQ(0u, certs.size());
113 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
124 Load(&certs);
125 ASSERT_EQ(2U, certs
31 Load( ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs) argument
42 OnLoaded( base::RunLoop* run_loop, scoped_ptr<ScopedVector< net::DefaultServerBoundCertStore::ServerBoundCert> > certs) argument
204 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
275 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
360 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
452 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
[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/content/browser/loader/
H A Dresource_loader_unittest.cc29 ClientCertStoreStub(const net::CertificateList& certs) argument
30 : response_(certs),
/external/chromium_org/net/quic/crypto/
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::__anon8902::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.cc51 const vector<string>* certs;
60 false /* no ECDSA */, &certs, &signature));
63 ASSERT_EQ(first_certs, certs);
68 rv = verifier->VerifyProof(version_, hostname, server_config, *certs,
76 rv = verifier->VerifyProof(version_, "foo.com", server_config, *certs,
85 *certs, signature, &error_details,
92 rv = verifier->VerifyProof(version_, hostname, server_config, *certs,
100 for (size_t i = 1; i < certs->size(); i++) {
101 wrong_certs.push_back((*certs)[i]);
145 const vector<std::string>& certs,
141 RunVerification(QuicVersion version, ProofVerifier* verifier, const std::string& hostname, const std::string& server_config, const vector<std::string>& certs, const std::string& proof, bool expected_ok) argument
[all...]
H A Dproof_verifier_chromium.cc48 const vector<string>& certs,
69 if (certs.empty()) {
77 // Convert certs to X509Certificate.
78 vector<StringPiece> cert_pieces(certs.size());
79 for (unsigned i = 0; i < certs.size(); i++) {
80 cert_pieces[i] = base::StringPiece(certs[i]);
93 if (!VerifySignature(version, server_config, signature, certs[0])) {
44 VerifyProof( QuicVersion version, const string& hostname, const string& server_config, const vector<string>& certs, const string& signature, std::string* error_details, scoped_ptr<ProofVerifyDetails>* details, ProofVerifierCallback* callback) argument
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactory_ImplTest.java348 private void verifyCertificates(Collection certs) throws Exception { argument
351 for (Iterator it = certs.iterator(); it.hasNext();) {
545 Collection certs =
547 assertNotNull("Factory returned null on correct data", certs);
549 expected_size, certs.size());
550 verifyCertificates(certs);
577 Collection certs = factory.generateCertificates(bais);
578 assertNotNull("Factory returned null on correct PKCS7 data", certs);
580 2, certs.size());
583 for (Iterator it = certs
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DSignedData.java91 ASN1Set certs,
100 if (certs != null)
102 for (Enumeration en = certs.getObjects(); en.hasMoreElements();)
89 calculateVersion( ASN1ObjectIdentifier contentOid, ASN1Set certs, ASN1Set crls, ASN1Set signerInfs) argument
/external/chromium/net/socket/
H A Dssl_host_info.h69 // certs is a vector of DER encoded X.509 certificates, as the server
71 std::vector<std::string> certs; member in struct:net::SSLHostInfo::State
87 // |state().certs| is still being validated and arranges for the given
/external/chromium_org/chrome/browser/chromeos/login/
H A Dprofile_auth_data.cc44 const net::ServerBoundCertStore::ServerBoundCertList& certs);
102 // If both cookies and server bound certs have been retrieved, see if we need to
181 const net::ServerBoundCertStore::ServerBoundCertList& certs) {
183 certs_to_transfer_ = certs;
188 // Retrieves server bound certs of |from_context_|.
180 OnGetServerBoundCertsToTransfer( const net::ServerBoundCertStore::ServerBoundCertList& certs) argument
/external/chromium_org/net/third_party/nss/ssl/
H A Dsslauth.c32 SSL_PeerCertificateChain(PRFileDesc *fd, CERTCertificate **certs, argument
54 certs[0] = CERT_DupCertificate(ss->sec.peerCert);
58 certs[*numCerts] = CERT_DupCertificate(cur->cert);
/external/chromium_org/third_party/openssl/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
H A Docsp_vfy.c63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, argument
82 ret = ocsp_find_signer(&signer, bs, certs, st, flags);
111 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs);
166 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, argument
171 if ((signer = ocsp_find_signer_sk(certs, rid)))
177 (signer = ocsp_find_signer_sk(bs->certs, rid)))
189 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPI
363 OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags) argument
432 ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs, X509_STORE *st, unsigned long flags) argument
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/
H A Dpk7_smime.c68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, argument
94 for(i = 0; i < sk_X509_num(certs); i++)
96 if (!PKCS7_add_certificate(p7, sk_X509_value(certs, i)))
266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, argument
314 signers = PKCS7_get0_signers(p7, certs, flags);
430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags)
469 if (certs) signer = X509_find_by_issuer_and_serial (certs,
492 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher,
511 for(i = 0; i < sk_X509_num(certs);
[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="/4.4_r1/s ...
/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 284 milliseconds

1234