cert 348 android_webview/browser/aw_content_browser_client.cc ssl_info.cert.get(), cert 42 android_webview/browser/aw_contents_client_bridge_base.h net::X509Certificate* cert, cert 48 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java final SslCertificate cert = SslUtil.getCertificateFromDerBytes(derBytes); cert 49 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java if (cert == null) { cert 53 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java final SslError sslError = SslUtil.sslErrorFromNetErrorCode(certError, cert, url); cert 16 android_webview/java/src/org/chromium/android_webview/SslUtil.java import java.security.cert.CertificateException; cert 17 android_webview/java/src/org/chromium/android_webview/SslUtil.java import java.security.cert.X509Certificate; cert 25 android_webview/java/src/org/chromium/android_webview/SslUtil.java public static SslError sslErrorFromNetErrorCode(int error, SslCertificate cert, String url) { cert 29 android_webview/java/src/org/chromium/android_webview/SslUtil.java return new SslError(SslError.SSL_IDMISMATCH, cert, url); cert 31 android_webview/java/src/org/chromium/android_webview/SslUtil.java return new SslError(SslError.SSL_DATE_INVALID, cert, url); cert 33 android_webview/java/src/org/chromium/android_webview/SslUtil.java return new SslError(SslError.SSL_UNTRUSTED, cert, url); cert 38 android_webview/java/src/org/chromium/android_webview/SslUtil.java return new SslError(SslError.SSL_INVALID, cert, url); cert 704 android_webview/native/aw_contents.cc scoped_refptr<net::X509Certificate> cert; cert 705 android_webview/native/aw_contents.cc bool ok = content::CertStore::GetInstance()->RetrieveCert(cert_id, &cert); cert 711 android_webview/native/aw_contents.cc net::X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_string); cert 47 android_webview/native/aw_contents_client_bridge.cc net::X509Certificate* cert, cert 60 android_webview/native/aw_contents_client_bridge.cc net::X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_string); cert 38 android_webview/native/aw_contents_client_bridge.h net::X509Certificate* cert, cert 26 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import java.security.cert.Certificate; cert 27 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import java.security.cert.CertificateException; cert 28 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import java.security.cert.CertificateFactory; cert 29 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import java.security.cert.X509Certificate; cert 109 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java Certificate cert = mCertificateFactory.generateCertificate( cert 111 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java addCertificateDetails(cert, getDigest(derData, "SHA-256"), getDigest(derData, "SHA-1")); cert 117 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java private void addCertificateDetails(Certificate cert, byte[] sha256Digest, byte[] sha1Digest) { cert 122 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java X509Certificate x509 = (X509Certificate) cert; cert 11 chrome/android/java/src/org/chromium/chrome/browser/PKCS11AuthenticationManager.java import java.security.cert.X509Certificate; cert 23 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import java.security.cert.CertificateEncodingException; cert 24 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java import java.security.cert.X509Certificate; cert 12 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellPKCS11AuthenticationManager.java import java.security.cert.X509Certificate; cert 73 chrome/app/signature_validator_win_unittest.cc PCCERT_CONTEXT cert = CertCreateCertificateContext(X509_ASN_ENCODING, cert 77 chrome/app/signature_validator_win_unittest.cc CRYPT_BIT_BLOB blob = cert->pCertInfo->SubjectPublicKeyInfo.PublicKey; cert 497 chrome/browser/browsing_data/cookies_tree_model.cc net::ServerBoundCertStore::ServerBoundCertList::iterator cert) cert 498 chrome/browser/browsing_data/cookies_tree_model.cc : CookieTreeNode(base::ASCIIToUTF16(cert->server_identifier())), cert 499 chrome/browser/browsing_data/cookies_tree_model.cc server_bound_cert_(cert) { cert 541 chrome/browser/browsing_data/cookies_tree_model.h net::ServerBoundCertStore::ServerBoundCertList::iterator cert); cert 107 chrome/browser/certificate_manager_model.cc net::X509Certificate* cert = i->get(); cert 109 chrome/browser/certificate_manager_model.cc x509_certificate_model::GetType(cert->os_cert_handle()); cert 114 chrome/browser/certificate_manager_model.cc if (!cert->subject().organization_names.empty()) cert 115 chrome/browser/certificate_manager_model.cc org = cert->subject().organization_names[0]; cert 117 chrome/browser/certificate_manager_model.cc org = cert->subject().GetDisplayName(); cert 119 chrome/browser/certificate_manager_model.cc (*map)[org].push_back(cert); cert 124 chrome/browser/certificate_manager_model.cc const net::X509Certificate& cert, cert 130 chrome/browser/certificate_manager_model.cc x509_certificate_model::GetCertNameOrNickname(cert.os_cert_handle())); cert 133 chrome/browser/certificate_manager_model.cc if (IsHardwareBacked(&cert)) { cert 142 chrome/browser/certificate_manager_model.cc x509_certificate_model::GetTokenName(cert.os_cert_handle())); cert 146 chrome/browser/certificate_manager_model.cc cert.os_cert_handle(), std::string())); cert 149 chrome/browser/certificate_manager_model.cc if (!cert.valid_expiry().is_null()) cert 150 chrome/browser/certificate_manager_model.cc rv = base::TimeFormatShortDateNumeric(cert.valid_expiry()); cert 191 chrome/browser/certificate_manager_model.cc const net::X509Certificate* cert, cert 194 chrome/browser/certificate_manager_model.cc return cert_db_->SetCertTrust(cert, type, trust_bits); cert 197 chrome/browser/certificate_manager_model.cc bool CertificateManagerModel::Delete(net::X509Certificate* cert) { cert 198 chrome/browser/certificate_manager_model.cc bool result = cert_db_->DeleteCertAndKey(cert); cert 205 chrome/browser/certificate_manager_model.cc const net::X509Certificate* cert) const { cert 206 chrome/browser/certificate_manager_model.cc return cert_db_->IsHardwareBacked(cert); cert 76 chrome/browser/certificate_manager_model.h base::string16 GetColumnText(const net::X509Certificate& cert, Column column) const; cert 115 chrome/browser/certificate_manager_model.h bool SetCertTrust(const net::X509Certificate* cert, cert 121 chrome/browser/certificate_manager_model.h bool Delete(net::X509Certificate* cert); cert 124 chrome/browser/certificate_manager_model.h bool IsHardwareBacked(const net::X509Certificate* cert) const; cert 13 chrome/browser/certificate_viewer.cc scoped_refptr<net::X509Certificate> cert; cert 14 chrome/browser/certificate_viewer.cc content::CertStore::GetInstance()->RetrieveCert(cert_id, &cert); cert 15 chrome/browser/certificate_viewer.cc if (!cert.get()) { cert 20 chrome/browser/certificate_viewer.cc ShowCertificateViewer(web_contents, parent, cert.get()); cert 27 chrome/browser/certificate_viewer.h net::X509Certificate* cert); cert 470 chrome/browser/chrome_content_browser_client.cc bool CertMatchesFilter(const net::X509Certificate& cert, cert 482 chrome/browser/chrome_content_browser_client.cc (cert.issuer().common_name == common_name)) { cert 38 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc net::X509Certificate* cert, cert 52 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc return VerifyInternalImpl(cert, cert 67 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc CERTCertificate* cert = CERT_LIST_TAIL(current_chain)->cert; cert 70 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc if (net::TestRootCerts::GetInstance()->Contains(cert)) { cert 73 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc DVLOG(3) << cert->subjectName << " is a TestRootCert"; cert 83 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc if (net::X509Certificate::IsSameOSCert(cert, (*i)->os_cert_handle())) { cert 87 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc DVLOG(3) << cert->subjectName << " is an additional_trust_anchor"; cert 96 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc *chain_ok = args->cert_verify_proc->profile_filter_.IsCertAllowed(cert) cert 99 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc DVLOG(3) << cert->subjectName << " is " << (*chain_ok ? "ok" : "not ok"); cert 36 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h net::X509Certificate* cert, cert 79 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate* cert, cert 83 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc int error = verify_proc->Verify(cert, cert 101 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc net::X509Certificate* cert, cert 105 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc verify_proc, additional_trust_anchors, cert, root_subject_name); cert 39 chrome/browser/chromeos/options/cert_library.cc base::string16 GetDisplayString(net::X509Certificate* cert, cert 42 chrome/browser/chromeos/options/cert_library.cc if (!cert->subject().organization_names.empty()) cert 43 chrome/browser/chromeos/options/cert_library.cc org = cert->subject().organization_names[0]; cert 45 chrome/browser/chromeos/options/cert_library.cc org = cert->subject().GetDisplayName(); cert 47 chrome/browser/chromeos/options/cert_library.cc x509_certificate_model::GetIssuerCommonName(cert->os_cert_handle(), cert 50 chrome/browser/chromeos/options/cert_library.cc x509_certificate_model::GetCertNameOrNickname(cert->os_cert_handle())); cert 66 chrome/browser/chromeos/options/cert_library.cc std::string CertToPEM(const net::X509Certificate& cert) { cert 68 chrome/browser/chromeos/options/cert_library.cc if (!net::X509Certificate::GetPEMEncoded(cert.os_cert_handle(), cert 159 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); cert 161 chrome/browser/chromeos/options/cert_library.cc return GetDisplayString(cert, hardware_backed); cert 169 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); cert 170 chrome/browser/chromeos/options/cert_library.cc return x509_certificate_model::GetPkcs11Id(cert->os_cert_handle()); cert 174 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); cert 175 chrome/browser/chromeos/options/cert_library.cc return CertLoader::Get()->IsCertificateHardwareBacked(cert); cert 182 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); cert 183 chrome/browser/chromeos/options/cert_library.cc if (CertToPEM(*cert) != pem_encoded) cert 194 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate* cert = GetCertificateAt(type, index); cert 195 chrome/browser/chromeos/options/cert_library.cc net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); cert 72 chrome/browser/chromeos/policy/policy_cert_verifier.cc net::X509Certificate* cert, cert 87 chrome/browser/chromeos/policy/policy_cert_verifier.cc int error = delegate_->Verify(cert, hostname, flags, crl_set, verify_result, cert 50 chrome/browser/chromeos/policy/policy_cert_verifier.h virtual int Verify(net::X509Certificate* cert, cert 108 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc scoped_refptr<net::X509Certificate> cert = cert 113 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc cert_db_->GetCertTrust(cert.get(), type); cert 116 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc return cert; cert 96 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc ScopedCERTCertificate cert(CERT_NewTempCertificate( cert 98 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc if (!cert.get()) { cert 111 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc &cert->signatureWrap, ca_public_key.get(), NULL); cert 118 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); cert 144 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::ExtractPeerCert(std::string* cert) { cert 145 chrome/browser/extensions/api/cast_channel/cast_socket.cc DCHECK(cert); cert 148 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (!socket_->GetSSLInfo(&ssl_info) || !ssl_info.cert.get()) cert 151 chrome/browser/extensions/api/cast_channel/cast_socket.cc ssl_info.cert->os_cert_handle(), cert); cert 153 chrome/browser/extensions/api/cast_channel/cast_socket.cc VLOG_WITH_URL(1) << "Successfully extracted peer certificate: " << *cert; cert 171 chrome/browser/extensions/api/cast_channel/cast_socket.h virtual bool ExtractPeerCert(std::string* cert); cert 258 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc virtual bool ExtractPeerCert(std::string* cert) OVERRIDE { cert 260 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc cert->assign("dummy_test_cert"); cert 47 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc if (!ssl_info.cert->GetPEMEncodedChain(&pem_encoded_chain)) { cert 39 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc info.cert = net::ImportCertFromFile(net::GetTestCertsDirectory(), cert 56 chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc info.cert = net::ImportCertFromFile(net::GetTestCertsDirectory(), cert 52 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); cert 56 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); cert 88 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) cert 89 chrome/browser/net/sqlite_server_bound_cert_store.cc : op_(op), cert_(cert) {} cert 105 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert); cert 250 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_ptr<net::DefaultServerBoundCertStore::ServerBoundCert> cert( cert 257 chrome/browser/net/sqlite_server_bound_cert_store.cc cert_origins_.insert(cert->server_identifier()); cert 258 chrome/browser/net/sqlite_server_bound_cert_store.cc certs->push_back(cert.release()); cert 349 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_refptr<net::X509Certificate> cert( cert 352 chrome/browser/net/sqlite_server_bound_cert_store.cc if (cert.get()) { cert 356 chrome/browser/net/sqlite_server_bound_cert_store.cc cert->valid_expiry().ToInternalValue()); cert 366 chrome/browser/net/sqlite_server_bound_cert_store.cc update_creation_smt.BindInt64(0, cert->valid_start().ToInternalValue()); cert 435 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 436 chrome/browser/net/sqlite_server_bound_cert_store.cc BatchOperation(PendingOperation::CERT_ADD, cert); cert 440 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 441 chrome/browser/net/sqlite_server_bound_cert_store.cc BatchOperation(PendingOperation::CERT_DELETE, cert); cert 446 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 453 chrome/browser/net/sqlite_server_bound_cert_store.cc scoped_ptr<PendingOperation> po(new PendingOperation(op, cert)); cert 510 chrome/browser/net/sqlite_server_bound_cert_store.cc cert_origins_.insert(po->cert().server_identifier()); cert 512 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindString(0, po->cert().server_identifier()); cert 513 chrome/browser/net/sqlite_server_bound_cert_store.cc const std::string& private_key = po->cert().private_key(); cert 515 chrome/browser/net/sqlite_server_bound_cert_store.cc const std::string& cert = po->cert().cert(); cert 516 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindBlob(2, cert.data(), cert.size()); cert 518 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindInt64(4, po->cert().expiration_time().ToInternalValue()); cert 519 chrome/browser/net/sqlite_server_bound_cert_store.cc add_smt.BindInt64(5, po->cert().creation_time().ToInternalValue()); cert 525 chrome/browser/net/sqlite_server_bound_cert_store.cc cert_origins_.erase(po->cert().server_identifier()); cert 527 chrome/browser/net/sqlite_server_bound_cert_store.cc del_smt.BindString(0, po->cert().server_identifier()); cert 622 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 623 chrome/browser/net/sqlite_server_bound_cert_store.cc backend_->AddServerBoundCert(cert); cert 627 chrome/browser/net/sqlite_server_bound_cert_store.cc const net::DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 628 chrome/browser/net/sqlite_server_bound_cert_store.cc backend_->DeleteServerBoundCert(cert); cert 39 chrome/browser/net/sqlite_server_bound_cert_store.h const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; cert 41 chrome/browser/net/sqlite_server_bound_cert_store.h const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; cert 45 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc static void ReadTestKeyAndCert(std::string* key, std::string* cert) { cert 51 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_TRUE(base::ReadFileToString(cert_path, cert)); cert 135 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_STREQ("b", goog_cert->cert().c_str()); cert 140 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_STREQ("d", foo_cert->cert().c_str()); cert 288 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_EQ(cert_data, certs[0]->cert()); cert 294 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_STREQ("\xbb", certs[1]->cert().c_str()); cert 375 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_EQ(cert_data, certs[0]->cert()); cert 382 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_STREQ("\xbb", certs[1]->cert().c_str()); cert 468 chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc ASSERT_EQ(cert_data, certs[0]->cert()); cert 783 chrome/browser/safe_browsing/download_protection_service.cc scoped_refptr<net::X509Certificate> cert = cert 787 chrome/browser/safe_browsing/download_protection_service.cc if (!cert.get()) { cert 801 chrome/browser/safe_browsing/download_protection_service.cc *cert.get(), *issuer.get(), &whitelist_strings); cert 806 chrome/browser/safe_browsing/download_protection_service.cc << cert->subject().GetDisplayName() cert 811 chrome/browser/safe_browsing/download_protection_service.cc cert = issuer; cert 1441 chrome/browser/safe_browsing/download_protection_service_unittest.cc scoped_refptr<net::X509Certificate> cert(ReadTestCertificate("test_cn.pem")); cert 1442 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1445 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1450 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_cn_o.pem"); cert 1451 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1454 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1460 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_cn_o_ou.pem"); cert 1461 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1464 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1474 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_cn_ou.pem"); cert 1475 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1478 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1484 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_o.pem"); cert 1485 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1488 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1491 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_o_ou.pem"); cert 1492 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1495 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1501 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_ou.pem"); cert 1502 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1505 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 1508 chrome/browser/safe_browsing/download_protection_service_unittest.cc cert = ReadTestCertificate("test_c.pem"); cert 1509 chrome/browser/safe_browsing/download_protection_service_unittest.cc ASSERT_TRUE(cert.get()); cert 1512 chrome/browser/safe_browsing/download_protection_service_unittest.cc *cert.get(), *issuer_cert.get(), &whitelist_strings); cert 22 chrome/browser/ssl/ssl_add_cert_handler.cc net::X509Certificate* cert, cert 25 chrome/browser/ssl/ssl_add_cert_handler.cc : cert_(cert), cert 22 chrome/browser/ssl/ssl_add_cert_handler.h SSLAddCertHandler(net::URLRequest* request, net::X509Certificate* cert, cert 25 chrome/browser/ssl/ssl_add_cert_handler.h net::X509Certificate* cert() { return cert_.get(); } cert 25 chrome/browser/ssl/ssl_add_certificate.cc scoped_refptr<net::X509Certificate> cert; cert 27 chrome/browser/ssl/ssl_add_certificate.cc cert = net::X509Certificate::CreateFromBytes( cert 34 chrome/browser/ssl/ssl_add_certificate.cc new SSLAddCertHandler(request, cert.get(), render_process_id, render_view_id); cert 271 chrome/browser/ssl/ssl_blocking_page.cc ssl_info_.cert.get(), cert 371 chrome/browser/ssl/ssl_blocking_page.cc ASCIIToUTF16(ssl_info_.cert->subject().GetDisplayName())); cert 373 chrome/browser/ssl/ssl_blocking_page.cc ASCIIToUTF16(ssl_info_.cert->issuer().GetDisplayName())); cert 408 chrome/browser/ssl/ssl_blocking_page.cc ssl_info_.cert.get(), web_contents_->GetRenderProcessHost()->GetID()); cert 33 chrome/browser/ssl/ssl_client_auth_observer.h void CertificateSelected(net::X509Certificate* cert); cert 25 chrome/browser/ssl/ssl_client_auth_requestor_mock.h MOCK_METHOD1(CertificateSelected, void(net::X509Certificate* cert)); cert 33 chrome/browser/ssl/ssl_error_info.cc net::X509Certificate* cert, cert 48 chrome/browser/ssl/ssl_error_info.cc cert->GetDNSNames(&dns_names); cert 52 chrome/browser/ssl/ssl_error_info.cc if (dns_names[i] == cert->subject().common_name) cert 70 chrome/browser/ssl/ssl_error_info.cc net::EscapeForHTML(UTF8ToUTF16(cert->subject().common_name)), cert 77 chrome/browser/ssl/ssl_error_info.cc if (cert->HasExpired()) { cert 311 chrome/browser/ssl/ssl_error_info.cc scoped_refptr<net::X509Certificate> cert = NULL; cert 316 chrome/browser/ssl/ssl_error_info.cc if (!cert.get()) { cert 318 chrome/browser/ssl/ssl_error_info.cc cert_id, &cert); cert 323 chrome/browser/ssl/ssl_error_info.cc SSLErrorInfo::CreateError(kErrorTypes[i], cert.get(), url)); cert 48 chrome/browser/ssl/ssl_error_info.h net::X509Certificate* cert, cert 52 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert); cert 56 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert); cert 77 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) { cert 80 chrome/browser/ssl/ssl_tab_helper.cc new SSLCertResultInfoBarDelegate(message, cert)))); cert 88 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) cert 91 chrome/browser/ssl/ssl_tab_helper.cc cert_(cert) { cert 139 chrome/browser/ssl/ssl_tab_helper.cc void ShowInfoBar(const base::string16& message, net::X509Certificate* cert); cert 168 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert) { cert 170 chrome/browser/ssl/ssl_tab_helper.cc message, cert); cert 234 chrome/browser/ssl/ssl_tab_helper.cc net::X509Certificate* cert = handler->cert(); cert 239 chrome/browser/ssl/ssl_tab_helper.cc cert->issuer().GetDisplayName())), cert 240 chrome/browser/ssl/ssl_tab_helper.cc cert); cert 19 chrome/browser/ui/android/certificate_viewer_android.cc net::X509Certificate* cert) { cert 40 chrome/browser/ui/android/website_settings_popup_android.cc scoped_refptr<net::X509Certificate> cert; cert 41 chrome/browser/ui/android/website_settings_popup_android.cc bool ok = CertStore::GetInstance()->RetrieveCert(cert_id, &cert); cert 46 chrome/browser/ui/android/website_settings_popup_android.cc cert->GetIntermediateCertificates(); cert 49 chrome/browser/ui/android/website_settings_popup_android.cc if (cert_handles.empty() || cert_handles[0] != cert->os_cert_handle()) cert 50 chrome/browser/ui/android/website_settings_popup_android.cc cert_handles.insert(cert_handles.begin(), cert->os_cert_handle()); cert 50 chrome/browser/ui/certificate_dialogs.cc std::string GetBase64String(net::X509Certificate::OSCertHandle cert) { cert 52 chrome/browser/ui/certificate_dialogs.cc base::Base64Encode(x509_certificate_model::GetDerString(cert), &base64); cert 64 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert); cert 80 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert) cert 83 chrome/browser/ui/certificate_dialogs.cc x509_certificate_model::GetCertChainFromCert(cert, &cert_chain_list_); cert 88 chrome/browser/ui/certificate_dialogs.cc std::string cert_title = x509_certificate_model::GetTitle(cert); cert 179 chrome/browser/ui/certificate_dialogs.cc net::X509Certificate::OSCertHandle cert) { cert 180 chrome/browser/ui/certificate_dialogs.cc new Exporter(web_contents, parent, cert); cert 23 chrome/browser/ui/certificate_dialogs.h net::X509Certificate::OSCertHandle cert); cert 140 chrome/browser/ui/crypto_module_password_dialog_nss.cc void UnlockCertSlotIfNecessary(net::X509Certificate* cert, cert 147 chrome/browser/ui/crypto_module_password_dialog_nss.cc cert->os_cert_handle()->slot)); cert 37 chrome/browser/ui/crypto_module_password_dialog_nss.h void UnlockCertSlotIfNecessary(net::X509Certificate* cert, cert 94 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeStore* store, net::X509Certificate::OSCertHandle cert); cert 98 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert); cert 195 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert = cert_chain_list_.front(); cert 209 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::GetUsageStrings(cert, &usages); cert 236 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text))); cert 240 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text)); cert 244 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text)); cert 248 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text)); cert 258 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text))); cert 262 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text)); cert 266 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, alternative_text)); cert 272 chrome/browser/ui/gtk/certificate_viewer_gtk.cc if (x509_certificate_model::GetTimes(cert, &issued, &expires)) { cert 296 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::HashCertSHA256(cert)); cert 299 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::HashCertSHA1(cert)); cert 334 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeStore* store, net::X509Certificate::OSCertHandle cert) { cert 339 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FIELDS_NAME, x509_certificate_model::GetTitle(cert).c_str(), cert 353 chrome/browser/ui/gtk/certificate_viewer_gtk.cc std::string version = x509_certificate_model::GetVersion(cert); cert 373 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, cert 383 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::ProcessSecAlgorithmSignature(cert).c_str(), cert 391 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FIELDS_VALUE, x509_certificate_model::GetIssuerName(cert).c_str(), cert 405 chrome/browser/ui/gtk/certificate_viewer_gtk.cc if (x509_certificate_model::GetTimes(cert, &issued, &expires)) { cert 429 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FIELDS_VALUE, x509_certificate_model::GetSubjectName(cert).c_str(), cert 447 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::ProcessSecAlgorithmSubjectPublicKey(cert).c_str(), cert 456 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::ProcessSubjectPublicKeyInfo(cert).c_str(), cert 463 chrome/browser/ui/gtk/certificate_viewer_gtk.cc cert, &extensions); cert 492 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::ProcessSecAlgorithmSignatureWrap(cert).c_str(), cert 501 chrome/browser/ui/gtk/certificate_viewer_gtk.cc x509_certificate_model::ProcessRawBitsSignatureWrap(cert).c_str(), cert 519 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FIELDS_VALUE, x509_certificate_model::HashCertSHA256(cert).c_str(), cert 527 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FIELDS_VALUE, x509_certificate_model::HashCertSHA1(cert).c_str(), cert 533 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate::OSCertHandle cert) { cert 536 chrome/browser/ui/gtk/certificate_viewer_gtk.cc FillTreeStoreWithCertFields(fields_store, cert); cert 725 chrome/browser/ui/gtk/certificate_viewer_gtk.cc net::X509Certificate* cert) { cert 726 chrome/browser/ui/gtk/certificate_viewer_gtk.cc (new CertificateViewer(parent, cert))->Show(); cert 67 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert, cert 70 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert); cert 225 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert = cert 228 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc details_strings_.push_back(FormatDetailsText(cert)); cert 232 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc FormatComboBoxText(cert, nicknames[i]).c_str()); cert 250 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert, const std::string& nickname) { cert 253 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc rv += x509_certificate_model::GetSerialNumberHexified(cert, std::string()); cert 260 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate::OSCertHandle cert) { cert 265 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetSubjectName(cert))); cert 271 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc cert, std::string()))); cert 274 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc if (x509_certificate_model::GetTimes(cert, &issued, &expires)) { cert 283 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc x509_certificate_model::GetUsageStrings(cert, &usages); cert 290 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc std::string key_usage_str = x509_certificate_model::GetKeyUsageString(cert); cert 298 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc x509_certificate_model::GetEmailAddresses(cert, &email_addresses); cert 309 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetIssuerName(cert))); cert 312 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::UTF8ToUTF16(x509_certificate_model::GetTokenName(cert))); cert 323 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); cert 324 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc CertificateSelected(cert); cert 340 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); cert 341 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc if (cert) { cert 343 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc ShowCertificateViewer(web_contents_, GTK_WINDOW(toplevel), cert); cert 361 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); cert 364 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc cert, cert 269 chrome/browser/ui/toolbar/toolbar_model_impl.cc scoped_refptr<net::X509Certificate> cert; cert 273 chrome/browser/ui/toolbar/toolbar_model_impl.cc GetNavigationController()->GetVisibleEntry()->GetSSL().cert_id, &cert); cert 274 chrome/browser/ui/toolbar/toolbar_model_impl.cc return GetEVCertName(*cert.get()); cert 279 chrome/browser/ui/toolbar/toolbar_model_impl.cc const net::X509Certificate& cert) { cert 281 chrome/browser/ui/toolbar/toolbar_model_impl.cc if (cert.subject().organization_names.empty() || cert 282 chrome/browser/ui/toolbar/toolbar_model_impl.cc cert.subject().country_name.empty()) { cert 289 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::UTF8ToUTF16(cert.subject().organization_names[0]), cert 290 chrome/browser/ui/toolbar/toolbar_model_impl.cc base::UTF8ToUTF16(cert.subject().country_name)); cert 40 chrome/browser/ui/toolbar/toolbar_model_impl.h static base::string16 GetEVCertName(const net::X509Certificate& cert); cert 25 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { cert 28 chrome/browser/ui/views/certificate_viewer_win.cc PCCERT_CONTEXT cert_list = cert->CreateOSCertChainForCert(); cert 61 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { cert 66 chrome/browser/ui/views/certificate_viewer_win.cc parent->GetHost()->GetAcceleratedWidget(), cert); cert 74 chrome/browser/ui/views/certificate_viewer_win.cc net::X509Certificate* cert) { cert 75 chrome/browser/ui/views/certificate_viewer_win.cc ShowCertificateViewerImpl(web_contents, parent, cert); cert 72 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::X509Certificate* cert = cert_request_info->client_certs[i].get(); cert 75 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::UTF8ToUTF16(cert->subject().GetDisplayName()), cert 76 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::UTF8ToUTF16(cert->issuer().GetDisplayName())); cert 216 chrome/browser/ui/views/ssl_client_certificate_selector.cc scoped_refptr<net::X509Certificate> cert = GetSelectedCert(); cert 217 chrome/browser/ui/views/ssl_client_certificate_selector.cc if (cert) { cert 224 chrome/browser/ui/views/ssl_client_certificate_selector.cc cert, cert 230 chrome/browser/ui/views/ssl_client_certificate_selector.cc cert)); cert 232 chrome/browser/ui/views/ssl_client_certificate_selector.cc Unlocked(cert); cert 266 chrome/browser/ui/views/ssl_client_certificate_selector.cc net::X509Certificate* cert = GetSelectedCert(); cert 267 chrome/browser/ui/views/ssl_client_certificate_selector.cc if (cert) cert 270 chrome/browser/ui/views/ssl_client_certificate_selector.cc cert); cert 298 chrome/browser/ui/views/ssl_client_certificate_selector.cc void SSLClientCertificateSelector::Unlocked(net::X509Certificate* cert) { cert 300 chrome/browser/ui/views/ssl_client_certificate_selector.cc CertificateSelected(cert); cert 80 chrome/browser/ui/views/ssl_client_certificate_selector.h void Unlocked(net::X509Certificate* cert); cert 306 chrome/browser/ui/website_settings/website_settings.cc scoped_refptr<net::X509Certificate> cert; cert 324 chrome/browser/ui/website_settings/website_settings.cc cert_store_->RetrieveCert(ssl.cert_id, &cert) && cert 341 chrome/browser/ui/website_settings/website_settings.cc base::string16 issuer_name(UTF8ToUTF16(cert->issuer().GetDisplayName())); cert 366 chrome/browser/ui/website_settings/website_settings.cc DCHECK(!cert->subject().organization_names.empty()); cert 367 chrome/browser/ui/website_settings/website_settings.cc organization_name_ = UTF8ToUTF16(cert->subject().organization_names[0]); cert 370 chrome/browser/ui/website_settings/website_settings.cc DCHECK(!cert->subject().locality_name.empty()); cert 371 chrome/browser/ui/website_settings/website_settings.cc DCHECK(!cert->subject().country_name.empty()); cert 373 chrome/browser/ui/website_settings/website_settings.cc if (!cert->subject().state_or_province_name.empty()) { cert 376 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().locality_name), cert 377 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().state_or_province_name), cert 378 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().country_name)); cert 382 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().locality_name), cert 383 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().country_name)); cert 385 chrome/browser/ui/website_settings/website_settings.cc DCHECK(!cert->subject().organization_names.empty()); cert 389 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->subject().organization_names[0]), cert 391 chrome/browser/ui/website_settings/website_settings.cc UTF8ToUTF16(cert->issuer().GetDisplayName()))); cert 396 chrome/browser/ui/website_settings/website_settings.cc base::string16 issuer_name(UTF8ToUTF16(cert->issuer().GetDisplayName())); cert 33 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) { cert 34 chrome/browser/ui/webui/certificate_viewer_webui.cc CertificateViewerDialog* dialog = new CertificateViewerDialog(cert); cert 42 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) cert 43 chrome/browser/ui/webui/certificate_viewer_webui.cc : cert_(cert), webui_(NULL), window_(NULL) { cert 217 chrome/browser/ui/webui/certificate_viewer_webui.cc CertificateViewerDialog::CertificateViewerDialog(net::X509Certificate* cert) cert 218 chrome/browser/ui/webui/certificate_viewer_webui.cc : CertificateViewerModalDialog(cert), cert 254 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate* cert) : cert_(cert), dialog_(dialog) { cert 290 chrome/browser/ui/webui/certificate_viewer_webui.cc net::X509Certificate::OSCertHandle cert = cert_chain_[cert_index]; cert 297 chrome/browser/ui/webui/certificate_viewer_webui.cc node_details->SetString("label", x509_certificate_model::GetTitle(cert)); cert 311 chrome/browser/ui/webui/certificate_viewer_webui.cc std::string version = x509_certificate_model::GetVersion(cert); cert 321 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::GetSerialNumberHexified(cert, cert 328 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::ProcessSecAlgorithmSignature(cert)); cert 334 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::GetIssuerName(cert)); cert 349 chrome/browser/ui/webui/certificate_viewer_webui.cc if (x509_certificate_model::GetTimes(cert, &issued, &expires)) { cert 360 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::GetSubjectName(cert)); cert 372 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::ProcessSecAlgorithmSubjectPublicKey(cert)); cert 377 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::ProcessSubjectPublicKeyInfo(cert)); cert 384 chrome/browser/ui/webui/certificate_viewer_webui.cc cert, &extensions); cert 404 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::ProcessSecAlgorithmSignatureWrap(cert)); cert 410 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::ProcessRawBitsSignatureWrap(cert)); cert 421 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::HashCertSHA256(cert)); cert 426 chrome/browser/ui/webui/certificate_viewer_webui.cc x509_certificate_model::HashCertSHA1(cert)); cert 34 chrome/browser/ui/webui/certificate_viewer_webui.h net::X509Certificate* cert); cert 81 chrome/browser/ui/webui/certificate_viewer_webui.h explicit CertificateViewerDialog(net::X509Certificate* cert); cert 106 chrome/browser/ui/webui/certificate_viewer_webui.h net::X509Certificate* cert); cert 118 chrome/browser/ui/webui/options/certificate_manager_handler.cc explicit CertEquals(const net::X509Certificate* cert) : cert_(cert) {} cert 119 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool operator()(const scoped_refptr<net::X509Certificate> cert) const { cert 120 chrome/browser/ui/webui/options/certificate_manager_handler.cc return cert_->Equals(cert.get()); cert 128 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert) { cert 130 chrome/browser/ui/webui/options/certificate_manager_handler.cc CertEquals(cert)) != web_trust_certs.end(); cert 136 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert) { cert 137 chrome/browser/ui/webui/options/certificate_manager_handler.cc CertificateViewerModalDialog* dialog = new CertificateViewerModalDialog(cert); cert 154 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string CertToId(net::X509Certificate* cert); cert 170 chrome/browser/ui/webui/options/certificate_manager_handler.cc std::string CertIdMap::CertToId(net::X509Certificate* cert) { cert 171 chrome/browser/ui/webui/options/certificate_manager_handler.cc CertMap::const_iterator iter = cert_map_.find(cert); cert 175 chrome/browser/ui/webui/options/certificate_manager_handler.cc int32 new_id = id_map_.Add(cert); cert 176 chrome/browser/ui/webui/options/certificate_manager_handler.cc cert_map_[cert] = new_id; cert 194 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = IdToCert(node_id); cert 195 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) { cert 200 chrome/browser/ui/webui/options/certificate_manager_handler.cc return cert; cert 542 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 543 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) cert 549 chrome/browser/ui/webui/options/certificate_manager_handler.cc cert); cert 553 chrome/browser/ui/webui/options/certificate_manager_handler.cc ShowCertificateViewer(web_ui()->GetWebContents(), GetParentWindow(), cert); cert 557 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 558 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) { cert 564 chrome/browser/ui/webui/options/certificate_manager_handler.cc certificate_manager_model_->cert_db()->GetCertTrust(cert, net::CA_CERT); cert 577 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 578 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool fail = !cert; cert 592 chrome/browser/ui/webui/options/certificate_manager_handler.cc cert, cert 611 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 612 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) cert 615 chrome/browser/ui/webui/options/certificate_manager_handler.cc selected_cert_list_.push_back(cert); cert 984 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 985 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) cert 988 chrome/browser/ui/webui/options/certificate_manager_handler.cc cert->os_cert_handle()); cert 992 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = cert_id_map_->CallbackArgsToCert(args); cert 993 chrome/browser/ui/webui/options/certificate_manager_handler.cc if (!cert) cert 995 chrome/browser/ui/webui/options/certificate_manager_handler.cc bool result = certificate_manager_model_->Delete(cert); cert 1077 chrome/browser/ui/webui/options/certificate_manager_handler.cc net::X509Certificate* cert = org_cert_it->get(); cert 1078 chrome/browser/ui/webui/options/certificate_manager_handler.cc cert_dict->SetString(kKeyId, cert_id_map_->CertToId(cert)); cert 1080 chrome/browser/ui/webui/options/certificate_manager_handler.cc *cert, CertificateManagerModel::COL_SUBJECT_NAME)); cert 1083 chrome/browser/ui/webui/options/certificate_manager_handler.cc certificate_manager_model_->cert_db()->IsReadOnly(cert)); cert 1086 chrome/browser/ui/webui/options/certificate_manager_handler.cc IsPolicyInstalledWithWebTrust(web_trust_certs, cert); cert 1090 chrome/browser/ui/webui/options/certificate_manager_handler.cc certificate_manager_model_->cert_db()->IsUntrusted(cert)); cert 1097 chrome/browser/ui/webui/options/certificate_manager_handler.cc !certificate_manager_model_->IsHardwareBacked(cert)); cert 98 chrome/common/extensions/api/networking_private/networking_private_crypto.cc ScopedCERTCertificate cert(CERT_NewTempCertificate( cert 100 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (!cert.get()) { cert 114 chrome/common/extensions/api/networking_private/networking_private_crypto.cc &cert->signatureWrap, ca_public_key.get(), NULL); cert 122 chrome/common/extensions/api/networking_private/networking_private_crypto.cc char* common_name = CERT_GetCommonName(&cert->subject); cert 139 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); cert 185 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $cert = $this->fetch_private_cert($request); cert 188 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $privatekeyid = openssl_get_privatekey($cert); cert 205 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $cert = $this->fetch_public_cert($request); cert 208 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $publickeyid = openssl_get_publickey($cert); cert 45 chrome/common/net/x509_certificate_model_nss.cc std::string HashCert(CERTCertificate* cert, HASH_HashType algorithm, int len) { cert 48 chrome/common/net/x509_certificate_model_nss.cc DCHECK(NULL != cert->derCert.data); cert 49 chrome/common/net/x509_certificate_model_nss.cc DCHECK_NE(0U, cert->derCert.len); cert 52 chrome/common/net/x509_certificate_model_nss.cc SECStatus rv = HASH_HashBuf(algorithm, fingerprint, cert->derCert.data, cert 53 chrome/common/net/x509_certificate_model_nss.cc cert->derCert.len); cert 316 chrome/common/net/x509_certificate_model_nss.cc cert_handles->push_back(CERT_DupCertificate(node->cert)); cert 18 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( cert 21 chrome/common/net/x509_certificate_model_unittest.cc ASSERT_TRUE(cert.get()); cert 26 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 29 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 34 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::CA_CERT, net::NSSCertDatabase::DISTRUSTED_SSL)); cert 37 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 42 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( cert 45 chrome/common/net/x509_certificate_model_unittest.cc ASSERT_TRUE(cert.get()); cert 50 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 57 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 62 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::SERVER_CERT, net::NSSCertDatabase::TRUSTED_SSL)); cert 65 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 69 chrome/common/net/x509_certificate_model_unittest.cc cert.get(), net::SERVER_CERT, net::NSSCertDatabase::DISTRUSTED_SSL)); cert 72 chrome/common/net/x509_certificate_model_unittest.cc x509_certificate_model::GetType(cert->os_cert_handle())); cert 79 chrome/common/net/x509_certificate_model_unittest.cc scoped_refptr<net::X509Certificate> cert( cert 82 chrome/common/net/x509_certificate_model_unittest.cc ASSERT_TRUE(cert.get()); cert 84 chrome/common/net/x509_certificate_model_unittest.cc EXPECT_EQ("1", x509_certificate_model::GetVersion(cert->os_cert_handle())); cert 1055 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp net::CertType GetCertType(CERTCertificate *cert) { cert 1057 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp CERT_GetCertTrust(cert, &trust); cert 1062 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (cert->nickname && (all_flags & CERTDB_USER)) cert 1064 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if ((all_flags & CERTDB_VALID_CA) || CERT_IsCACert(cert, NULL)) cert 84 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h net::CertType GetCertType(CERTCertificate *cert); cert 50 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp std::string GetCertTitle(CERTCertificate* cert) { cert 52 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp if (cert->nickname) { cert 53 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp rv = cert->nickname; cert 55 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp char* cn = CERT_GetCommonName(&cert->subject); cert 59 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp } else if (cert->subjectName) { cert 60 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp rv = cert->subjectName; cert 61 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp } else if (cert->emailAddr) { cert 62 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp rv = cert->emailAddr; cert 70 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp std::string GetCertTokenName(CERTCertificate* cert) { cert 72 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp if (cert->slot) { cert 73 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp token = PK11_GetTokenName(cert->slot); cert 51 chrome/third_party/mozilla_security_manager/nsNSSCertificate.h std::string GetCertTitle(CERTCertificate* cert); cert 54 chrome/third_party/mozilla_security_manager/nsNSSCertificate.h std::string GetCertTokenName(CERTCertificate* cert); cert 45 chrome/third_party/mozilla_security_manager/nsUsageArrayHelper.cpp void GetCertUsageStrings(CERTCertificate* cert, std::vector<std::string>* out) { cert 48 chrome/third_party/mozilla_security_manager/nsUsageArrayHelper.cpp if (CERT_VerifyCertificateNow(CERT_GetDefaultCertDB(), cert, PR_TRUE, cert 49 chrome/third_party/mozilla_security_manager/nsUsageArrayHelper.h void GetCertUsageStrings(CERTCertificate* cert, std::vector<std::string>* out); cert 108 chromeos/cert_loader.cc const net::X509Certificate* cert) const { cert 111 chromeos/cert_loader.cc return database_->IsHardwareBacked(cert); cert 128 chromeos/cert_loader.cc std::string CertLoader::GetPkcs11IdForCert(const net::X509Certificate& cert) { cert 129 chromeos/cert_loader.cc CERTCertificateStr* cert_handle = cert.os_cert_handle(); cert 186 chromeos/cert_loader.cc void CertLoader::OnCACertChanged(const net::X509Certificate* cert) { cert 192 chromeos/cert_loader.cc void CertLoader::OnCertAdded(const net::X509Certificate* cert) { cert 198 chromeos/cert_loader.cc void CertLoader::OnCertRemoved(const net::X509Certificate* cert) { cert 60 chromeos/cert_loader.h static std::string GetPkcs11IdForCert(const net::X509Certificate& cert); cert 78 chromeos/cert_loader.h bool IsCertificateHardwareBacked(const net::X509Certificate* cert) const; cert 106 chromeos/cert_loader.h virtual void OnCACertChanged(const net::X509Certificate* cert) OVERRIDE; cert 107 chromeos/cert_loader.h virtual void OnCertAdded(const net::X509Certificate* cert) OVERRIDE; cert 108 chromeos/cert_loader.h virtual void OnCertRemoved(const net::X509Certificate* cert) OVERRIDE; cert 25 chromeos/cert_loader_unittest.cc bool IsCertInCertificateList(const net::X509Certificate* cert, cert 31 chromeos/cert_loader_unittest.cc cert->os_cert_handle())) { cert 66 chromeos/network/client_cert_resolver.cc bool HasPrivateKey(const net::X509Certificate& cert) { cert 67 chromeos/network/client_cert_resolver.cc PK11SlotInfo* slot = PK11_KeyForCertExists(cert.os_cert_handle(), NULL, NULL); cert 79 chromeos/network/client_cert_resolver.cc : cert(certificate), cert 82 chromeos/network/client_cert_resolver.cc scoped_refptr<net::X509Certificate> cert; cert 88 chromeos/network/client_cert_resolver.cc return (a.cert->valid_expiry() > b.cert->valid_expiry()); cert 115 chromeos/network/client_cert_resolver.cc cert_and_issuer.cert->issuer())) { cert 120 chromeos/network/client_cert_resolver.cc cert_and_issuer.cert->subject())) { cert 146 chromeos/network/client_cert_resolver.cc const net::X509Certificate& cert = **it; cert 147 chromeos/network/client_cert_resolver.cc if (cert.valid_expiry().is_null() || cert.HasExpired() || cert 148 chromeos/network/client_cert_resolver.cc !HasPrivateKey(cert)) { cert 152 chromeos/network/client_cert_resolver.cc CERT_FindCertIssuer(cert.os_cert_handle(), PR_Now(), certUsageAnyCA)); cert 186 chromeos/network/client_cert_resolver.cc std::string pkcs11_id = CertLoader::GetPkcs11IdForCert(*cert_it->cert); cert 232 chromeos/network/client_cert_resolver_unittest.cc scoped_refptr<net::X509Certificate> cert( cert 234 chromeos/network/client_cert_resolver_unittest.cc node->cert, net::X509Certificate::OSCertHandles())); cert 235 chromeos/network/client_cert_resolver_unittest.cc test_nssdb_->DeleteCertAndKey(cert.get()); cert 35 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { cert 36 chromeos/network/client_cert_util.cc return !CertPrincipalMatches(issuer_, cert.get()->issuer()); cert 47 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { cert 48 chromeos/network/client_cert_util.cc return !CertPrincipalMatches(subject_, cert.get()->subject()); cert 58 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { cert 59 chromeos/network/client_cert_util.cc return cert_db_->CheckUserCert(cert.get()) != net::OK; cert 71 chromeos/network/client_cert_util.cc bool operator()(const scoped_refptr<net::X509Certificate>& cert) const { cert 76 chromeos/network/client_cert_util.cc cert.get()->os_cert_handle(), PR_Now(), certUsageAnyCA)); cert 33 chromeos/network/network_cert_migrator.cc std::string GetNickname(const net::X509Certificate& cert) { cert 34 chromeos/network/network_cert_migrator.cc if (!cert.os_cert_handle()->nickname) cert 36 chromeos/network/network_cert_migrator.cc std::string name = cert.os_cert_handle()->nickname; cert 106 chromeos/network/network_cert_migrator.cc scoped_refptr<net::X509Certificate> cert = cert 108 chromeos/network/network_cert_migrator.cc if (!cert) { cert 114 chromeos/network/network_cert_migrator.cc if (!net::X509Certificate::GetPEMEncoded(cert->os_cert_handle(), cert 39 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType GetCertType(net::X509Certificate::OSCertHandle cert) { cert 41 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc CERT_GetCertTrust(cert, &trust); cert 46 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc if (cert->nickname && (all_flags & CERTDB_USER)) cert 48 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc if ((all_flags & CERTDB_VALID_CA) || CERT_IsCACert(cert, NULL)) cert 56 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc net::CertType GetCertType(net::X509Certificate::OSCertHandle cert) { cert 166 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc node->cert, net::X509Certificate::OSCertHandles())); cert 81 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeCertificate(base::DictionaryValue* cert) { cert 85 chromeos/network/onc/onc_normalizer.cc cert->GetBooleanWithoutPathExpansion(::onc::kRemove, &remove); cert 86 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(cert, ::onc::certificate::kType, !remove); cert 89 chromeos/network/onc/onc_normalizer.cc cert->GetStringWithoutPathExpansion(::onc::certificate::kType, &type); cert 90 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(cert, kPKCS12, type == kClient); cert 91 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(cert, kTrustBits, type == kServer || type == kAuthority); cert 92 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(cert, kX509, type == kServer || type == kAuthority); cert 39 chromeos/network/onc/onc_normalizer.h void NormalizeCertificate(base::DictionaryValue* cert); cert 320 chromeos/network/onc/onc_utils.cc base::DictionaryValue* cert = NULL; cert 321 chromeos/network/onc/onc_utils.cc (*it)->GetAsDictionary(&cert); cert 324 chromeos/network/onc/onc_utils.cc cert->GetStringWithoutPathExpansion(certificate::kGUID, &guid); cert 326 chromeos/network/onc/onc_utils.cc cert->GetStringWithoutPathExpansion(certificate::kType, &cert_type); cert 332 chromeos/network/onc/onc_utils.cc cert->GetStringWithoutPathExpansion(certificate::kX509, &x509_data); cert 450 chromeos/network/onc/onc_utils.cc scoped_refptr<net::X509Certificate> cert = cert 452 chromeos/network/onc/onc_utils.cc LOG_IF(ERROR, !cert.get()) << "Couldn't create certificate from X509 data: " cert 454 chromeos/network/onc/onc_utils.cc return cert; cert 23 content/browser/cert_store_impl.cc int CertStoreImpl::StoreCert(net::X509Certificate* cert, int process_id) { cert 24 content/browser/cert_store_impl.cc return store_.Store(cert, process_id); cert 28 content/browser/cert_store_impl.cc scoped_refptr<net::X509Certificate>* cert) { cert 29 content/browser/cert_store_impl.cc return store_.Retrieve(cert_id, cert); cert 21 content/browser/cert_store_impl.h virtual int StoreCert(net::X509Certificate* cert, cert 24 content/browser/cert_store_impl.h scoped_refptr<net::X509Certificate>* cert) OVERRIDE; cert 276 content/browser/loader/resource_dispatcher_host_impl.cc if (request->ssl_info().cert.get()) { cert 277 content/browser/loader/resource_dispatcher_host_impl.cc return CertStore::GetInstance()->StoreCert(request->ssl_info().cert.get(), cert 511 content/browser/loader/resource_loader.cc if (request_->ssl_info().cert.get()) { cert 513 content/browser/loader/resource_loader.cc request_->ssl_info().cert.get(), info->GetChildID()); cert 627 content/browser/loader/resource_loader.cc if (ssl_info.cert.get() != NULL) { cert 628 content/browser/loader/resource_loader.cc int cert_id = CertStore::GetInstance()->StoreCert(ssl_info.cert.get(), cert 408 content/browser/media/webrtc_identity_store_backend.cc std::string cert, private_key; cert 409 content/browser/media/webrtc_identity_store_backend.cc stmt.ColumnBlobAsString(3, &cert); cert 414 content/browser/media/webrtc_identity_store_backend.cc key, Identity(common_name, cert, private_key, creation_time))); cert 559 content/browser/media/webrtc_identity_store_backend.cc const std::string& cert = po->identity.certificate; cert 560 content/browser/media/webrtc_identity_store_backend.cc add_stmt.BindBlob(3, cert.data(), cert.size()); cert 47 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc const std::string& cert, cert 49 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc callback_.Run(error, cert, key); cert 133 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc void VerifyIdentityReadyMessage(const std::string& cert, cert 142 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc EXPECT_EQ(cert, identity_in_message.b); cert 72 content/browser/renderer_host/pepper/pepper_socket_utils.cc bool GetCertificateFields(const net::X509Certificate& cert, cert 74 content/browser/renderer_host/pepper/pepper_socket_utils.cc const net::CertPrincipal& issuer = cert.issuer(); cert 88 content/browser/renderer_host/pepper/pepper_socket_utils.cc const net::CertPrincipal& subject = cert.subject(); cert 102 content/browser/renderer_host/pepper/pepper_socket_utils.cc const std::string& serial_number = cert.serial_number(); cert 107 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::FundamentalValue(cert.valid_start().ToDoubleT())); cert 109 content/browser/renderer_host/pepper/pepper_socket_utils.cc new base::FundamentalValue(cert.valid_expiry().ToDoubleT())); cert 111 content/browser/renderer_host/pepper/pepper_socket_utils.cc net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der); cert 120 content/browser/renderer_host/pepper/pepper_socket_utils.cc scoped_refptr<net::X509Certificate> cert = cert 122 content/browser/renderer_host/pepper/pepper_socket_utils.cc if (!cert.get()) cert 124 content/browser/renderer_host/pepper/pepper_socket_utils.cc return GetCertificateFields(*cert.get(), fields); cert 40 content/browser/renderer_host/pepper/pepper_socket_utils.h bool GetCertificateFields(const net::X509Certificate& cert, cert 304 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::X509Certificate& cert, cert 306 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::CertPrincipal& issuer = cert.issuer(); cert 320 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const net::CertPrincipal& subject = cert.subject(); cert 334 content/browser/renderer_host/pepper/pepper_tcp_socket.cc const std::string& serial_number = cert.serial_number(); cert 339 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::FundamentalValue(cert.valid_start().ToDoubleT())); cert 341 content/browser/renderer_host/pepper/pepper_tcp_socket.cc new base::FundamentalValue(cert.valid_expiry().ToDoubleT())); cert 343 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der); cert 354 content/browser/renderer_host/pepper/pepper_tcp_socket.cc scoped_refptr<net::X509Certificate> cert = cert 356 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (!cert.get()) cert 358 content/browser/renderer_host/pepper/pepper_tcp_socket.cc return GetCertificateFields(*cert.get(), fields); cert 380 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (ssl_info.cert.get()) cert 381 content/browser/renderer_host/pepper/pepper_tcp_socket.cc GetCertificateFields(*ssl_info.cert.get(), &certificate_fields); cert 919 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (ssl_info.cert.get()) { cert 920 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc pepper_socket_utils::GetCertificateFields(*ssl_info.cert.get(), cert 55 content/browser/ssl/ssl_client_auth_handler.cc void SSLClientAuthHandler::CertificateSelected(net::X509Certificate* cert) { cert 58 content/browser/ssl/ssl_client_auth_handler.cc VLOG(1) << this << " CertificateSelected " << cert; cert 63 content/browser/ssl/ssl_client_auth_handler.cc make_scoped_refptr(cert))); cert 100 content/browser/ssl/ssl_client_auth_handler.cc void SSLClientAuthHandler::DoCertificateSelected(net::X509Certificate* cert) { cert 101 content/browser/ssl/ssl_client_auth_handler.cc VLOG(1) << this << " DoCertificateSelected " << cert; cert 107 content/browser/ssl/ssl_client_auth_handler.cc request_->ContinueWithCertificate(cert); cert 49 content/browser/ssl/ssl_client_auth_handler.h void CertificateSelected(net::X509Certificate* cert); cert 65 content/browser/ssl/ssl_client_auth_handler.h void DoCertificateSelected(net::X509Certificate* cert); cert 41 content/browser/ssl/ssl_host_state.cc void SSLHostState::DenyCertForHost(net::X509Certificate* cert, cert 46 content/browser/ssl/ssl_host_state.cc cert_policy_for_host_[host].Deny(cert, error); cert 49 content/browser/ssl/ssl_host_state.cc void SSLHostState::AllowCertForHost(net::X509Certificate* cert, cert 54 content/browser/ssl/ssl_host_state.cc cert_policy_for_host_[host].Allow(cert, error); cert 63 content/browser/ssl/ssl_host_state.cc net::CertPolicy::Judgment SSLHostState::QueryPolicy(net::X509Certificate* cert, cert 68 content/browser/ssl/ssl_host_state.cc return cert_policy_for_host_[host].Check(cert, error); cert 48 content/browser/ssl/ssl_host_state.h void DenyCertForHost(net::X509Certificate* cert, cert 54 content/browser/ssl/ssl_host_state.h void AllowCertForHost(net::X509Certificate* cert, cert 62 content/browser/ssl/ssl_host_state.h net::CertPolicy::Judgment QueryPolicy(net::X509Certificate* cert, cert 37 content/browser/ssl/ssl_policy.cc handler->ssl_info().cert.get(), cert 164 content/browser/ssl/ssl_policy.cc backend_->AllowCertForHost(handler->ssl_info().cert.get(), cert 174 content/browser/ssl/ssl_policy.cc backend_->DenyCertForHost(handler->ssl_info().cert.get(), cert 29 content/browser/ssl/ssl_policy_backend.cc void SSLPolicyBackend::DenyCertForHost(net::X509Certificate* cert, cert 32 content/browser/ssl/ssl_policy_backend.cc ssl_host_state_->DenyCertForHost(cert, host, error); cert 35 content/browser/ssl/ssl_policy_backend.cc void SSLPolicyBackend::AllowCertForHost(net::X509Certificate* cert, cert 38 content/browser/ssl/ssl_policy_backend.cc ssl_host_state_->AllowCertForHost(cert, host, error); cert 42 content/browser/ssl/ssl_policy_backend.cc net::X509Certificate* cert, cert 45 content/browser/ssl/ssl_policy_backend.cc return ssl_host_state_->QueryPolicy(cert, host, error); cert 32 content/browser/ssl/ssl_policy_backend.h void DenyCertForHost(net::X509Certificate* cert, cert 38 content/browser/ssl/ssl_policy_backend.h void AllowCertForHost(net::X509Certificate* cert, cert 43 content/browser/ssl/ssl_policy_backend.h net::CertPolicy::Judgment QueryPolicy(net::X509Certificate* cert, cert 36 content/public/browser/cert_store.h virtual int StoreCert(net::X509Certificate* cert, cert 43 content/public/browser/cert_store.h scoped_refptr<net::X509Certificate>* cert) = 0; cert 51 content/renderer/media/webrtc_identity_service_unittest.cc void OnIdentityReady(const std::string& cert, const std::string& key) { cert 52 content/renderer/media/webrtc_identity_service_unittest.cc last_certificate_ = cert; cert 75 google_apis/gcm/engine/registration_request.h std::string cert; cert 177 google_apis/gcm/tools/mcs_probe.cc virtual int Verify(net::X509Certificate* cert, cert 51 jingle/glue/channel_socket_adapter_unittest.cc bool(talk_base::SSLCertificate** cert)); cert 10 net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java import java.security.cert.CertificateEncodingException; cert 11 net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java import java.security.cert.X509Certificate; cert 24 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java import java.security.cert.CertificateException; cert 26 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.Certificate; cert 27 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.CertificateException; cert 28 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.CertificateExpiredException; cert 29 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.CertificateFactory; cert 30 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.CertificateNotYetValidException; cert 31 net/android/java/src/org/chromium/net/X509Util.java import java.security.cert.X509Certificate; cert 236 net/android/java/src/org/chromium/net/X509Util.java Certificate cert = systemKeyStore.getCertificate(alias); cert 237 net/android/java/src/org/chromium/net/X509Util.java if (cert != null && cert instanceof X509Certificate) { cert 238 net/android/java/src/org/chromium/net/X509Util.java X509Certificate x509Cert = (X509Certificate)cert; cert 53 net/android/network_library.cc void AddTestRootCertificate(const uint8* cert, size_t len) { cert 55 net/android/network_library.cc ScopedJavaLocalRef<jbyteArray> cert_array = ToJavaByteArray(env, cert, len); cert 33 net/android/network_library.h void AddTestRootCertificate(const uint8* cert, size_t len); cert 98 net/cert/asn1_util.cc static bool SeekToSPKI(base::StringPiece* cert) { cert 115 net/cert/asn1_util.cc if (!GetElement(cert, kSEQUENCE, &certificate)) cert 119 net/cert/asn1_util.cc if (!cert->empty()) cert 147 net/cert/asn1_util.cc *cert = tbs_certificate; cert 151 net/cert/asn1_util.cc bool ExtractSPKIFromDERCert(base::StringPiece cert, cert 153 net/cert/asn1_util.cc if (!SeekToSPKI(&cert)) cert 155 net/cert/asn1_util.cc if (!ParseElement(&cert, kSEQUENCE, spki_out, NULL)) cert 188 net/cert/asn1_util.cc bool ExtractCRLURLsFromDERCert(base::StringPiece cert, cert 193 net/cert/asn1_util.cc if (!SeekToSPKI(&cert)) cert 205 net/cert/asn1_util.cc if (!GetElement(&cert, kSEQUENCE, NULL)) cert 208 net/cert/asn1_util.cc if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 1, NULL)) cert 211 net/cert/asn1_util.cc if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 2, NULL)) cert 215 net/cert/asn1_util.cc if (!GetElement(&cert, kOptional | kConstructed | kContextSpecific | 3, cert 63 net/cert/asn1_util.h NET_EXPORT_PRIVATE bool ExtractSPKIFromDERCert(base::StringPiece cert, cert 86 net/cert/asn1_util.h base::StringPiece cert, cert 27 net/cert/cert_database.cc void CertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) { cert 28 net/cert/cert_database.cc observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert)); cert 31 net/cert/cert_database.cc void CertDatabase::NotifyObserversOfCertRemoved(const X509Certificate* cert) { cert 32 net/cert/cert_database.cc observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert)); cert 36 net/cert/cert_database.cc const X509Certificate* cert) { cert 38 net/cert/cert_database.cc &Observer::OnCACertChanged, make_scoped_refptr(cert)); cert 40 net/cert/cert_database.h virtual void OnCertAdded(const X509Certificate* cert) {} cert 43 net/cert/cert_database.h virtual void OnCertRemoved(const X509Certificate* cert) {} cert 47 net/cert/cert_database.h virtual void OnCACertChanged(const X509Certificate* cert) {} cert 61 net/cert/cert_database.h int CheckUserCert(X509Certificate* cert); cert 66 net/cert/cert_database.h int AddUserCert(X509Certificate* cert); cert 109 net/cert/cert_database.h void NotifyObserversOfCertAdded(const X509Certificate* cert); cert 110 net/cert/cert_database.h void NotifyObserversOfCertRemoved(const X509Certificate* cert); cert 111 net/cert/cert_database.h void NotifyObserversOfCACertChanged(const X509Certificate* cert); cert 19 net/cert/cert_database_android.cc int CertDatabase::CheckUserCert(X509Certificate* cert) { cert 32 net/cert/cert_database_android.cc int CertDatabase::AddUserCert(X509Certificate* cert) { cert 131 net/cert/cert_database_mac.cc int CertDatabase::CheckUserCert(X509Certificate* cert) { cert 132 net/cert/cert_database_mac.cc if (!cert) cert 134 net/cert/cert_database_mac.cc if (cert->HasExpired()) cert 139 net/cert/cert_database_mac.cc OSStatus err = SecIdentityCreateWithCertificate(NULL, cert->os_cert_handle(), cert 153 net/cert/cert_database_mac.cc int CertDatabase::AddUserCert(X509Certificate* cert) { cert 157 net/cert/cert_database_mac.cc err = SecCertificateAddToKeychain(cert->os_cert_handle(), NULL); cert 161 net/cert/cert_database_mac.cc CertDatabase::NotifyObserversOfCertAdded(cert); cert 31 net/cert/cert_database_nss.cc virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE { cert 32 net/cert/cert_database_nss.cc cert_db_->NotifyObserversOfCertAdded(cert); cert 35 net/cert/cert_database_nss.cc virtual void OnCertRemoved(const X509Certificate* cert) OVERRIDE { cert 36 net/cert/cert_database_nss.cc cert_db_->NotifyObserversOfCertRemoved(cert); cert 39 net/cert/cert_database_nss.cc virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE { cert 40 net/cert/cert_database_nss.cc cert_db_->NotifyObserversOfCACertChanged(cert); cert 70 net/cert/cert_database_nss.cc CERTCertificate* cert = cert_obj->os_cert_handle(); cert 71 net/cert/cert_database_nss.cc PK11SlotInfo* slot = PK11_KeyForCertExists(cert, NULL, NULL); cert 81 net/cert/cert_database_nss.cc CERTCertificate* cert = cert_obj->os_cert_handle(); cert 83 net/cert/cert_database_nss.cc crypto::ScopedPK11Slot slot(PK11_KeyForCertExists(cert, &key, NULL)); cert 89 net/cert/cert_database_nss.cc &cert->derSubject, cert 95 net/cert/cert_database_nss.cc rv = PK11_ImportCert(slot.get(), cert, key, nickname.c_str(), PR_FALSE); cert 36 net/cert/cert_database_openssl.cc int CertDatabase::CheckUserCert(X509Certificate* cert) { cert 37 net/cert/cert_database_openssl.cc if (!cert) cert 39 net/cert/cert_database_openssl.cc if (cert->HasExpired()) cert 44 net/cert/cert_database_openssl.cc X509_PUBKEY_get(X509_get_X509_PUBKEY(cert->os_cert_handle()))); cert 52 net/cert/cert_database_openssl.cc int CertDatabase::AddUserCert(X509Certificate* cert) { cert 23 net/cert/cert_database_win.cc int CertDatabase::CheckUserCert(X509Certificate* cert) { cert 24 net/cert/cert_database_win.cc if (!cert) cert 26 net/cert/cert_database_win.cc if (cert->HasExpired()) cert 31 net/cert/cert_database_win.cc if (!CryptFindCertificateKeyProvInfo(cert->os_cert_handle(), 0, NULL)) cert 37 net/cert/cert_database_win.cc int CertDatabase::AddUserCert(X509Certificate* cert) { cert 48 net/cert/cert_database_win.cc cert->os_cert_handle(), cert 57 net/cert/cert_database_win.cc NotifyObserversOfCertAdded(cert); cert 104 net/cert/cert_verifier.h virtual int Verify(X509Certificate* cert, cert 120 net/cert/cert_verify_proc.cc bool ExaminePublicKeys(const scoped_refptr<X509Certificate>& cert, cert 135 net/cert/cert_verify_proc.cc cert->valid_start() >= kBaselineEffectiveDate && cert 136 net/cert/cert_verify_proc.cc cert->valid_expiry() >= kBaselineKeysizeEffectiveDate; cert 138 net/cert/cert_verify_proc.cc X509Certificate::GetPublicKeyInfo(cert->os_cert_handle(), &size_bits, &type); cert 147 net/cert/cert_verify_proc.cc cert->GetIntermediateCertificates(); cert 187 net/cert/cert_verify_proc.cc int CertVerifyProc::Verify(X509Certificate* cert, cert 194 net/cert/cert_verify_proc.cc verify_result->verified_cert = cert; cert 196 net/cert/cert_verify_proc.cc if (IsBlacklisted(cert)) { cert 208 net/cert/cert_verify_proc.cc int rv = VerifyInternal(cert, hostname, flags, crl_set, cert 226 net/cert/cert_verify_proc.cc cert->GetSubjectAltName(&dns_names, &ip_addrs); cert 228 net/cert/cert_verify_proc.cc cert->subject().common_name, cert 279 net/cert/cert_verify_proc.cc bool CertVerifyProc::IsBlacklisted(X509Certificate* cert) { cert 320 net/cert/cert_verify_proc.cc const std::string& serial_number = cert->serial_number(); cert 57 net/cert/cert_verify_proc.h int Verify(X509Certificate* cert, cert 79 net/cert/cert_verify_proc.h virtual int VerifyInternal(X509Certificate* cert, cert 87 net/cert/cert_verify_proc.h static bool IsBlacklisted(X509Certificate* cert); cert 93 net/cert/cert_verify_proc_android.cc bool GetChainDEREncodedBytes(X509Certificate* cert, cert 95 net/cert/cert_verify_proc_android.cc X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); cert 97 net/cert/cert_verify_proc_android.cc cert->GetIntermediateCertificates(); cert 126 net/cert/cert_verify_proc_android.cc X509Certificate* cert, cert 132 net/cert/cert_verify_proc_android.cc if (!cert->VerifyNameMatch(hostname, cert 138 net/cert/cert_verify_proc_android.cc if (!GetChainDEREncodedBytes(cert, &cert_bytes)) cert 24 net/cert/cert_verify_proc_android.h virtual int VerifyInternal(X509Certificate* cert, cert 243 net/cert/cert_verify_proc_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>( cert 247 net/cert/cert_verify_proc_mac.cc OSStatus err = SecCertificateGetData(cert, &cert_data); cert 273 net/cert/cert_verify_proc_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>( cert 277 net/cert/cert_verify_proc_mac.cc OSStatus err = SecCertificateGetData(cert, &cert_data); cert 292 net/cert/cert_verify_proc_mac.cc if (cached_cert.Init(cert) != CSSM_OK) { cert 455 net/cert/cert_verify_proc_mac.cc bool IsBadBaltimoreGTECertificate(SecCertificateRef cert) { cert 467 net/cert/cert_verify_proc_mac.cc SHA1HashValue fingerprint = X509Certificate::CalculateFingerprint(cert); cert 491 net/cert/cert_verify_proc_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>( cert 493 net/cert/cert_verify_proc_mac.cc if (cert == NULL) cert 496 net/cert/cert_verify_proc_mac.cc if (IsBadBaltimoreGTECertificate(cert)) { cert 527 net/cert/cert_verify_proc_mac.cc X509Certificate* cert, cert 543 net/cert/cert_verify_proc_mac.cc ScopedCFTypeRef<CFArrayRef> cert_array(cert->CreateOSCertChainForCert()); cert 675 net/cert/cert_verify_proc_mac.cc if (!cert->VerifyNameMatch(hostname, cert 24 net/cert/cert_verify_proc_mac.h virtual int VerifyInternal(X509Certificate* cert, cert 72 net/cert/cert_verify_proc_nss.cc if (p->value.pointer.cert) { cert 73 net/cert/cert_verify_proc_nss.cc CERT_DestroyCertificate(p->value.pointer.cert); cert 74 net/cert/cert_verify_proc_nss.cc p->value.pointer.cert = NULL; cert 166 net/cert/cert_verify_proc_nss.cc verified_cert = node->cert; cert 172 net/cert/cert_verify_proc_nss.cc if (node->cert->isRoot) { cert 179 net/cert/cert_verify_proc_nss.cc next_cert = next_node->cert; cert 186 net/cert/cert_verify_proc_nss.cc if (next_cert && SECITEM_ItemsAreEqual(&node->cert->derPublicKey, cert 191 net/cert/cert_verify_proc_nss.cc verified_chain.push_back(node->cert); cert 194 net/cert/cert_verify_proc_nss.cc SECAlgorithmID& signature = node->cert->signature; cert 242 net/cert/cert_verify_proc_nss.cc if (CERT_CompareCerts(node->cert, root)) cert 270 net/cert/cert_verify_proc_nss.cc certs.push_back(node->cert); cert 283 net/cert/cert_verify_proc_nss.cc CERTCertificate* cert = *i; cert 285 net/cert/cert_verify_proc_nss.cc base::StringPiece der(reinterpret_cast<char*>(cert->derCert.data), cert 286 net/cert/cert_verify_proc_nss.cc cert->derCert.len); cert 297 net/cert/cert_verify_proc_nss.cc reinterpret_cast<char*>(cert->serialNumber.data), cert 298 net/cert/cert_verify_proc_nss.cc cert->serialNumber.len); cert 588 net/cert/cert_verify_proc_nss.cc HashValue CertPublicKeyHashSHA1(CERTCertificate* cert) { cert 591 net/cert/cert_verify_proc_nss.cc CC_SHA1(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); cert 594 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); cert 600 net/cert/cert_verify_proc_nss.cc HashValue CertPublicKeyHashSHA256(CERTCertificate* cert) { cert 603 net/cert/cert_verify_proc_nss.cc CC_SHA256(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); cert 606 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); cert 618 net/cert/cert_verify_proc_nss.cc hashes->push_back(CertPublicKeyHashSHA1(node->cert)); cert 619 net/cert/cert_verify_proc_nss.cc hashes->push_back(CertPublicKeyHashSHA256(node->cert)); cert 678 net/cert/cert_verify_proc_nss.cc cvout[cvout_index].value.pointer.cert = NULL; cert 698 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert; cert 708 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert, cert 729 net/cert/cert_verify_proc_nss.cc CERTCertificate* cert = x509_util_ios::CreateNSSCertHandleFromOSHandle( cert 732 net/cert/cert_verify_proc_nss.cc CERTCertificate* cert = list[i]->os_cert_handle(); cert 734 net/cert/cert_verify_proc_nss.cc CERT_AddCertToListTail(result, CERT_DupCertificate(cert)); cert 750 net/cert/cert_verify_proc_nss.cc X509Certificate* cert, cert 760 net/cert/cert_verify_proc_nss.cc x509_util_ios::NSSCertChain scoped_chain(cert); cert 763 net/cert/cert_verify_proc_nss.cc CERTCertificate* cert_handle = cert->os_cert_handle(); cert 766 net/cert/cert_verify_proc_nss.cc if (!cert->VerifyNameMatch(hostname, cert 784 net/cert/cert_verify_proc_nss.cc cvout[cvout_index].value.pointer.cert = NULL; cert 820 net/cert/cert_verify_proc_nss.cc !IsKnownRoot(cvout[cvout_trust_anchor_index].value.pointer.cert)) { cert 839 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert, cert 843 net/cert/cert_verify_proc_nss.cc IsKnownRoot(cvout[cvout_trust_anchor_index].value.pointer.cert); cert 847 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert); cert 850 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert, cert 858 net/cert/cert_verify_proc_nss.cc cvout[cvout_trust_anchor_index].value.pointer.cert, cert 911 net/cert/cert_verify_proc_nss.cc X509Certificate* cert, cert 917 net/cert/cert_verify_proc_nss.cc return VerifyInternalImpl(cert, cert 28 net/cert/cert_verify_proc_nss.h int VerifyInternalImpl(X509Certificate* cert, cert 37 net/cert/cert_verify_proc_nss.h virtual int VerifyInternal(X509Certificate* cert, cert 104 net/cert/cert_verify_proc_openssl.cc X509* cert = sk_X509_value(chain, i); cert 106 net/cert/cert_verify_proc_openssl.cc verified_cert = cert; cert 108 net/cert/cert_verify_proc_openssl.cc verified_chain.push_back(cert); cert 114 net/cert/cert_verify_proc_openssl.cc int sig_alg = OBJ_obj2nid(cert->sig_alg->algorithm); cert 154 net/cert/cert_verify_proc_openssl.cc X509* cert = sk_X509_value(chain, i); cert 157 net/cert/cert_verify_proc_openssl.cc if (!X509Certificate::GetDEREncoded(cert, &der_data)) cert 187 net/cert/cert_verify_proc_openssl.cc X509Certificate* cert, cert 195 net/cert/cert_verify_proc_openssl.cc if (!cert->VerifyNameMatch(hostname, cert 209 net/cert/cert_verify_proc_openssl.cc cert->GetIntermediateCertificates(); cert 216 net/cert/cert_verify_proc_openssl.cc cert->os_cert_handle(), intermediates.get()) != 1) { cert 23 net/cert/cert_verify_proc_openssl.h virtual int VerifyInternal(X509Certificate* cert, cert 65 net/cert/cert_verify_proc_unittest.cc virtual int VerifyInternal(X509Certificate* cert, cert 78 net/cert/cert_verify_proc_unittest.cc X509Certificate* cert, cert 122 net/cert/cert_verify_proc_unittest.cc int Verify(X509Certificate* cert, cert 128 net/cert/cert_verify_proc_unittest.cc return verify_proc_->Verify(cert, hostname, flags, crl_set, cert 252 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert = cert 255 net/cert/cert_verify_proc_unittest.cc ASSERT_TRUE(cert.get()); cert 261 net/cert/cert_verify_proc_unittest.cc int error = Verify(cert.get(), cert 317 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert = cert 322 net/cert/cert_verify_proc_unittest.cc Verify(cert.get(), "127.0.0.1", 0, NULL, empty_cert_list_, &verify_result); cert 812 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 820 net/cert/cert_verify_proc_unittest.cc Verify(cert.get(), "intranet", 0, NULL, empty_cert_list_, &verify_result); cert 827 net/cert/cert_verify_proc_unittest.cc Verify(cert.get(), "intranet", 0, NULL, empty_cert_list_, &verify_result); cert 962 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 969 net/cert/cert_verify_proc_unittest.cc cert.get(), "127.0.0.1", flags, NULL, empty_cert_list_, &verify_result); cert 978 net/cert/cert_verify_proc_unittest.cc cert.get(), "127.0.0.1", flags, NULL, trust_anchors, &verify_result); cert 986 net/cert/cert_verify_proc_unittest.cc cert.get(), "127.0.0.1", flags, NULL, empty_cert_list_, &verify_result); cert 1005 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 1011 net/cert/cert_verify_proc_unittest.cc cert.get(), "127.0.0.1", flags, NULL, empty_cert_list_, &verify_result); cert 1205 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 1210 net/cert/cert_verify_proc_unittest.cc cert.get(), "127.0.0.1", flags, NULL, empty_cert_list_, &verify_result); cert 1221 net/cert/cert_verify_proc_unittest.cc error = Verify(cert.get(), cert 1236 net/cert/cert_verify_proc_unittest.cc error = Verify(cert.get(), cert 1586 net/cert/cert_verify_proc_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 1588 net/cert/cert_verify_proc_unittest.cc ScopedTestRoot scoped_root(cert.get()); cert 1591 net/cert/cert_verify_proc_unittest.cc int error = Verify(cert.get(), data.hostname, 0, NULL, empty_cert_list_, cert 185 net/cert/cert_verify_proc_win.cc bool CertSubjectCommonNameHasNull(PCCERT_CONTEXT cert) { cert 195 net/cert/cert_verify_proc_win.cc cert->pCertInfo->Subject.pbData, cert 196 net/cert/cert_verify_proc_win.cc cert->pCertInfo->Subject.cbData, cert 282 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert = element[num_elements - 1]->pCertContext; cert 284 net/cert/cert_verify_proc_win.cc SHA1HashValue hash = X509Certificate::CalculateFingerprint(cert); cert 320 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert = element[i]->pCertContext; cert 322 net/cert/cert_verify_proc_win.cc verified_cert = cert; cert 324 net/cert/cert_verify_proc_win.cc verified_chain.push_back(cert); cert 327 net/cert/cert_verify_proc_win.cc const char* algorithm = cert->pCertInfo->SignatureAlgorithm.pszObjId; cert 352 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert, cert 355 net/cert/cert_verify_proc_win.cc cert->pCertInfo->cExtension, cert 356 net/cert/cert_verify_proc_win.cc cert->pCertInfo->rgExtension); cert 410 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert = element[i]->pCertContext; cert 413 net/cert/cert_verify_proc_win.cc reinterpret_cast<const char*>(cert->pbCertEncoded), cert 414 net/cert/cert_verify_proc_win.cc cert->cbCertEncoded); cert 425 net/cert/cert_verify_proc_win.cc const CRYPT_INTEGER_BLOB* serial_blob = &cert->pCertInfo->SerialNumber; cert 470 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert = element[i]->pCertContext; cert 473 net/cert/cert_verify_proc_win.cc reinterpret_cast<const char*>(cert->pbCertEncoded), cert 474 net/cert/cert_verify_proc_win.cc cert->cbCertEncoded); cert 544 net/cert/cert_verify_proc_win.cc X509Certificate* cert, cert 550 net/cert/cert_verify_proc_win.cc PCCERT_CONTEXT cert_handle = cert->os_cert_handle(); cert 616 net/cert/cert_verify_proc_win.cc ScopedPCCERT_CONTEXT cert_list(cert->CreateOSCertChainForCert()); cert 767 net/cert/cert_verify_proc_win.cc if (!cert->VerifyNameMatch(hostname, cert 24 net/cert/cert_verify_proc_win.h virtual int VerifyInternal(X509Certificate* cert, cert 25 net/cert/ct_objects_extractor.h X509Certificate::OSCertHandle cert, cert 40 net/cert/ct_objects_extractor_nss.cc ScopedCERTCertificate cert; cert 45 net/cert/ct_objects_extractor_nss.cc cert.reset(CERT_DupCertificate(cert_handle)); cert 58 net/cert/ct_objects_extractor_nss.cc cert.reset(CERT_NewTempCertificate( cert 61 net/cert/ct_objects_extractor_nss.cc DCHECK(cert.get() != NULL); cert 142 net/cert/ct_objects_extractor_nss.cc bool GetCertOctetStringExtension(CERTCertificate* cert, cert 146 net/cert/ct_objects_extractor_nss.cc SECStatus rv = CERT_FindCertExtension(cert, oid, &extension); cert 209 net/cert/ct_objects_extractor_nss.cc bool ExtractTBSCertWithoutSCTs(CERTCertificate* cert, cert 218 net/cert/ct_objects_extractor_nss.cc temp_cert = *cert; cert 224 net/cert/ct_objects_extractor_nss.cc if (cert->extensions) { cert 225 net/cert/ct_objects_extractor_nss.cc for (CERTCertExtension** exts = cert->extensions; *exts; ++exts) { cert 428 net/cert/ct_objects_extractor_nss.cc bool ExtractEmbeddedSCTList(X509Certificate::OSCertHandle cert, cert 430 net/cert/ct_objects_extractor_nss.cc DCHECK(cert); cert 432 net/cert/ct_objects_extractor_nss.cc NSSCertWrapper leaf_cert(cert); cert 433 net/cert/ct_objects_extractor_nss.cc if (!leaf_cert.cert) cert 436 net/cert/ct_objects_extractor_nss.cc return GetCertOctetStringExtension(leaf_cert.cert.get(), cert 456 net/cert/ct_objects_extractor_nss.cc leaf_cert.cert.get(), g_ct_singleton.Get().embedded_oid(), &extension); cert 462 net/cert/ct_objects_extractor_nss.cc if (!ExtractTBSCertWithoutSCTs(leaf_cert.cert.get(), &to_be_signed)) cert 465 net/cert/ct_objects_extractor_nss.cc if (!issuer_cert.cert) { cert 474 net/cert/ct_objects_extractor_nss.cc SECKEY_ExtractPublicKey(&(issuer_cert.cert->subjectPublicKeyInfo)); cert 13 net/cert/ct_objects_extractor_openssl.cc bool ExtractEmbeddedSCTList(X509Certificate::OSCertHandle cert, cert 38 net/cert/ct_objects_extractor_unittest.cc void ExtractEmbeddedSCT(scoped_refptr<X509Certificate> cert, cert 41 net/cert/ct_objects_extractor_unittest.cc EXPECT_TRUE(ExtractEmbeddedSCTList(cert->os_cert_handle(), &sct_list)); cert 34 net/cert/ct_verifier.h virtual int Verify(X509Certificate* cert, cert 17 net/cert/mock_cert_verifier.cc Rule(X509Certificate* cert, cert 21 net/cert/mock_cert_verifier.cc : cert(cert), cert 25 net/cert/mock_cert_verifier.cc DCHECK(cert); cert 29 net/cert/mock_cert_verifier.cc scoped_refptr<X509Certificate> cert; cert 39 net/cert/mock_cert_verifier.cc int MockCertVerifier::Verify(X509Certificate* cert, cert 50 net/cert/mock_cert_verifier.cc if (!it->cert->Equals(cert)) cert 59 net/cert/mock_cert_verifier.cc verify_result->verified_cert = cert; cert 68 net/cert/mock_cert_verifier.cc void MockCertVerifier::AddResultForCert(X509Certificate* cert, cert 71 net/cert/mock_cert_verifier.cc AddResultForCertAndHost(cert, "*", verify_result, rv); cert 75 net/cert/mock_cert_verifier.cc X509Certificate* cert, cert 79 net/cert/mock_cert_verifier.cc Rule rule(cert, host_pattern, verify_result, rv); cert 28 net/cert/mock_cert_verifier.h virtual int Verify(X509Certificate* cert, cert 48 net/cert/mock_cert_verifier.h void AddResultForCert(X509Certificate* cert, cert 54 net/cert/mock_cert_verifier.h void AddResultForCertAndHost(X509Certificate* cert, cert 70 net/cert/multi_log_ct_verifier.cc X509Certificate* cert, cert 75 net/cert/multi_log_ct_verifier.cc DCHECK(cert); cert 85 net/cert/multi_log_ct_verifier.cc if (!cert->GetIntermediateCertificates().empty() && cert 87 net/cert/multi_log_ct_verifier.cc cert->os_cert_handle(), cert 93 net/cert/multi_log_ct_verifier.cc cert->os_cert_handle(), cert 94 net/cert/multi_log_ct_verifier.cc cert->GetIntermediateCertificates().front(), cert 105 net/cert/multi_log_ct_verifier.cc !cert->GetIntermediateCertificates().empty()) { cert 107 net/cert/multi_log_ct_verifier.cc cert->GetIntermediateCertificates().front(), cert->serial_number(), cert 122 net/cert/multi_log_ct_verifier.cc if (ct::GetX509LogEntry(cert->os_cert_handle(), &x509_entry)) { cert 38 net/cert/multi_log_ct_verifier.h virtual int Verify(X509Certificate* cert, cert 187 net/cert/multi_threaded_cert_verifier.cc X509Certificate* cert, cert 194 net/cert/multi_threaded_cert_verifier.cc cert_(cert), cert 413 net/cert/multi_threaded_cert_verifier.cc int MultiThreadedCertVerifier::Verify(X509Certificate* cert, cert 435 net/cert/multi_threaded_cert_verifier.cc const RequestParams key(cert->fingerprint(), cert->ca_fingerprint(), cert 459 net/cert/multi_threaded_cert_verifier.cc cert, cert 527 net/cert/multi_threaded_cert_verifier.cc X509Certificate* cert, cert 535 net/cert/multi_threaded_cert_verifier.cc const RequestParams key(cert->fingerprint(), cert->ca_fingerprint(), cert 560 net/cert/multi_threaded_cert_verifier.cc const X509Certificate* cert) { cert 57 net/cert/multi_threaded_cert_verifier.h virtual int Verify(X509Certificate* cert, cert 132 net/cert/multi_threaded_cert_verifier.h void HandleResult(X509Certificate* cert, cert 140 net/cert/multi_threaded_cert_verifier.h virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE; cert 46 net/cert/multi_threaded_cert_verifier_unittest.cc virtual int VerifyInternal(X509Certificate* cert, cert 53 net/cert/multi_threaded_cert_verifier_unittest.cc verify_result->verified_cert = cert; cert 50 net/cert/nss_cert_database.cc const scoped_refptr<X509Certificate>& cert, cert 52 net/cert/nss_cert_database.cc : certificate(cert), net_error(err) {} cert 207 net/cert/nss_cert_database.cc const X509Certificate* cert, cert 210 net/cert/nss_cert_database.cc SECStatus srv = CERT_GetCertTrust(cert->os_cert_handle(), &trust); cert 253 net/cert/nss_cert_database.cc bool NSSCertDatabase::IsUntrusted(const X509Certificate* cert) const { cert 255 net/cert/nss_cert_database.cc SECStatus rv = CERT_GetCertTrust(cert->os_cert_handle(), &nsstrust); cert 296 net/cert/nss_cert_database.cc if (CERT_CompareName(&cert->os_cert_handle()->issuer, cert 297 net/cert/nss_cert_database.cc &cert->os_cert_handle()->subject) == SECEqual) { cert 306 net/cert/nss_cert_database.cc bool NSSCertDatabase::SetCertTrust(const X509Certificate* cert, cert 309 net/cert/nss_cert_database.cc bool success = psm::SetCertTrust(cert, type, trust_bits); cert 311 net/cert/nss_cert_database.cc NotifyObserversOfCACertChanged(cert); cert 316 net/cert/nss_cert_database.cc bool NSSCertDatabase::DeleteCertAndKey(const X509Certificate* cert) { cert 321 net/cert/nss_cert_database.cc SECKEYPrivateKey *privKey = PK11_FindKeyByAnyCert(cert->os_cert_handle(), cert 325 net/cert/nss_cert_database.cc if (PK11_DeleteTokenCertAndKey(cert->os_cert_handle(), NULL)) { cert 330 net/cert/nss_cert_database.cc if (SEC_DeletePermCertificate(cert->os_cert_handle())) { cert 336 net/cert/nss_cert_database.cc NotifyObserversOfCertRemoved(cert); cert 341 net/cert/nss_cert_database.cc bool NSSCertDatabase::IsReadOnly(const X509Certificate* cert) const { cert 342 net/cert/nss_cert_database.cc PK11SlotInfo* slot = cert->os_cert_handle()->slot; cert 346 net/cert/nss_cert_database.cc bool NSSCertDatabase::IsHardwareBacked(const X509Certificate* cert) const { cert 347 net/cert/nss_cert_database.cc PK11SlotInfo* slot = cert->os_cert_handle()->slot; cert 374 net/cert/nss_cert_database.cc node->cert, X509Certificate::OSCertHandles())); cert 385 net/cert/nss_cert_database.cc void NSSCertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) { cert 386 net/cert/nss_cert_database.cc observer_list_->Notify(&Observer::OnCertAdded, make_scoped_refptr(cert)); cert 390 net/cert/nss_cert_database.cc const X509Certificate* cert) { cert 391 net/cert/nss_cert_database.cc observer_list_->Notify(&Observer::OnCertRemoved, make_scoped_refptr(cert)); cert 395 net/cert/nss_cert_database.cc const X509Certificate* cert) { cert 397 net/cert/nss_cert_database.cc &Observer::OnCACertChanged, make_scoped_refptr(cert)); cert 42 net/cert/nss_cert_database.h virtual void OnCertAdded(const X509Certificate* cert) {} cert 45 net/cert/nss_cert_database.h virtual void OnCertRemoved(const X509Certificate* cert) {} cert 50 net/cert/nss_cert_database.h virtual void OnCACertChanged(const X509Certificate* cert) {} cert 62 net/cert/nss_cert_database.h ImportCertFailure(const scoped_refptr<X509Certificate>& cert, int err); cert 186 net/cert/nss_cert_database.h TrustBits GetCertTrust(const X509Certificate* cert, CertType type) const; cert 191 net/cert/nss_cert_database.h bool IsUntrusted(const X509Certificate* cert) const; cert 195 net/cert/nss_cert_database.h bool SetCertTrust(const X509Certificate* cert, cert 202 net/cert/nss_cert_database.h bool DeleteCertAndKey(const X509Certificate* cert); cert 205 net/cert/nss_cert_database.h bool IsReadOnly(const X509Certificate* cert) const; cert 208 net/cert/nss_cert_database.h bool IsHardwareBacked(const X509Certificate* cert) const; cert 244 net/cert/nss_cert_database.h void NotifyObserversOfCertAdded(const X509Certificate* cert); cert 245 net/cert/nss_cert_database.h void NotifyObserversOfCertRemoved(const X509Certificate* cert); cert 246 net/cert/nss_cert_database.h void NotifyObserversOfCACertChanged(const X509Certificate* cert); cert 22 net/cert/nss_cert_database_chromeos_unittest.cc bool IsCertInCertificateList(const X509Certificate* cert, cert 28 net/cert/nss_cert_database_chromeos_unittest.cc cert->os_cert_handle())) cert 83 net/cert/nss_cert_database_chromeos_unittest.cc virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE { cert 84 net/cert/nss_cert_database_chromeos_unittest.cc added_.push_back(cert ? cert->os_cert_handle() : NULL); cert 87 net/cert/nss_cert_database_chromeos_unittest.cc virtual void OnCertRemoved(const X509Certificate* cert) OVERRIDE {} cert 89 net/cert/nss_cert_database_chromeos_unittest.cc virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE { cert 90 net/cert/nss_cert_database_chromeos_unittest.cc added_ca_.push_back(cert ? cert->os_cert_handle() : NULL); cert 92 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert( cert 94 net/cert/nss_cert_database_unittest.cc if (!cert.get()) cert 97 net/cert/nss_cert_database_unittest.cc certs->push_back(cert); cert 108 net/cert/nss_cert_database_unittest.cc node->cert, X509Certificate::OSCertHandles())); cert 194 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 197 net/cert/nss_cert_database_unittest.cc cert->subject().common_name); cert 241 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 244 net/cert/nss_cert_database_unittest.cc cert->subject().common_name); cert 314 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 315 net/cert/nss_cert_database_unittest.cc EXPECT_EQ("Test Root CA", cert->subject().common_name); cert 318 net/cert/nss_cert_database_unittest.cc cert_db_->GetCertTrust(cert.get(), CA_CERT)); cert 322 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->sslFlags); cert 324 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->emailFlags); cert 326 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->objectSigningFlags); cert 345 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 346 net/cert/nss_cert_database_unittest.cc EXPECT_EQ("Test Root CA", cert->subject().common_name); cert 349 net/cert/nss_cert_database_unittest.cc cert_db_->GetCertTrust(cert.get(), CA_CERT)); cert 352 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->sslFlags); cert 355 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->emailFlags); cert 357 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->objectSigningFlags); cert 376 net/cert/nss_cert_database_unittest.cc scoped_refptr<X509Certificate> cert(cert_list[0]); cert 377 net/cert/nss_cert_database_unittest.cc EXPECT_EQ("Test Root CA", cert->subject().common_name); cert 380 net/cert/nss_cert_database_unittest.cc cert_db_->GetCertTrust(cert.get(), CA_CERT)); cert 383 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->sslFlags); cert 385 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->emailFlags); cert 388 net/cert/nss_cert_database_unittest.cc cert->os_cert_handle()->trust->objectSigningFlags); cert 15 net/cert/nss_profile_filter_chromeos.cc std::string CertSlotsString(CERTCertificate* cert) { cert 18 net/cert/nss_profile_filter_chromeos.cc PK11_GetAllSlotsForCert(cert, NULL)); cert 97 net/cert/nss_profile_filter_chromeos.cc bool NSSProfileFilterChromeOS::IsCertAllowed(CERTCertificate* cert) const { cert 99 net/cert/nss_profile_filter_chromeos.cc PK11_GetAllSlotsForCert(cert, NULL)); cert 101 net/cert/nss_profile_filter_chromeos.cc DVLOG(2) << "cert no slots: " << base::StringPiece(cert->nickname); cert 111 net/cert/nss_profile_filter_chromeos.cc DVLOG(3) << "cert from " << CertSlotsString(cert) cert 112 net/cert/nss_profile_filter_chromeos.cc << " allowed: " << base::StringPiece(cert->nickname); cert 117 net/cert/nss_profile_filter_chromeos.cc DVLOG(2) << "cert from " << CertSlotsString(cert) cert 118 net/cert/nss_profile_filter_chromeos.cc << " filtered: " << base::StringPiece(cert->nickname); cert 127 net/cert/nss_profile_filter_chromeos.cc const scoped_refptr<X509Certificate>& cert) const { cert 128 net/cert/nss_profile_filter_chromeos.cc return !filter_.IsCertAllowed(cert->os_cert_handle()); cert 42 net/cert/nss_profile_filter_chromeos.h bool IsCertAllowed(CERTCertificate* cert) const; cert 48 net/cert/nss_profile_filter_chromeos.h bool operator()(const scoped_refptr<X509Certificate>& cert) const; cert 45 net/cert/nss_profile_filter_chromeos_unittest.cc node->cert, X509Certificate::OSCertHandles())); cert 28 net/cert/single_request_cert_verifier.cc int SingleRequestCertVerifier::Verify(X509Certificate* cert, cert 43 net/cert/single_request_cert_verifier.cc cert, hostname, flags, crl_set, verify_result, cert 27 net/cert/single_request_cert_verifier.h int Verify(X509Certificate* cert, cert 60 net/cert/test_root_certs.cc ScopedTestRoot::ScopedTestRoot(X509Certificate* cert) { cert 61 net/cert/test_root_certs.cc Reset(cert); cert 68 net/cert/test_root_certs.cc void ScopedTestRoot::Reset(X509Certificate* cert) { cert 71 net/cert/test_root_certs.cc if (cert) cert 72 net/cert/test_root_certs.cc TestRootCerts::GetInstance()->Add(cert); cert 73 net/cert/test_root_certs.cc cert_ = cert; cert 68 net/cert/test_root_certs.h bool Contains(CERTCertificate* cert) const; cert 84 net/cert/test_root_certs.h bool Contains(X509* cert) const; cert 131 net/cert/test_root_certs.h explicit ScopedTestRoot(X509Certificate* cert); cert 139 net/cert/test_root_certs.h void Reset(X509Certificate* cert); cert 118 net/cert/test_root_certs_nss.cc bool TestRootCerts::Contains(CERTCertificate* cert) const { cert 121 net/cert/test_root_certs_nss.cc if (X509Certificate::IsSameOSCert(cert, (*it)->certificate())) cert 45 net/cert/test_root_certs_openssl.cc bool TestRootCerts::Contains(X509* cert) const { cert 49 net/cert/test_root_certs_openssl.cc if (X509Certificate::IsSameOSCert(cert, (*it)->os_cert_handle())) cert 64 net/cert/x509_cert_types.cc X509Certificate* cert, CertStatus error) const { cert 69 net/cert/x509_cert_types.cc denied_iter = denied_.find(cert->fingerprint()); cert 74 net/cert/x509_cert_types.cc allowed_iter = allowed_.find(cert->fingerprint()); cert 87 net/cert/x509_cert_types.cc void CertPolicy::Allow(X509Certificate* cert, CertStatus error) { cert 89 net/cert/x509_cert_types.cc denied_.erase(cert->fingerprint()); cert 92 net/cert/x509_cert_types.cc allowed_[cert->fingerprint()] = error; cert 95 net/cert/x509_cert_types.cc void CertPolicy::Deny(X509Certificate* cert, CertStatus error) { cert 98 net/cert/x509_cert_types.cc allowed_iter = allowed_.find(cert->fingerprint()); cert 100 net/cert/x509_cert_types.cc allowed_.erase(cert->fingerprint()); cert 101 net/cert/x509_cert_types.cc denied_[cert->fingerprint()] |= error; cert 95 net/cert/x509_cert_types.h Judgment Check(X509Certificate* cert, CertStatus error) const; cert 98 net/cert/x509_cert_types.h void Allow(X509Certificate* cert, CertStatus error); cert 101 net/cert/x509_cert_types.h void Deny(X509Certificate* cert, CertStatus error); cert 280 net/cert/x509_certificate.cc X509Certificate* cert = NULL; cert 282 net/cert/x509_certificate.cc cert = CreateFromHandle(handle, intermediate_ca_certs); cert 289 net/cert/x509_certificate.cc return cert; cert 299 net/cert/x509_certificate.cc X509Certificate* cert = CreateFromHandle(cert_handle, OSCertHandles()); cert 301 net/cert/x509_certificate.cc return cert; cert 380 net/cert/x509_certificate.cc X509Certificate* cert = NULL; cert 382 net/cert/x509_certificate.cc cert = CreateFromHandle(cert_handle, intermediates); cert 387 net/cert/x509_certificate.cc return cert; cert 171 net/cert/x509_certificate_ios.cc OSCertHandle cert) { cert 175 net/cert/x509_certificate_ios.cc ScopedCFTypeRef<CFDataRef> cert_data(SecCertificateCopyData(cert)); cert 179 net/cert/x509_certificate_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>(item); cert 191 net/cert/x509_certificate_mac.cc if (IsValidOSCertHandle(cert)) { cert 192 net/cert/x509_certificate_mac.cc CFRetain(cert); cert 193 net/cert/x509_certificate_mac.cc output->push_back(cert); cert 358 net/cert/x509_certificate_mac.cc OSCertHandle cert) { cert 363 net/cert/x509_certificate_mac.cc OSStatus status = SecCertificateGetData(cert, &cert_data); cert 52 net/cert/x509_certificate_nss.cc X509Certificate* cert = CreateFromHandle(cert_handle, OSCertHandles()); cert 56 net/cert/x509_certificate_nss.cc cert->default_nickname_ = nickname; cert 58 net/cert/x509_certificate_nss.cc return cert; cert 213 net/cert/x509_certificate_nss.cc OSCertHandle cert) { cert 217 net/cert/x509_certificate_nss.cc DCHECK(NULL != cert->derCert.data); cert 218 net/cert/x509_certificate_nss.cc DCHECK_NE(0U, cert->derCert.len); cert 221 net/cert/x509_certificate_nss.cc cert->derCert.data, cert->derCert.len); cert 48 net/cert/x509_certificate_openssl.cc certs = pkcs7_cert.get()->d.sign->cert; cert 50 net/cert/x509_certificate_openssl.cc certs = pkcs7_cert.get()->d.signed_and_enveloped->cert; cert 74 net/cert/x509_certificate_openssl.cc void ParsePrincipal(X509Certificate::OSCertHandle cert, cert 99 net/cert/x509_certificate_openssl.cc void ParseSubjectAltName(X509Certificate::OSCertHandle cert, cert 103 net/cert/x509_certificate_openssl.cc int index = X509_get_ext_by_NID(cert, NID_subject_alt_name, -1); cert 104 net/cert/x509_certificate_openssl.cc X509_EXTENSION* alt_name_ext = X509_get_ext(cert, index); cert 191 net/cert/x509_certificate_openssl.cc DERCache* SetDERCache(X509Certificate::OSCertHandle cert, cert 206 net/cert/x509_certificate_openssl.cc X509_set_ex_data(cert, x509_der_cache_index, internal_cache); cert 213 net/cert/x509_certificate_openssl.cc bool GetDERAndCacheIfNeeded(X509Certificate::OSCertHandle cert, cert 222 net/cert/x509_certificate_openssl.cc X509_get_ex_data(cert, x509_der_cache_index)); cert 225 net/cert/x509_certificate_openssl.cc int data_length = i2d_X509(cert, &data); cert 228 net/cert/x509_certificate_openssl.cc internal_cache = SetDERCache(cert, x509_der_cache_index, data, data_length); cert 296 net/cert/x509_certificate_openssl.cc SHA1HashValue X509Certificate::CalculateFingerprint(OSCertHandle cert) { cert 299 net/cert/x509_certificate_openssl.cc int ret = X509_digest(cert, EVP_sha1(), sha1.data, &sha1_size); cert 334 net/cert/x509_certificate_openssl.cc X509* cert = d2i_X509(NULL, &d2i_data, length); cert 335 net/cert/x509_certificate_openssl.cc return cert; cert 420 net/cert/x509_certificate_unittest.cc scoped_refptr<X509Certificate> cert = cert 422 net/cert/x509_certificate_unittest.cc ASSERT_NE(static_cast<X509Certificate*>(NULL), cert); cert 425 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(X509Certificate::GetDEREncoded(cert->os_cert_handle(), cert 440 net/cert/x509_certificate_unittest.cc scoped_refptr<X509Certificate> cert = cert 442 net/cert/x509_certificate_unittest.cc ASSERT_NE(static_cast<X509Certificate*>(NULL), cert); cert 445 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(X509Certificate::GetDEREncoded(cert->os_cert_handle(), cert 518 net/cert/x509_certificate_unittest.cc scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle( cert 520 net/cert/x509_certificate_unittest.cc ASSERT_NE(static_cast<X509Certificate*>(NULL), cert.get()); cert 526 net/cert/x509_certificate_unittest.cc cert->Persist(&pickle); cert 534 net/cert/x509_certificate_unittest.cc cert->os_cert_handle(), cert_from_pickle->os_cert_handle())); cert 536 net/cert/x509_certificate_unittest.cc cert->GetIntermediateCertificates(); cert 911 net/cert/x509_certificate_unittest.cc const X509Certificate* cert = certs[i].get(); cert 912 net/cert/x509_certificate_unittest.cc const SHA1HashValue& actual_fingerprint = cert->fingerprint(); cert 1179 net/cert/x509_certificate_unittest.cc scoped_refptr<X509Certificate> cert( cert 1181 net/cert/x509_certificate_unittest.cc ASSERT_TRUE(cert.get()); cert 1187 net/cert/x509_certificate_unittest.cc X509Certificate::GetPublicKeyInfo(cert->os_cert_handle(), &actual_bits, cert 49 net/cert/x509_certificate_win.cc PCCERT_CONTEXT cert, cert 52 net/cert/x509_certificate_win.cc cert->pCertInfo->cExtension, cert 53 net/cert/x509_certificate_win.cc cert->pCertInfo->rgExtension); cert 78 net/cert/x509_certificate_win.cc PCCERT_CONTEXT cert = NULL; cert 80 net/cert/x509_certificate_win.cc while ((cert = CertEnumCertificatesInStore(store, cert)) != NULL) { cert 87 net/cert/x509_certificate_win.cc cert, cert 301 net/cert/x509_certificate_win.cc OSCertHandle cert) { cert 302 net/cert/x509_certificate_win.cc DCHECK(NULL != cert->pbCertEncoded); cert 303 net/cert/x509_certificate_win.cc DCHECK_NE(static_cast<DWORD>(0), cert->cbCertEncoded); cert 308 net/cert/x509_certificate_win.cc rv = CryptHashCertificate(NULL, CALG_SHA1, 0, cert->pbCertEncoded, cert 309 net/cert/x509_certificate_win.cc cert->cbCertEncoded, sha1.data, &sha1_size); cert 79 net/cert/x509_util_ios.cc X509Certificate* cert = NULL; cert 81 net/cert/x509_util_ios.cc cert = X509Certificate::CreateFromHandle(os_server_cert, cert 87 net/cert/x509_util_ios.cc return cert; cert 90 net/cert/x509_util_ios.cc SHA1HashValue CalculateFingerprintNSS(CERTCertificate* cert) { cert 91 net/cert/x509_util_ios.cc DCHECK(cert->derCert.data); cert 92 net/cert/x509_util_ios.cc DCHECK_NE(0U, cert->derCert.len); cert 95 net/cert/x509_util_ios.cc CC_SHA1(cert->derCert.data, cert->derCert.len, sha1.data); cert 42 net/cert/x509_util_ios.h SHA1HashValue CalculateFingerprintNSS(CERTCertificate* cert); cert 122 net/cert/x509_util_nss.cc CERTCertificate* cert = CERT_CreateCertificate(serial_number, subject_name, cert 124 net/cert/x509_util_nss.cc if (!cert) { cert 134 net/cert/x509_util_nss.cc return cert; cert 154 net/cert/x509_util_nss.cc CERTCertificate* cert, cert 158 net/cert/x509_util_nss.cc PLArenaPool* arena = cert->arena; cert 164 net/cert/x509_util_nss.cc SECStatus rv = SECOID_SetAlgorithmID(arena, &cert->signature, algo_id, 0); cert 169 net/cert/x509_util_nss.cc *(cert->version.data) = 2; cert 170 net/cert/x509_util_nss.cc cert->version.len = 1; cert 176 net/cert/x509_util_nss.cc NULL, &der, cert, SEC_ASN1_GET(CERT_CertificateTemplate)); cert 192 net/cert/x509_util_nss.cc cert->derCert = result; cert 262 net/cert/x509_util_nss.cc CERTCertificate* cert = CreateCertificate(key->public_key(), cert 267 net/cert/x509_util_nss.cc if (!cert) cert 270 net/cert/x509_util_nss.cc if (!SignCertificate(cert, key->key(), ToSECOid(alg))) { cert 271 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 275 net/cert/x509_util_nss.cc der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), cert 276 net/cert/x509_util_nss.cc cert->derCert.len); cert 277 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 303 net/cert/x509_util_nss.cc CERTCertificate* cert = CreateCertificate(key->public_key(), cert 309 net/cert/x509_util_nss.cc if (!cert) cert 314 net/cert/x509_util_nss.cc if ((cert_handle = CERT_StartCertExtensions(cert)) == NULL) { cert 316 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 329 net/cert/x509_util_nss.cc cert->arena, NULL, &domain_string_item, cert 334 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 346 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 353 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 357 net/cert/x509_util_nss.cc if (!SignCertificate(cert, key->key(), ToSECOid(alg))) { cert 358 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 362 net/cert/x509_util_nss.cc DCHECK(cert->derCert.len); cert 365 net/cert/x509_util_nss.cc der_cert->append(reinterpret_cast<char*>(cert->derCert.data), cert 366 net/cert/x509_util_nss.cc cert->derCert.len); cert 367 net/cert/x509_util_nss.cc CERT_DestroyCertificate(cert); cert 103 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert(X509_new()); cert 104 net/cert/x509_util_openssl.cc if (!cert.get() || !X509_set_version(cert.get(), 2L) /* i.e. version 3 */ || cert 105 net/cert/x509_util_openssl.cc !X509_set_pubkey(cert.get(), key) || cert 106 net/cert/x509_util_openssl.cc !X509_set_serialNumber(cert.get(), asn1_serial.get()) || cert 107 net/cert/x509_util_openssl.cc !X509_set_notBefore(cert.get(), asn1_not_before_time.get()) || cert 108 net/cert/x509_util_openssl.cc !X509_set_notAfter(cert.get(), asn1_not_after_time.get()) || cert 109 net/cert/x509_util_openssl.cc !X509_set_subject_name(cert.get(), name.get()) || cert 110 net/cert/x509_util_openssl.cc !X509_set_issuer_name(cert.get(), name.get())) { cert 115 net/cert/x509_util_openssl.cc return cert.release(); cert 118 net/cert/x509_util_openssl.cc bool SignAndDerEncodeCert(X509* cert, cert 130 net/cert/x509_util_openssl.cc if (!X509_sign(cert, key, md)) { cert 136 net/cert/x509_util_openssl.cc int der_data_length = i2d_X509(cert, NULL); cert 143 net/cert/x509_util_openssl.cc if (i2d_X509(cert, &der_data) < 0) cert 224 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert( cert 231 net/cert/x509_util_openssl.cc if (!cert.get()) cert 262 net/cert/x509_util_openssl.cc if (!ext.get() || !X509_add_ext(cert.get(), ext.get(), -1)) { cert 267 net/cert/x509_util_openssl.cc return SignAndDerEncodeCert(cert.get(), key->key(), alg, der_cert); cert 278 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert( cert 285 net/cert/x509_util_openssl.cc if (!cert.get()) cert 288 net/cert/x509_util_openssl.cc return SignAndDerEncodeCert(cert.get(), key->key(), alg, der_encoded); cert 25 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<X509, X509_free> cert( cert 27 net/cert/x509_util_openssl_unittest.cc ASSERT_TRUE(cert.get()); cert 39 net/cert/x509_util_openssl_unittest.cc EXPECT_EQ(1, X509_verify(cert.get(), pub_key.get())); cert 56 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<X509, X509_free> cert( cert 58 net/cert/x509_util_openssl_unittest.cc ASSERT_TRUE(cert.get()); cert 61 net/cert/x509_util_openssl_unittest.cc int ext_pos = X509_get_ext_by_OBJ(cert.get(), oid_obj.get(), -1); cert 63 net/cert/x509_util_openssl_unittest.cc X509_EXTENSION* ext = X509_get_ext(cert.get(), ext_pos); cert 71 net/cert/x509_util_unittest.cc scoped_refptr<X509Certificate> cert(X509Certificate::CreateFromBytes( cert 73 net/cert/x509_util_unittest.cc ASSERT_TRUE(cert.get()); cert 75 net/cert/x509_util_unittest.cc EXPECT_EQ("subject", cert->subject().GetDisplayName()); cert 76 net/cert/x509_util_unittest.cc EXPECT_FALSE(cert->HasExpired()); cert 183 net/cert/x509_util_unittest.cc scoped_refptr<X509Certificate> cert = cert 185 net/cert/x509_util_unittest.cc ASSERT_TRUE(cert.get()); cert 187 net/cert/x509_util_unittest.cc EXPECT_EQ("subject", cert->subject().GetDisplayName()); cert 188 net/cert/x509_util_unittest.cc EXPECT_FALSE(cert->HasExpired()); cert 493 net/http/http_cache_transaction.cc return (response_.headers.get() || response_.ssl_info.cert.get() || cert 403 net/http/http_network_transaction.cc response_.ssl_info.cert.get() || response_.cert_request_info.get()) cert 11531 net/http/http_network_transaction_unittest.cc ssl1.cert = server_cert; cert 190 net/http/http_response_info.cc ssl_info.cert = X509Certificate::CreateFromPickle(pickle, &iter, type); cert 191 net/http/http_response_info.cc if (!ssl_info.cert.get()) cert 332 net/http/http_response_info.cc ssl_info.cert->Persist(pickle); cert 1386 net/http/http_stream_factory_impl_job.cc if (ssl_info_.cert.get() == NULL || cert 1387 net/http/http_stream_factory_impl_job.cc !X509Certificate::GetDEREncoded(ssl_info_.cert->os_cert_handle(), cert 157 net/ocsp/nss_ocsp.cc char* GetAlternateOCSPAIAInfo(CERTCertificate *cert); cert 929 net/ocsp/nss_ocsp.cc char* GetAlternateOCSPAIAInfo(CERTCertificate *cert) { cert 930 net/ocsp/nss_ocsp.cc if (cert && !cert->isRoot && cert->authKeyID) { cert 933 net/ocsp/nss_ocsp.cc &cert->derIssuer) == SECEqual && cert 935 net/ocsp/nss_ocsp.cc &cert->authKeyID->keyID) == SECEqual) { cert 400 net/quic/crypto/cert_compressor.cc StringPiece cert = common_sets->GetCert(entry.set_hash, entry.index); cert 401 net/quic/crypto/cert_compressor.cc if (cert.empty()) { cert 404 net/quic/crypto/cert_compressor.cc out_certs->push_back(cert.as_string()); cert 92 net/quic/crypto/common_cert_set.cc virtual bool MatchCert(StringPiece cert, StringPiece common_set_hashes, cert 117 net/quic/crypto/common_cert_set.cc int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]); cert 39 net/quic/crypto/common_cert_set.h virtual bool MatchCert(base::StringPiece cert, cert 280 net/quic/crypto/crypto_server_test.cc StringPiece cert, proof; cert 281 net/quic/crypto/crypto_server_test.cc EXPECT_TRUE(out_.GetStringPiece(kCertificateTag, &cert)); cert 283 net/quic/crypto/crypto_server_test.cc EXPECT_NE(0u, cert.size()); cert 99 net/quic/crypto/proof_test.cc scoped_refptr<X509Certificate> cert = cert 101 net/quic/crypto/proof_test.cc CHECK_NE(static_cast<X509Certificate*>(NULL), cert); cert 104 net/quic/crypto/proof_test.cc CHECK(X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_bytes)); cert 67 net/quic/crypto/proof_verifier_chromium.cc const std::string& cert); cert 239 net/quic/crypto/proof_verifier_chromium.cc const string& cert) { cert 241 net/quic/crypto/proof_verifier_chromium.cc if (!asn1::ExtractSPKIFromDERCert(cert, &spki)) { cert 101 net/quic/crypto/quic_server_info.cc string cert; cert 102 net/quic/crypto/quic_server_info.cc if (!p.ReadString(&iter, &cert)) { cert 106 net/quic/crypto/quic_server_info.cc state->certs.push_back(cert); cert 205 net/quic/quic_client_session.cc if (!GetSSLInfo(&ssl_info) || !ssl_info.cert) { cert 347 net/quic/quic_client_session.cc ssl_info->cert = cert_verify_result_->verified_cert; cert 418 net/quic/quic_client_session.cc if (!GetSSLInfo(&ssl_info) || !ssl_info.cert) { cert 423 net/quic/quic_client_session.cc return ssl_info.cert->VerifyNameMatch(hostname, &unused); cert 642 net/quic/quic_client_session.cc dict->SetBoolean("secure", GetSSLInfo(&ssl_info) && ssl_info.cert); cert 65 net/quic/quic_http_stream.cc bool secure_session = session_->GetSSLInfo(&ssl_info) && ssl_info.cert; cert 657 net/quic/quic_stream_factory.cc void QuicStreamFactory::OnCertAdded(const X509Certificate* cert) { cert 661 net/quic/quic_stream_factory.cc void QuicStreamFactory::OnCACertChanged(const X509Certificate* cert) { cert 144 net/quic/quic_stream_factory.h virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; cert 145 net/quic/quic_stream_factory.h virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE; cert 272 net/quic/test_tools/crypto_test_utils.cc MockCommonCertSets(StringPiece cert, uint64 hash, uint32 index) cert 273 net/quic/test_tools/crypto_test_utils.cc : cert_(cert.as_string()), cert 290 net/quic/test_tools/crypto_test_utils.cc virtual bool MatchCert(StringPiece cert, cert 294 net/quic/test_tools/crypto_test_utils.cc if (cert != cert_) { cert 326 net/quic/test_tools/crypto_test_utils.cc CommonCertSets* CryptoTestUtils::MockCommonCertSets(StringPiece cert, cert 329 net/quic/test_tools/crypto_test_utils.cc return new class MockCommonCertSets(cert, hash, index); cert 106 net/quic/test_tools/crypto_test_utils.h static CommonCertSets* MockCommonCertSets(base::StringPiece cert, cert 59 net/socket/client_socket_factory.cc virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE { cert 63 net/socket/client_socket_factory.cc virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE { cert 378 net/socket/client_socket_pool_manager_impl.cc void ClientSocketPoolManagerImpl::OnCertAdded(const X509Certificate* cert) { cert 383 net/socket/client_socket_pool_manager_impl.cc const X509Certificate* cert) { cert 94 net/socket/client_socket_pool_manager_impl.h virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; cert 95 net/socket/client_socket_pool_manager_impl.h virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE; cert 1377 net/socket/socket_test_util.cc ssl_info->cert = data_->cert; cert 334 net/socket/socket_test_util.h scoped_refptr<X509Certificate> cert; cert 179 net/socket/ssl_client_socket_nss.cc CERTCertDBHandle *handle, CERTCertificate *cert, PRTime time, cert 380 net/socket/ssl_client_socket_nss.cc certs_.push_back(CERT_DupCertificate(node->cert)); cert 1565 net/socket/ssl_client_socket_nss.cc CERTCertificate* cert = cert 1567 net/socket/ssl_client_socket_nss.cc SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); cert 1572 net/socket/ssl_client_socket_nss.cc *result_certificate = cert; cert 2353 net/socket/ssl_client_socket_nss.cc ScopedCERTCertificate cert(CERT_NewTempCertificate(CERT_GetDefaultCertDB(), cert 2358 net/socket/ssl_client_socket_nss.cc if (cert == NULL) cert 2369 net/socket/ssl_client_socket_nss.cc &cert->subjectPublicKeyInfo, cert 2850 net/socket/ssl_client_socket_nss.cc ssl_info->cert = server_cert_verify_result_.verified_cert; cert 697 net/socket/ssl_client_socket_openssl.cc ssl_info->cert = server_cert_verify_result_.verified_cert; cert 79 net/socket/ssl_client_socket_openssl_unittest.cc const std::string& cert) OVERRIDE {} cert 842 net/socket/ssl_client_socket_pool_unittest.cc ssl.cert = X509Certificate::CreateFromBytes( cert 920 net/socket/ssl_client_socket_pool_unittest.cc ssl.cert = X509Certificate::CreateFromBytes( cert 1908 net/socket/ssl_client_socket_unittest.cc ssl_info.cert->GetIntermediateCertificates(); cert 1910 net/socket/ssl_client_socket_unittest.cc EXPECT_TRUE(X509Certificate::IsSameOSCert(ssl_info.cert->os_cert_handle(), cert 83 net/socket/ssl_server_socket_nss.cc X509Certificate* cert, cert 90 net/socket/ssl_server_socket_nss.cc new SSLServerSocketNSS(socket.Pass(), cert, key, ssl_config)); cert 95 net/socket/ssl_server_socket_nss.cc scoped_refptr<X509Certificate> cert, cert 106 net/socket/ssl_server_socket_nss.cc cert_(cert), cert 430 net/socket/ssl_server_socket_nss.cc CERTCertificate* cert = CERT_NewTempCertificate( cert 432 net/socket/ssl_server_socket_nss.cc if (!cert) { cert 440 net/socket/ssl_server_socket_nss.cc CERT_DestroyCertificate(cert); cert 447 net/socket/ssl_server_socket_nss.cc CERT_DestroyCertificate(cert); cert 466 net/socket/ssl_server_socket_nss.cc CERT_DestroyCertificate(cert); cert 471 net/socket/ssl_server_socket_nss.cc SSLKEAType cert_kea = NSS_FindCertKEAType(cert); cert 472 net/socket/ssl_server_socket_nss.cc rv = SSL_ConfigSecureServer(nss_fd_, cert, private_key, cert_kea); cert 473 net/socket/ssl_server_socket_nss.cc CERT_DestroyCertificate(cert); cert 319 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::X509Certificate> cert = cert 352 net/socket/ssl_server_socket_unittest.cc cert.get(), private_key.get(), net::SSLConfig()); cert 1274 net/socket_stream/socket_stream.cc if (ssl_info.cert.get() == NULL || cert 1275 net/socket_stream/socket_stream.cc ssl_config->IsAllowedBadCert(ssl_info.cert.get(), NULL)) { cert 1285 net/socket_stream/socket_stream.cc if (!X509Certificate::GetDEREncoded(ssl_info.cert->os_cert_handle(), cert 115 net/spdy/spdy_http_stream_unittest.cc const std::string& cert, cert 628 net/spdy/spdy_session.cc ssl_info.cert->VerifyNameMatch(domain, &unused); cert 294 net/spdy/spdy_session_pool.cc void SpdySessionPool::OnCertAdded(const X509Certificate* cert) { cert 298 net/spdy/spdy_session_pool.cc void SpdySessionPool::OnCACertChanged(const X509Certificate* cert) { cert 145 net/spdy/spdy_session_pool.h virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; cert 146 net/spdy/spdy_session_pool.h virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE; cert 2002 net/spdy/spdy_session_unittest.cc ssl.cert = test_cert; cert 2045 net/spdy/spdy_session_unittest.cc ssl.cert = test_cert; cert 85 net/ssl/client_cert_store_mac.cc scoped_refptr<X509Certificate>* cert) { cert 86 net/ssl/client_cert_store_mac.cc DCHECK(cert); cert 87 net/ssl/client_cert_store_mac.cc DCHECK(cert->get()); cert 89 net/ssl/client_cert_store_mac.cc X509Certificate::OSCertHandle cert_handle = (*cert)->os_cert_handle(); cert 103 net/ssl/client_cert_store_mac.cc SecCertificateRef cert = reinterpret_cast<SecCertificateRef>( cert 105 net/ssl/client_cert_store_mac.cc intermediates.push_back(cert); cert 115 net/ssl/client_cert_store_mac.cc cert->swap(new_cert); cert 139 net/ssl/client_cert_store_mac.cc scoped_refptr<X509Certificate>& cert = preliminary_list[i]; cert 140 net/ssl/client_cert_store_mac.cc if (cert->HasExpired() || !cert->SupportsSSLClientAuth()) cert 144 net/ssl/client_cert_store_mac.cc const SHA1HashValue& fingerprint = cert->fingerprint(); cert 155 net/ssl/client_cert_store_mac.cc cert->IsIssuedByEncoded(request.cert_authorities) || cert 157 net/ssl/client_cert_store_mac.cc IsIssuedByInKeychain(request.cert_authorities, &cert))) { cert 158 net/ssl/client_cert_store_mac.cc selected_certs->push_back(cert); cert 234 net/ssl/client_cert_store_mac.cc scoped_refptr<X509Certificate> cert( cert 241 net/ssl/client_cert_store_mac.cc preferred_cert = cert; cert 243 net/ssl/client_cert_store_mac.cc regular_certs.push_back(cert); cert 86 net/ssl/client_cert_store_nss.cc if (CERT_CheckCertValidTimes(node->cert, PR_Now(), PR_TRUE) != cert 89 net/ssl/client_cert_store_nss.cc << base::StringPiece(node->cert->nickname); cert 93 net/ssl/client_cert_store_nss.cc scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle( cert 94 net/ssl/client_cert_store_nss.cc node->cert, X509Certificate::OSCertHandles()); cert 99 net/ssl/client_cert_store_nss.cc cert->IsIssuedByEncoded(request.cert_authorities)) || cert 101 net/ssl/client_cert_store_nss.cc NSS_CmpCertChainWCANames(node->cert, &ca_names) == SECSuccess)) { cert 102 net/ssl/client_cert_store_nss.cc DVLOG(2) << "matched cert: " << base::StringPiece(node->cert->nickname); cert 103 net/ssl/client_cert_store_nss.cc selected_certs->push_back(cert); cert 107 net/ssl/client_cert_store_nss.cc << base::StringPiece(node->cert->nickname); cert 70 net/ssl/client_cert_store_unittest-inl.h scoped_refptr<X509Certificate> cert( cert 72 net/ssl/client_cert_store_unittest-inl.h ASSERT_TRUE(cert.get()); cert 75 net/ssl/client_cert_store_unittest-inl.h certs.push_back(cert); cert 83 net/ssl/client_cert_store_unittest-inl.h EXPECT_TRUE(selected_certs[0]->Equals(cert.get())); cert 132 net/ssl/client_cert_store_win.cc scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle( cert 134 net/ssl/client_cert_store_win.cc selected_certs->push_back(cert); cert 185 net/ssl/client_cert_store_win.cc PCCERT_CONTEXT cert = NULL; cert 188 net/ssl/client_cert_store_win.cc CERT_STORE_ADD_NEW, &cert)) { cert 195 net/ssl/client_cert_store_win.cc if (!CertSetCertificateContextProperty(cert, cert 202 net/ssl/client_cert_store_win.cc if (!CertFreeCertificateContext(cert)) cert 85 net/ssl/default_server_bound_cert_store.cc const std::string& cert); cert 102 net/ssl/default_server_bound_cert_store.cc const std::string& cert) cert 107 net/ssl/default_server_bound_cert_store.cc cert_(cert) { cert 255 net/ssl/default_server_bound_cert_store.cc ServerBoundCert* cert = it->second; cert 256 net/ssl/default_server_bound_cert_store.cc *expiration_time = cert->expiration_time(); cert 257 net/ssl/default_server_bound_cert_store.cc *private_key_result = cert->private_key(); cert 258 net/ssl/default_server_bound_cert_store.cc *cert_result = cert->cert(); cert 268 net/ssl/default_server_bound_cert_store.cc const std::string& cert) { cert 271 net/ssl/default_server_bound_cert_store.cc cert))); cert 374 net/ssl/default_server_bound_cert_store.cc const std::string& cert) { cert 383 net/ssl/default_server_bound_cert_store.cc cert)); cert 402 net/ssl/default_server_bound_cert_store.cc ServerBoundCert* cert = cur->second; cert 403 net/ssl/default_server_bound_cert_store.cc if ((delete_begin.is_null() || cert->creation_time() >= delete_begin) && cert 404 net/ssl/default_server_bound_cert_store.cc (delete_end.is_null() || cert->creation_time() < delete_end)) { cert 406 net/ssl/default_server_bound_cert_store.cc store_->DeleteServerBoundCert(*cert); cert 407 net/ssl/default_server_bound_cert_store.cc delete cert; cert 451 net/ssl/default_server_bound_cert_store.cc ServerBoundCert* cert = it->second; cert 453 net/ssl/default_server_bound_cert_store.cc store_->DeleteServerBoundCert(*cert); cert 455 net/ssl/default_server_bound_cert_store.cc delete cert; cert 460 net/ssl/default_server_bound_cert_store.cc ServerBoundCert* cert) { cert 465 net/ssl/default_server_bound_cert_store.cc store_->AddServerBoundCert(*cert); cert 466 net/ssl/default_server_bound_cert_store.cc server_bound_certs_[server_identifier] = cert; cert 57 net/ssl/default_server_bound_cert_store.h const std::string& cert) OVERRIDE; cert 114 net/ssl/default_server_bound_cert_store.h const std::string& cert); cert 134 net/ssl/default_server_bound_cert_store.h ServerBoundCert* cert); cert 172 net/ssl/default_server_bound_cert_store.h virtual void AddServerBoundCert(const ServerBoundCert& cert) = 0; cert 174 net/ssl/default_server_bound_cert_store.h virtual void DeleteServerBoundCert(const ServerBoundCert& cert) = 0; cert 74 net/ssl/default_server_bound_cert_store_unittest.cc const DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; cert 76 net/ssl/default_server_bound_cert_store_unittest.cc const DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; cert 106 net/ssl/default_server_bound_cert_store_unittest.cc const DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 107 net/ssl/default_server_bound_cert_store_unittest.cc origin_certs_[cert.server_identifier()] = cert; cert 111 net/ssl/default_server_bound_cert_store_unittest.cc const DefaultServerBoundCertStore::ServerBoundCert& cert) { cert 112 net/ssl/default_server_bound_cert_store_unittest.cc origin_certs_.erase(cert.server_identifier()); cert 163 net/ssl/default_server_bound_cert_store_unittest.cc std::string private_key, cert; cert 169 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 172 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_TRUE(cert.empty()); cert 182 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 186 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("j", cert); cert 194 net/ssl/default_server_bound_cert_store_unittest.cc std::string private_key, cert; cert 214 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 218 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("d", cert); cert 233 net/ssl/default_server_bound_cert_store_unittest.cc std::string cert = "not set"; cert 239 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 246 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("not set", cert); cert 319 net/ssl/default_server_bound_cert_store_unittest.cc std::string private_key, cert; cert 345 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 351 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 362 net/ssl/default_server_bound_cert_store_unittest.cc &cert, cert 387 net/ssl/default_server_bound_cert_store_unittest.cc std::string cert = "not set"; cert 391 net/ssl/default_server_bound_cert_store_unittest.cc "a.com", &expiration_time, &private_key, &cert, cert 396 net/ssl/default_server_bound_cert_store_unittest.cc "b.com", &expiration_time, &private_key, &cert, cert 407 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("not set", cert); cert 493 net/ssl/default_server_bound_cert_store_unittest.cc ServerBoundCertStore::ServerBoundCertList::iterator cert = certs.begin(); cert 494 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("both.com", cert->server_identifier()); cert 495 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("e", cert->private_key()); cert 497 net/ssl/default_server_bound_cert_store_unittest.cc ++cert; cert 498 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("copied.com", cert->server_identifier()); cert 499 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("g", cert->private_key()); cert 501 net/ssl/default_server_bound_cert_store_unittest.cc ++cert; cert 502 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("preexisting.com", cert->server_identifier()); cert 503 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("a", cert->private_key()); cert 542 net/ssl/default_server_bound_cert_store_unittest.cc ServerBoundCertStore::ServerBoundCertList::iterator cert = certs.begin(); cert 543 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("both.com", cert->server_identifier()); cert 544 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("e", cert->private_key()); cert 546 net/ssl/default_server_bound_cert_store_unittest.cc ++cert; cert 547 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("copied.com", cert->server_identifier()); cert 548 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("g", cert->private_key()); cert 550 net/ssl/default_server_bound_cert_store_unittest.cc ++cert; cert 551 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("preexisting.com", cert->server_identifier()); cert 552 net/ssl/default_server_bound_cert_store_unittest.cc EXPECT_EQ("a", cert->private_key()); cert 34 net/ssl/openssl_client_key_store.cc ScopedEVP_PKEY GetOpenSSLPublicKey(const X509Certificate* cert) { cert 38 net/ssl/openssl_client_key_store.cc X509_PUBKEY_get(X509_get_X509_PUBKEY(cert->os_cert_handle())); cert 53 net/ssl/openssl_client_key_store.h NET_EXPORT bool RecordClientCertPrivateKey(const X509Certificate* cert, cert 62 net/ssl/openssl_client_key_store.h bool FetchClientCertPrivateKey(const X509Certificate* cert, cert 147 net/ssl/server_bound_cert_service.cc std::string* cert) cert 151 net/ssl/server_bound_cert_service.cc cert_(cert) { cert 166 net/ssl/server_bound_cert_service.cc const std::string& cert) { cert 197 net/ssl/server_bound_cert_service.cc *cert_ = cert; cert 246 net/ssl/server_bound_cert_service.cc scoped_ptr<ServerBoundCertStore::ServerBoundCert> cert = cert 261 net/ssl/server_bound_cert_service.cc base::Passed(&cert))); cert 296 net/ssl/server_bound_cert_service.cc const std::string& cert) { cert 297 net/ssl/server_bound_cert_service.cc PostAll(error, private_key, cert); cert 305 net/ssl/server_bound_cert_service.cc const std::string& cert) { cert 311 net/ssl/server_bound_cert_service.cc (*i)->Post(error, private_key, cert); cert 400 net/ssl/server_bound_cert_service.cc std::string* cert, cert 407 net/ssl/server_bound_cert_service.cc if (callback.is_null() || !private_key || !cert || host.empty()) { cert 422 net/ssl/server_bound_cert_service.cc if (JoinToInFlightRequest(request_start, domain, private_key, cert, cert 427 net/ssl/server_bound_cert_service.cc int err = LookupDomainBoundCert(request_start, domain, private_key, cert, cert 452 net/ssl/server_bound_cert_service.cc cert); cert 464 net/ssl/server_bound_cert_service.cc std::string* cert, cert 471 net/ssl/server_bound_cert_service.cc if (callback.is_null() || !private_key || !cert || host.empty()) { cert 486 net/ssl/server_bound_cert_service.cc if (JoinToInFlightRequest(request_start, domain, private_key, cert, cert 491 net/ssl/server_bound_cert_service.cc int err = LookupDomainBoundCert(request_start, domain, private_key, cert, cert 501 net/ssl/server_bound_cert_service.cc const std::string& cert) { cert 516 net/ssl/server_bound_cert_service.cc HandleResult(OK, server_identifier, key, cert); cert 522 net/ssl/server_bound_cert_service.cc HandleResult(err, server_identifier, key, cert); cert 553 net/ssl/server_bound_cert_service.cc scoped_ptr<ServerBoundCertStore::ServerBoundCert> cert) { cert 560 net/ssl/server_bound_cert_service.cc cert->server_identifier(), cert 561 net/ssl/server_bound_cert_service.cc cert->creation_time(), cert 562 net/ssl/server_bound_cert_service.cc cert->expiration_time(), cert 563 net/ssl/server_bound_cert_service.cc cert->private_key(), cert 564 net/ssl/server_bound_cert_service.cc cert->cert()); cert 566 net/ssl/server_bound_cert_service.cc HandleResult(error, server_identifier, cert->private_key(), cert->cert()); cert 576 net/ssl/server_bound_cert_service.cc const std::string& cert) { cert 588 net/ssl/server_bound_cert_service.cc job->HandleResult(error, private_key, cert); cert 596 net/ssl/server_bound_cert_service.cc std::string* cert, cert 614 net/ssl/server_bound_cert_service.cc cert); cert 626 net/ssl/server_bound_cert_service.cc std::string* cert, cert 637 net/ssl/server_bound_cert_service.cc cert, cert 663 net/ssl/server_bound_cert_service.cc cert); cert 112 net/ssl/server_bound_cert_service.h std::string* cert, cert 137 net/ssl/server_bound_cert_service.h std::string* cert, cert 161 net/ssl/server_bound_cert_service.h const std::string& cert); cert 165 net/ssl/server_bound_cert_service.h scoped_ptr<ServerBoundCertStore::ServerBoundCert> cert); cert 169 net/ssl/server_bound_cert_service.h const std::string& cert); cert 177 net/ssl/server_bound_cert_service.h std::string* cert, cert 189 net/ssl/server_bound_cert_service.h std::string* cert, cert 69 net/ssl/server_bound_cert_service_unittest.cc const std::string& cert) OVERRIDE { cert 78 net/ssl/server_bound_cert_service_unittest.cc const std::string& cert); cert 107 net/ssl/server_bound_cert_service_unittest.cc const std::string& cert) { cert 116 net/ssl/server_bound_cert_service_unittest.cc cert)); cert 17 net/ssl/server_bound_cert_store.cc const std::string& cert) cert 22 net/ssl/server_bound_cert_store.cc cert_(cert) {} cert 30 net/ssl/server_bound_cert_store.cc i->expiration_time(), i->private_key(), i->cert()); cert 37 net/ssl/server_bound_cert_store.h const std::string& cert); cert 52 net/ssl/server_bound_cert_store.h const std::string& cert() const { return cert_; } cert 93 net/ssl/server_bound_cert_store.h const std::string& cert) = 0; cert 44 net/ssl/ssl_client_auth_cache.cc void SSLClientAuthCache::OnCertAdded(const X509Certificate* cert) { cert 51 net/ssl/ssl_client_auth_cache.h virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; cert 49 net/ssl/ssl_config.cc bool SSLConfig::IsAllowedBadCert(X509Certificate* cert, cert 52 net/ssl/ssl_config.cc if (!X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_cert)) cert 45 net/ssl/ssl_config.h bool IsAllowedBadCert(X509Certificate* cert, CertStatus* cert_status) const; cert 26 net/ssl/ssl_info.cc cert = info.cert; cert 41 net/ssl/ssl_info.cc cert = NULL; cert 43 net/ssl/ssl_info.h bool is_valid() const { return cert.get() != NULL; } cert 49 net/ssl/ssl_info.h scoped_refptr<X509Certificate> cert; cert 38 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java import java.security.cert.X509Certificate; cert 143 net/test/openssl_helper.cc BIO* cert = BIO_new(BIO_s_file()); cert 144 net/test/openssl_helper.cc if (BIO_read_filename(cert, cert_file) <= 0) { cert 149 net/test/openssl_helper.cc X509 *pcert = PEM_read_bio_X509_AUX(cert, NULL, NULL, NULL); cert 154 net/test/openssl_helper.cc BIO_free(cert); cert 68 net/test/spawned_test_server/base_test_server.cc BaseTestServer::SSLOptions::ServerCertificate cert) cert 69 net/test/spawned_test_server/base_test_server.cc : server_certificate(cert), cert 105 net/test/spawned_test_server/base_test_server.h explicit SSLOptions(ServerCertificate cert); cert 113 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const scoped_refptr<net::X509Certificate>& cert = certificates[i]; cert 114 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (cert == root) { cert 121 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (!CERT_IsCACert(cert->os_cert_handle(), NULL)) { cert 123 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CA_CERT_NOT_CA)); cert 128 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (cert->os_cert_handle()->isperm) { cert 130 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CERT_ALREADY_EXISTS)); cert 135 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp if (CERT_VerifyCert(CERT_GetDefaultCertDB(), cert->os_cert_handle(), cert 141 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_FAILED)); cert 150 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->os_cert_handle(), cert 153 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->GetDefaultNickname(net::CA_CERT), cert 154 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp &cert->os_cert_handle()->derSubject, cert 162 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_CA_CERT_FAILED)); cert 180 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp const scoped_refptr<net::X509Certificate>& cert = certificates[i]; cert 186 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->os_cert_handle(), cert 189 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert->GetDefaultNickname(net::SERVER_CERT), cert 190 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp &cert->os_cert_handle()->derSubject, cert 196 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp cert, net::ERR_IMPORT_SERVER_CERT_FAILED)); cert 211 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp SetCertTrust(const net::X509Certificate* cert, cert 231 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp CERTCertificate *nsscert = cert->os_cert_handle(); cert 68 net/third_party/mozilla_security_manager/nsNSSCertificateDB.h bool SetCertTrust(const net::X509Certificate* cert, cert 92 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp CERTCertificate* cert = (CERTCertificate*)wincx; cert 94 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if (!cancel || !cert) { cert 102 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp nick = CERT_MakeCANickname(cert); cert 215 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp CERTCertificate* cert = PK11_FindCertFromDERCertItem( cert 218 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if (!cert) { cert 229 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp net::X509Certificate::CreateFromHandle(cert, intermediates)); cert 236 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp CERT_DestroyCertificate(cert); cert 243 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp SECKEYPrivateKey* privKey = PK11_FindPrivateKeyFromCert(slot, cert, cert 253 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp CERT_DestroyCertificate(cert); cert 258 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp CERT_DestroyCertificate(cert); cert 32 net/third_party/nss/ssl/authcert.c CERTCertificate * cert = NULL; cert 41 net/third_party/nss/ssl/authcert.c cert = CERT_FindUserCertByUsage(CERT_GetDefaultCertDB(), cert 44 net/third_party/nss/ssl/authcert.c if ( cert ) { cert 45 net/third_party/nss/ssl/authcert.c privkey = PK11_FindKeyByAnyCert(cert, proto_win); cert 49 net/third_party/nss/ssl/authcert.c CERT_DestroyCertificate(cert); cert 60 net/third_party/nss/ssl/authcert.c cert = CERT_FindUserCertByUsage(CERT_GetDefaultCertDB(), cert 63 net/third_party/nss/ssl/authcert.c if ( !cert ) cert 66 net/third_party/nss/ssl/authcert.c if (CERT_CheckCertValidTimes(cert, PR_Now(), PR_TRUE) != cert 68 net/third_party/nss/ssl/authcert.c CERT_DestroyCertificate(cert); cert 71 net/third_party/nss/ssl/authcert.c rv = NSS_CmpCertChainWCANames(cert, caNames); cert 73 net/third_party/nss/ssl/authcert.c privkey = PK11_FindKeyByAnyCert(cert, proto_win); cert 78 net/third_party/nss/ssl/authcert.c CERT_DestroyCertificate(cert); cert 84 net/third_party/nss/ssl/authcert.c *pRetCert = cert; cert 25 net/third_party/nss/ssl/cmpcert.c NSS_CmpCertChainWCANames(CERTCertificate *cert, CERTDistNames *caNames) cert 38 net/third_party/nss/ssl/cmpcert.c if (!cert || !caNames || !caNames->nnames || !caNames->names || cert 42 net/third_party/nss/ssl/cmpcert.c curcert = CERT_DupCertificate(cert); cert 591 net/third_party/nss/ssl/derive.c SSL_CanBypass(CERTCertificate *cert, SECKEYPrivateKey *srvPrivkey, cert 624 net/third_party/nss/ssl/derive.c if (!cert || !srvPrivkey || !ciphersuites || !pcanbypass) { cert 629 net/third_party/nss/ssl/derive.c srvPubkey = CERT_ExtractPublicKey(cert); cert 436 net/third_party/nss/ssl/ssl.h CERTCertificate *cert, cert 721 net/third_party/nss/ssl/ssl.h PRFileDesc *fd, CERTCertificate *cert, cert 729 net/third_party/nss/ssl/ssl.h SSL_ConfigSecureServerWithCertChain(PRFileDesc *fd, CERTCertificate *cert, cert 978 net/third_party/nss/ssl/ssl.h SSL_IMPORT SECStatus NSS_CmpCertChainWCANames(CERTCertificate *cert, cert 984 net/third_party/nss/ssl/ssl.h SSL_IMPORT SSLKEAType NSS_FindCertKEAType(CERTCertificate * cert); cert 1063 net/third_party/nss/ssl/ssl.h SSL_IMPORT SECStatus SSL_CanBypass(CERTCertificate *cert, cert 1026 net/third_party/nss/ssl/ssl3con.c ssl3_VerifySignedHashes(SSL3Hashes *hash, CERTCertificate *cert, cert 1040 net/third_party/nss/ssl/ssl3con.c key = CERT_ExtractPublicKey(cert); cert 4518 net/third_party/nss/ssl/ssl3con.c ssl3_TLSSignatureAlgorithmForCertificate(CERTCertificate *cert, cert 4524 net/third_party/nss/ssl/ssl3con.c key = CERT_ExtractPublicKey(cert); cert 4541 net/third_party/nss/ssl/ssl3con.c const SSL3SignatureAndHashAlgorithm *sigAndHash, CERTCertificate* cert) cert 4546 net/third_party/nss/ssl/ssl3con.c rv = ssl3_TLSSignatureAlgorithmForCertificate(cert, &sigAlg); cert 7317 net/third_party/nss/ssl/ssl3con.c ss->ssl3.clientCertificate = CERT_DupCertificate(certNode->cert); cert 7443 net/third_party/nss/ssl/ssl3con.c CERTCertificate * cert, cert 7454 net/third_party/nss/ssl/ssl3con.c ss->ssl3.clientCertificate = cert; cert 7457 net/third_party/nss/ssl/ssl3con.c if (!cert || !key || !certChain) { cert 7478 net/third_party/nss/ssl/ssl3con.c if (cert) { cert 7479 net/third_party/nss/ssl/ssl3con.c CERT_DestroyCertificate(cert); cert 10104 net/third_party/nss/ssl/ssl3con.c CERT_DestroyCertificate(certs->cert); cert 10126 net/third_party/nss/ssl/ssl3con.c c->cert = CERT_DupCertificate(sid->peerCertChain[i]); cert 10145 net/third_party/nss/ssl/ssl3con.c sid->peerCertChain[i] = CERT_DupCertificate(c->cert); cert 10332 net/third_party/nss/ssl/ssl3con.c c->cert = CERT_NewTempCertificate(ss->dbHandle, &certItem, NULL, cert 10334 net/third_party/nss/ssl/ssl3con.c if (c->cert == NULL) { cert 10430 net/third_party/nss/ssl/ssl3con.c CERTCertificate *cert = ss->sec.peerCert; cert 10436 net/third_party/nss/ssl/ssl3con.c SECKEYPublicKey * pubKey = CERT_ExtractPublicKey(cert); cert 10453 net/third_party/nss/ssl/ssl3con.c cert->signatureWrap.signature.data[3]*8; cert 10454 net/third_party/nss/ssl/ssl3con.c if (cert->signatureWrap.signature.data[4] == 0x00) cert 10461 net/third_party/nss/ssl/ssl3con.c ss->sec.authKeyBits = cert->signatureWrap.signature.len; cert 36 net/third_party/nss/ssl/sslauth.c CERTCertificate *cert; cert 53 net/third_party/nss/ssl/sslauth.c cert = CERT_DupCertificate(ss->sec.peerCert); cert 54 net/third_party/nss/ssl/sslauth.c if (CERT_AddCertToListTail(chain, cert) != SECSuccess) { cert 58 net/third_party/nss/ssl/sslauth.c cert = CERT_DupCertificate(cur->cert); cert 59 net/third_party/nss/ssl/sslauth.c if (CERT_AddCertToListTail(chain, cert) != SECSuccess) { cert 155 net/third_party/nss/ssl/sslauth.c CERTCertificate *cert; cert 157 net/third_party/nss/ssl/sslauth.c cert = ss->sec.peerCert; cert 158 net/third_party/nss/ssl/sslauth.c if (cert) { cert 160 net/third_party/nss/ssl/sslauth.c *ip = CERT_NameToAscii(&cert->issuer); cert 163 net/third_party/nss/ssl/sslauth.c *sp = CERT_NameToAscii(&cert->subject); cert 738 net/third_party/nss/ssl/sslcon.c ssl2_SendCertificateResponseMessage(sslSocket *ss, SECItem *cert, cert 748 net/third_party/nss/ssl/sslcon.c sendLen = SSL_HL_CLIENT_CERTIFICATE_HBYTES + encCode->len + cert->len; cert 759 net/third_party/nss/ssl/sslcon.c msg[2] = MSB(cert->len); cert 760 net/third_party/nss/ssl/sslcon.c msg[3] = LSB(cert->len); cert 763 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg + SSL_HL_CLIENT_CERTIFICATE_HBYTES, cert->data, cert->len); cert 764 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg + SSL_HL_CLIENT_CERTIFICATE_HBYTES + cert->len, cert 1903 net/third_party/nss/ssl/sslcon.c CERTCertificate *cert = NULL; cert 1910 net/third_party/nss/ssl/sslcon.c cert = CERT_NewTempCertificate(ss->dbHandle, &certItem, NULL, cert 1913 net/third_party/nss/ssl/sslcon.c if (cert == NULL) { cert 1925 net/third_party/nss/ssl/sslcon.c issuer = CERT_NameToAscii(&cert->issuer); cert 1926 net/third_party/nss/ssl/sslcon.c subject = CERT_NameToAscii(&cert->subject); cert 1937 net/third_party/nss/ssl/sslcon.c ss->sec.peerCert = cert; cert 2017 net/third_party/nss/ssl/sslcon.c CERTCertificate * cert = 0; cert 2040 net/third_party/nss/ssl/sslcon.c cert = ss->sec.peerCert; cert 2042 net/third_party/nss/ssl/sslcon.c serverKey = CERT_ExtractPublicKey(cert); cert 2291 net/third_party/nss/ssl/sslcon.c CERTCertificate * cert = NULL; /* app-selected client cert. */ cert 2320 net/third_party/nss/ssl/sslcon.c NULL, &cert, &key); cert 2332 net/third_party/nss/ssl/sslcon.c if ((!cert) || (!key)) { cert 2334 net/third_party/nss/ssl/sslcon.c if (cert) { cert 2336 net/third_party/nss/ssl/sslcon.c CERT_DestroyCertificate(cert); cert 2337 net/third_party/nss/ssl/sslcon.c cert = NULL; cert 2354 net/third_party/nss/ssl/sslcon.c ret = ssl2_SendCertificateResponseMessage(ss, &cert->derCert, &response); cert 2360 net/third_party/nss/ssl/sslcon.c ss->sec.localCert = CERT_DupCertificate(cert); cert 2365 net/third_party/nss/ssl/sslcon.c ss->sec.ci.sid->localCert = cert; cert 2366 net/third_party/nss/ssl/sslcon.c cert = NULL; cert 2377 net/third_party/nss/ssl/sslcon.c if ( cert ) { cert 2378 net/third_party/nss/ssl/sslcon.c CERT_DestroyCertificate(cert); cert 2403 net/third_party/nss/ssl/sslcon.c CERTCertificate *cert = NULL; cert 2418 net/third_party/nss/ssl/sslcon.c cert = CERT_NewTempCertificate(ss->dbHandle, &certItem, NULL, cert 2420 net/third_party/nss/ssl/sslcon.c if (cert == NULL) { cert 2425 net/third_party/nss/ssl/sslcon.c ss->sec.peerCert = cert; cert 2428 net/third_party/nss/ssl/sslcon.c pubKey = CERT_ExtractPublicKey(cert); cert 2472 net/third_party/nss/ssl/sslcon.c CERT_DestroyCertificate(cert); cert 2739 net/third_party/nss/ssl/sslcon.c PRUint8 * cert; cert 2779 net/third_party/nss/ssl/sslcon.c cert = data + SSL_HL_SERVER_HELLO_HBYTES; cert 2780 net/third_party/nss/ssl/sslcon.c cs = cert + certLen; cert 2874 net/third_party/nss/ssl/sslcon.c rv = ssl2_ClientHandleServerCert(ss, cert, certLen); cert 3311 net/third_party/nss/ssl/sslcon.c PRUint8 *cert = NULL; cert 3510 net/third_party/nss/ssl/sslcon.c cert = derCert->data; cert 3567 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg+SSL_HL_SERVER_HELLO_HBYTES, cert, certLen); cert 187 net/third_party/nss/ssl/sslimpl.h CERTCertificate * cert; cert 1641 net/third_party/nss/ssl/sslimpl.h CERTCertificate * cert, cert 1812 net/third_party/nss/ssl/sslimpl.h CERTCertificate* cert); cert 1819 net/third_party/nss/ssl/sslimpl.h CERTCertificate *cert, SECItem *buf, PRBool isTLS, cert 1854 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl_ConfigSecureServer(sslSocket *ss, CERTCertificate *cert, cert 92 net/third_party/nss/ssl/sslplatf.c if (len > 0 && (len == chain->len - 1) && node->cert->isRoot) { cert 96 net/third_party/nss/ssl/sslplatf.c SECITEM_CopyItem(arena, &chain->certs[len], &node->cert->derCert); cert 19 net/third_party/nss/ssl/sslreveal.c CERTCertificate * cert = NULL; cert 28 net/third_party/nss/ssl/sslreveal.c cert = CERT_DupCertificate(sslsocket->sec.peerCert); cert 30 net/third_party/nss/ssl/sslreveal.c return cert; cert 682 net/third_party/nss/ssl/sslsecur.c NSS_FindCertKEAType(CERTCertificate * cert) cert 687 net/third_party/nss/ssl/sslsecur.c if (!cert) goto loser; cert 689 net/third_party/nss/ssl/sslsecur.c tag = SECOID_GetAlgorithmTag(&(cert->subjectPublicKeyInfo.algorithm)); cert 740 net/third_party/nss/ssl/sslsecur.c ssl_ConfigSecureServer(sslSocket *ss, CERTCertificate *cert, cert 758 net/third_party/nss/ssl/sslsecur.c if (cert) { cert 759 net/third_party/nss/ssl/sslsecur.c sc->serverCert = CERT_DupCertificate(cert); cert 786 net/third_party/nss/ssl/sslsecur.c if (kea == kt_rsa && cert && sc->serverKeyBits > 512 && cert 816 net/third_party/nss/ssl/sslsecur.c SSL_ConfigSecureServer(PRFileDesc *fd, CERTCertificate *cert, cert 820 net/third_party/nss/ssl/sslsecur.c return SSL_ConfigSecureServerWithCertChain(fd, cert, NULL, key, kea); cert 824 net/third_party/nss/ssl/sslsecur.c SSL_ConfigSecureServerWithCertChain(PRFileDesc *fd, CERTCertificate *cert, cert 841 net/third_party/nss/ssl/sslsecur.c if (!cert != !key) { cert 852 net/third_party/nss/ssl/sslsecur.c if (kea != NSS_FindCertKEAType(cert)) { cert 857 net/third_party/nss/ssl/sslsecur.c if (cert) { cert 859 net/third_party/nss/ssl/sslsecur.c pubKey = CERT_ExtractPublicKey(cert); cert 898 net/third_party/nss/ssl/sslsecur.c if (ssl_ConfigSecureServer(ss, cert, certChainOpt, cert 1592 net/third_party/nss/ssl/sslsecur.c CERTCertificate * cert, cert 1602 net/third_party/nss/ssl/sslsecur.c if (cert) { cert 1603 net/third_party/nss/ssl/sslsecur.c CERT_DestroyCertificate(cert); cert 1617 net/third_party/nss/ssl/sslsecur.c ret = ssl3_RestartHandshakeAfterCertReq(ss, cert, key, certChain); cert 144 net/third_party/nss/ssl/sslsnce.c PRUint8 cert[SSL_MAX_CACHED_CERT_LEN]; /* 4060 */ cert 350 net/third_party/nss/ssl/sslsnce.c CacheCert(cacheDesc * cache, CERTCertificate *cert, sidCacheEntry *sce) cert 355 net/third_party/nss/ssl/sslsnce.c if ((cert->derCert.len > SSL_MAX_CACHED_CERT_LEN) || cert 356 net/third_party/nss/ssl/sslsnce.c (cert->derCert.len <= 0) || cert 357 net/third_party/nss/ssl/sslsnce.c (cert->derCert.data == NULL)) { cert 365 net/third_party/nss/ssl/sslsnce.c cce.certLength = cert->derCert.len; cert 366 net/third_party/nss/ssl/sslsnce.c PORT_Memcpy(cce.cert, cert->derCert.data, cce.certLength); cert 621 net/third_party/nss/ssl/sslsnce.c derCert.data = pcce->cert; cert 59 net/tools/quic/test_tools/quic_test_client.cc scoped_refptr<net::X509Certificate> cert = cert 61 net/tools/quic/test_tools/quic_test_client.cc if (!cert.get()) { cert 65 net/tools/quic/test_tools/quic_test_client.cc common_name_ = cert->subject().GetDisplayName(); cert 166 ppapi/cpp/private/tcp_socket_private.cc const X509CertificatePrivate& cert, cert 170 ppapi/cpp/private/tcp_socket_private.cc AddChainBuildingCertificate(pp_resource(), cert.pp_resource(), cert 175 ppapi/cpp/private/tcp_socket_private.cc AddChainBuildingCertificate(pp_resource(), cert.pp_resource(), cert 39 ppapi/cpp/private/tcp_socket_private.h bool AddChainBuildingCertificate(const X509CertificatePrivate& cert, cert 55 ppapi/tests/test_tcp_socket_private_trusted.cc const pp::X509CertificatePrivate& cert = socket.GetServerCertificate(); cert 57 ppapi/tests/test_tcp_socket_private_trusted.cc cert.GetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_COMMON_NAME).AsString(), cert 60 ppapi/tests/test_tcp_socket_private_trusted.cc cert.GetField(PP_X509CERTIFICATE_PRIVATE_SUBJECT_COMMON_NAME).AsString(), cert 67 remoting/protocol/ssl_hmac_channel_authenticator.cc scoped_refptr<net::X509Certificate> cert = cert 70 remoting/protocol/ssl_hmac_channel_authenticator.cc if (!cert.get()) { cert 81 remoting/protocol/ssl_hmac_channel_authenticator.cc cert.get(),