Home
last modified time | relevance | path

Searched refs:cert_chain (Results 1 – 21 of 21) sorted by relevance

/external/chromium/android/net/
Dandroid_network_library_impl.cc19 const std::vector<std::string> cert_chain) { in GetCertificateByteArray() argument
20 size_t count = cert_chain.size(); in GetCertificateByteArray()
30 size_t len = cert_chain[i].length(); in GetCertificateByteArray()
40 size_t copied = cert_chain[i].copy(reinterpret_cast<char*>(bytes), len); in GetCertificateByteArray()
53 const std::vector<std::string>& cert_chain, in VerifyX509CertChain() argument
71 jobjectArray chain_byte_array = GetCertificateByteArray(env, cert_chain); in VerifyX509CertChain()
Dandroid_network_library_impl.h23 const std::vector<std::string>& cert_chain,
/external/openssl/patches/
Djsse.patch33 +int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
107 + STACK_OF(X509) *cert_chain;
110 + cert_chain = SSL_get_certificate_chain(s, x);
112 + if ((s->mode & SSL_MODE_NO_AUTO_CHAIN) || s->ctx->extra_certs || cert_chain)
120 + for (i=0; i<sk_X509_num(cert_chain); i++)
121 + if (ssl3_add_cert_to_buf(buf, &l, sk_X509_value(cert_chain,i)))
349 + STACK_OF(X509) *cert_chain;
359 +int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain)
376 + ssl->cert->key->cert_chain = cert_chain;
391 + return ssl->cert->pkeys[i].cert_chain;
/external/chromium/net/base/
Dx509_certificate_mac.cc1175 CFArrayRef cert_chain = NULL; in IsIssuedBy() local
1177 result = CopyCertChain(os_cert_handle(), &cert_chain); in IsIssuedBy()
1180 ScopedCFTypeRef<CFArrayRef> scoped_cert_chain(cert_chain); in IsIssuedBy()
1183 int n = CFArrayGetCount(cert_chain); in IsIssuedBy()
1186 const_cast<void*>(CFArrayGetValueAtIndex(cert_chain, i))); in IsIssuedBy()
1305 CFArrayRef cert_chain = NULL; in CreateClientCertificateChain() local
1306 result = CopyCertChain(cert_handle_, &cert_chain); in CreateClientCertificateChain()
1307 ScopedCFTypeRef<CFArrayRef> scoped_cert_chain(cert_chain); in CreateClientCertificateChain()
1314 if (cert_chain) { in CreateClientCertificateChain()
1315 int chain_count = CFArrayGetCount(cert_chain); in CreateClientCertificateChain()
[all …]
Dandroid_network_library.h34 const std::vector<std::string>& cert_chain,
Dx509_certificate_unittest.cc476 scoped_refptr<X509Certificate> cert_chain = in TEST() local
483 int error = cert_chain->Verify("www.us.army.mil", flags, &verify_result); in TEST()
503 scoped_refptr<X509Certificate> cert_chain = in TEST() local
512 int error = cert_chain->Verify("www.nist.gov", flags, &verify_result); in TEST()
560 scoped_refptr<X509Certificate> cert_chain = in TEST() local
568 int error = cert_chain->Verify("www.nist.gov", flags, &verify_result); in TEST()
/external/openssl/ssl/
Ds3_both.c350 STACK_OF(X509) *cert_chain; in ssl3_output_cert_chain()
352 cert_chain = SSL_get_certificate_chain(s, x); in ssl3_output_cert_chain()
354 if ((s->mode & SSL_MODE_NO_AUTO_CHAIN) || s->ctx->extra_certs || cert_chain) in ssl3_output_cert_chain()
406 for (i=0; i<sk_X509_num(cert_chain); i++) in ssl3_output_cert_chain()
407 if (ssl3_add_cert_to_buf(buf, &l, sk_X509_value(cert_chain,i))) in ssl3_output_cert_chain()
Dssl_rsa.c700 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain) in SSL_use_certificate_chain() argument
717 ssl->cert->key->cert_chain = cert_chain; in SSL_use_certificate_chain()
732 return ssl->cert->pkeys[i].cert_chain; in STACK_OF()
Dssl_cert.c473 if (sc->cert_chain != NULL) in ssl_sess_cert_free()
474 sk_X509_pop_free(sc->cert_chain, X509_free); in ssl_sess_cert_free()
Dssl_locl.h484 STACK_OF(X509) *cert_chain;
526 STACK_OF(X509) *cert_chain; /* as received from peer (not for SSL2) */
Ds3_srvr.c3336 if (s->session->sess_cert->cert_chain != NULL) in ssl3_get_client_certificate()
3337 sk_X509_pop_free(s->session->sess_cert->cert_chain, X509_free); in ssl3_get_client_certificate()
3338 s->session->sess_cert->cert_chain=sk; in ssl3_get_client_certificate()
Dssl.h1765 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
Dssl_lib.c854 r=s->session->sess_cert->cert_chain; in STACK_OF()
Ds3_clnt.c1257 sc->cert_chain=sk; in ssl3_get_server_certificate()
/external/chromium/chrome/common/net/
Dx509_certificate_model_nss.cc332 string GetCMSString(const X509Certificate::OSCertHandles& cert_chain, in GetCMSString() argument
342 message.get(), cert_chain[start], PR_FALSE)); in GetCMSString()
349 if (NSS_CMSSignedData_AddCertificate(signed_data.get(), cert_chain[i]) != in GetCMSString()
Dx509_certificate_model.h114 std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain,
Dx509_certificate_model_openssl.cc232 std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain, in GetCMSString() argument
/external/chromium/chrome/browser/ui/gtk/
Dcertificate_viewer.cc712 net::X509Certificate::OSCertHandles cert_chain; in ShowCertificateViewer() local
713 x509_certificate_model::GetCertChainFromCert(cert, &cert_chain); in ShowCertificateViewer()
714 (new CertificateViewer(parent, cert_chain))->Show(); in ShowCertificateViewer()
/external/chromium/net/tools/testserver/
Dtestserver.py80 self.cert_chain = tlslite.api.X509CertChain([x509])
100 tlsConnection.handshakeServer(certChain=self.cert_chain,
/external/openssl/apps/
Ds_server.c308 static int cert_chain = 0; variable
1274 cert_chain = 1; in MAIN()
/external/openssl/include/openssl/
Dssl.h1765 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);