/external/chromium/android/net/ |
D | android_network_library_impl.cc | 19 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()
|
D | android_network_library_impl.h | 23 const std::vector<std::string>& cert_chain,
|
/external/openssl/patches/ |
D | jsse.patch | 33 +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/ |
D | x509_certificate_mac.cc | 1175 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 …]
|
D | android_network_library.h | 34 const std::vector<std::string>& cert_chain,
|
D | x509_certificate_unittest.cc | 476 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/ |
D | s3_both.c | 350 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()
|
D | ssl_rsa.c | 700 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()
|
D | ssl_cert.c | 473 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()
|
D | ssl_locl.h | 484 STACK_OF(X509) *cert_chain; 526 STACK_OF(X509) *cert_chain; /* as received from peer (not for SSL2) */
|
D | s3_srvr.c | 3336 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()
|
D | ssl.h | 1765 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
|
D | ssl_lib.c | 854 r=s->session->sess_cert->cert_chain; in STACK_OF()
|
D | s3_clnt.c | 1257 sc->cert_chain=sk; in ssl3_get_server_certificate()
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 332 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()
|
D | x509_certificate_model.h | 114 std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain,
|
D | x509_certificate_model_openssl.cc | 232 std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain, in GetCMSString() argument
|
/external/chromium/chrome/browser/ui/gtk/ |
D | certificate_viewer.cc | 712 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/ |
D | testserver.py | 80 self.cert_chain = tlslite.api.X509CertChain([x509]) 100 tlsConnection.handshakeServer(certChain=self.cert_chain,
|
/external/openssl/apps/ |
D | s_server.c | 308 static int cert_chain = 0; variable 1274 cert_chain = 1; in MAIN()
|
/external/openssl/include/openssl/ |
D | ssl.h | 1765 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
|