/external/chromium_org/net/ssl/ |
D | client_cert_store_mac.cc | 90 CFArrayRef cert_chain = NULL; in IsIssuedByInKeychain() local 91 OSStatus result = CopyCertChain(cert_handle, &cert_chain); in IsIssuedByInKeychain() 97 if (!cert_chain) in IsIssuedByInKeychain() 101 for (CFIndex i = 1, chain_count = CFArrayGetCount(cert_chain); in IsIssuedByInKeychain() 104 const_cast<void*>(CFArrayGetValueAtIndex(cert_chain, i))); in IsIssuedByInKeychain() 110 CFRelease(cert_chain); // Also frees |intermediates|. in IsIssuedByInKeychain()
|
/external/chromium_org/chrome/browser/ui/ |
D | certificate_dialogs.cc | 200 net::X509Certificate::OSCertHandles cert_chain; in ShowCertExportDialog() local 201 cert_chain.push_back(cert->os_cert_handle()); in ShowCertExportDialog() 204 cert_chain.insert(cert_chain.end(), certs.begin(), certs.end()); in ShowCertExportDialog() 205 new Exporter(web_contents, parent, cert_chain.begin(), cert_chain.end()); in ShowCertExportDialog()
|
/external/openssl/patches/ |
D | 0003-jsse.patch | 41 +int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain); 115 + STACK_OF(X509) *cert_chain; 118 + cert_chain = SSL_get_certificate_chain(s, x); 120 + if ((s->mode & SSL_MODE_NO_AUTO_CHAIN) || s->ctx->extra_certs || cert_chain) 128 + for (i=0; i<sk_X509_num(cert_chain); i++) 129 + if (ssl3_add_cert_to_buf(buf, &l, sk_X509_value(cert_chain,i))) 357 + STACK_OF(X509) *cert_chain; 367 +int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain) 384 + if (ssl->cert->key->cert_chain != NULL) 385 + sk_X509_pop_free(ssl->cert->key->cert_chain, X509_free); [all …]
|
/external/chromium_org/chrome/browser/ui/android/ |
D | website_settings_popup_android.cc | 47 std::vector<std::string> cert_chain; in GetCertificateChain() local 55 cert_chain.reserve(cert_handles.size()); in GetCertificateChain() 62 cert_chain.push_back(cert_bytes); in GetCertificateChain() 66 return base::android::ToJavaArrayOfByteArray(env, cert_chain).Release(); in GetCertificateChain()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | certificate_viewer_webui.cc | 104 net::X509Certificate::OSCertHandles cert_chain; in GetDialogArgs() local 105 cert_chain.push_back(cert_->os_cert_handle()); in GetDialogArgs() 108 cert_chain.insert(cert_chain.end(), certs.begin(), certs.end()); in GetDialogArgs() 129 cert_chain.front())))); in GetDialogArgs() 175 cert_chain.begin(); i != cert_chain.end(); ++i, ++index) { in GetDialogArgs()
|
/external/chromium_org/net/cert/ |
D | x509_certificate_nss.cc | 125 std::vector<CERTCertificate*> cert_chain; in IsIssuedByEncoded() local 126 cert_chain.push_back(cert_handle_); in IsIssuedByEncoded() 128 cert_chain.push_back(intermediate_ca_certs_[n]); in IsIssuedByEncoded() 138 return x509_util::IsCertificateIssuedBy(cert_chain, issuers); in IsIssuedByEncoded()
|
D | cert_verify_proc_unittest.cc | 295 scoped_refptr<X509Certificate> cert_chain = in TEST_F() local 302 int error = Verify(cert_chain.get(), in TEST_F() 393 scoped_refptr<X509Certificate> cert_chain = in TEST_F() local 398 int error = Verify(cert_chain.get(), in TEST_F() 452 scoped_refptr<X509Certificate> cert_chain = in TEST_F() local 458 int error = Verify(cert_chain.get(), in TEST_F() 491 scoped_refptr<X509Certificate> cert_chain = in TEST_F() local 497 int error = Verify(cert_chain.get(), in TEST_F() 508 error = Verify(cert_chain.get(), in TEST_F() 632 scoped_refptr<X509Certificate> cert_chain = in TEST_F() local [all …]
|
D | x509_util_ios.h | 64 const std::vector<CERTCertificate*>& cert_chain() const;
|
D | x509_util_nss.h | 80 bool IsCertificateIssuedBy(const std::vector<CERTCertificate*>& cert_chain,
|
D | x509_certificate_unittest.cc | 729 scoped_refptr<X509Certificate> cert_chain = in TEST() local 738 EXPECT_TRUE(cert_chain->IsIssuedByEncoded(issuers)); in TEST() 743 EXPECT_TRUE(cert_chain->IsIssuedByEncoded(issuers)); in TEST() 749 EXPECT_TRUE(cert_chain->IsIssuedByEncoded(issuers)); in TEST() 753 EXPECT_FALSE(cert_chain->IsIssuedByEncoded(issuers)); in TEST() 760 EXPECT_FALSE(cert_chain->IsIssuedByEncoded(issuers)); in TEST()
|
D | cert_verify_proc_mac.cc | 181 void GetCertChainInfo(CFArrayRef cert_chain, in GetCertChainInfo() argument 186 for (CFIndex i = 0, count = CFArrayGetCount(cert_chain); i < count; ++i) { in GetCertChainInfo() 188 const_cast<void*>(CFArrayGetValueAtIndex(cert_chain, i))); in GetCertChainInfo()
|
D | x509_util_nss.cc | 594 bool IsCertificateIssuedBy(const std::vector<CERTCertificate*>& cert_chain, in IsCertificateIssuedBy() argument 596 for (size_t n = 0; n < cert_chain.size(); ++n) { in IsCertificateIssuedBy() 597 CERTName* cert_issuer = &cert_chain[n]->issuer; in IsCertificateIssuedBy()
|
D | x509_util_ios.cc | 136 const std::vector<CERTCertificate*>& NSSCertChain::cert_chain() const { in cert_chain() function in net::x509_util_ios::NSSCertChain
|
D | x509_certificate.cc | 317 std::vector<base::StringPiece> cert_chain; in CreateFromPickle() local 323 cert_chain.push_back(base::StringPiece(data, data_length)); in CreateFromPickle() 325 return CreateFromDERCertChain(cert_chain); in CreateFromPickle()
|
D | x509_certificate_ios.cc | 85 nss_chain.cert_chain(), issuers); in IsIssuedByEncoded()
|
/external/chromium_org/chrome/browser/chromeos/login/test/ |
D | https_forwarder.py | 102 self.cert_chain = tlslite.api.X509CertChain() 103 self.cert_chain.parsePemList(pem_cert_and_key) 126 tlsConnection.handshakeServer(certChain=self.cert_chain,
|
/external/openssl/ssl/ |
D | ssl_rsa.c | 700 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain) in SSL_use_certificate_chain() argument 717 if (ssl->cert->key->cert_chain != NULL) in SSL_use_certificate_chain() 718 sk_X509_pop_free(ssl->cert->key->cert_chain, X509_free); in SSL_use_certificate_chain() 719 ssl->cert->key->cert_chain = cert_chain; in SSL_use_certificate_chain() 734 return ssl->cert->pkeys[i].cert_chain; in STACK_OF()
|
D | s3_both.c | 356 STACK_OF(X509) *cert_chain; in ssl3_output_cert_chain() 358 cert_chain = SSL_get_certificate_chain(s, x); in ssl3_output_cert_chain() 360 if ((s->mode & SSL_MODE_NO_AUTO_CHAIN) || s->ctx->extra_certs || cert_chain) in ssl3_output_cert_chain() 412 for (i=0; i<sk_X509_num(cert_chain); i++) in ssl3_output_cert_chain() 413 if (ssl3_add_cert_to_buf(buf, &l, sk_X509_value(cert_chain,i))) in ssl3_output_cert_chain()
|
/external/chromium_org/chrome/browser/net/ |
D | chrome_fraudulent_certificate_reporter.cc | 50 std::string* cert_chain = request.mutable_cert_chain(); in BuildReport() local 52 *cert_chain += pem_encoded_chain[i]; in BuildReport()
|
D | cert_logger.proto | 31 required string cert_chain = 2; field
|
/external/chromium_org/net/android/ |
D | network_library.cc | 25 void VerifyX509CertChain(const std::vector<std::string>& cert_chain, in VerifyX509CertChain() argument 34 ToJavaArrayOfByteArray(env, cert_chain); in VerifyX509CertChain()
|
D | network_library.h | 24 void VerifyX509CertChain(const std::vector<std::string>& cert_chain,
|
/external/chromium_org/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 226 string GetCMSString(const X509Certificate::OSCertHandles& cert_chain, in GetCMSString() argument 236 message.get(), cert_chain[start], PR_FALSE)); in GetCMSString() 243 if (NSS_CMSSignedData_AddCertificate(signed_data.get(), cert_chain[i]) != in GetCMSString()
|
D | x509_certificate_model.h | 89 std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain,
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | certificate_viewer_mac.mm | 81 base::ScopedCFTypeRef<CFArrayRef> cert_chain( 83 NSArray* certificates = base::mac::CFToNSCast(cert_chain.get());
|