Searched defs:cert_data (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/ssl/
H A Dssl_add_certificate_android.cc29 const void* cert_data,
37 net::android::StoreCertificate(cert_type, cert_data, cert_size);
27 SSLAddCertificate( net::CertificateMimeType cert_type, const void* cert_data, size_t cert_size, int , int ) argument
H A Dssl_add_certificate.cc127 const void* cert_data,
138 if (cert_data != NULL) {
140 reinterpret_cast<const char*>(cert_data), cert_size);
142 // NOTE: Passing a NULL cert pointer if |cert_data| was NULL is
125 SSLAddCertificate( net::CertificateMimeType cert_type, const void* cert_data, size_t cert_size, int render_process_id, int render_frame_id) argument
/external/chromium_org/net/test/
H A Dcert_test_util.cc21 std::string cert_data; local
22 if (!base::ReadFileToString(cert_path, &cert_data))
24 return X509Certificate::CreateCertificateListFromBytes(cert_data.data(),
25 cert_data.size(),
51 std::string cert_data; local
52 if (!base::ReadFileToString(cert_path, &cert_data))
57 cert_data.data(), cert_data.size(), X509Certificate::FORMAT_AUTO);
/external/chromium_org/chrome/common/extensions/api/networking_private/
H A Dnetworking_private_crypto_openssl.cc51 std::vector<uint8_t> cert_data; local
52 if (!GetDERFromPEM(certificate, "CERTIFICATE", &cert_data)) {
58 const uint8_t* ptr = cert_data.empty() ? NULL : &cert_data[0];
59 const uint8_t* end = ptr + cert_data.size();
60 ScopedX509 cert(d2i_X509(NULL, &ptr, cert_data.size()));
H A Dnetworking_private_crypto_nss.cc55 std::vector<uint8_t> cert_data; local
56 if (!GetDERFromPEM(certificate, "CERTIFICATE", &cert_data)) {
62 der_cert.data = cert_data.data();
63 der_cert.len = cert_data.size();
/external/chromium_org/net/cert/
H A Dx509_util_openssl_unittest.cc25 const unsigned char* cert_data = local
28 ScopedX509 cert(d2i_X509(NULL, &cert_data, cert_data_len));
54 const unsigned char* cert_data = local
57 ScopedX509 cert(d2i_X509(NULL, &cert_data, cert_data_len));
H A Dx509_util_mac.cc190 CSSM_DATA cert_data; local
191 OSStatus status = SecCertificateGetData(os_cert_handle, &cert_data);
200 status = CSSM_CL_CertCache(cl_handle_, &cert_data, &cached_cert_handle_);
H A Dcert_verify_proc_mac.cc253 CSSM_DATA cert_data; local
254 OSStatus err = SecCertificateGetData(cert, &cert_data);
256 base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data),
257 cert_data.Length);
283 CSSM_DATA cert_data; local
284 OSStatus err = SecCertificateGetData(cert, &cert_data);
289 base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data),
290 cert_data.Length);
H A Dx509_certificate_mac.cc302 CSSM_DATA cert_data; local
303 cert_data.Data = const_cast<uint8*>(reinterpret_cast<const uint8*>(data));
304 cert_data.Length = length;
307 OSStatus status = SecCertificateCreateFromData(&cert_data,
363 CSSM_DATA cert_data; local
364 OSStatus status = SecCertificateGetData(cert, &cert_data);
368 DCHECK(cert_data.Data);
369 DCHECK_NE(cert_data.Length, 0U);
371 CC_SHA1(cert_data.Data, cert_data
386 CSSM_DATA cert_data; local
462 CSSM_DATA cert_data; local
[all...]
/external/chromium_org/net/extras/sqlite/
H A Dsqlite_channel_id_store_unittest.cc216 std::string cert_data; local
217 ReadTestKeyAndCert(&key_data, &cert_data);
237 add_smt.BindBlob(2, cert_data.data(), cert_data.size());
283 std::string cert_data; local
284 ReadTestKeyAndCert(&key_data, &cert_data);
306 add_smt.BindBlob(2, cert_data.data(), cert_data.size());
332 ASSERT_EQ(cert_data, channel_ids[0]->cert());
364 std::string cert_data; local
449 std::string cert_data; local
[all...]
/external/chromium_org/net/ocsp/
H A Dnss_ocsp_unittest.cc45 AiaResponseHandler(const std::string& headers, const std::string& cert_data) argument
46 : headers_(headers), cert_data_(cert_data), request_count_(0) {}
/external/chromium_org/net/http/
H A Ddisk_based_cert_cache_unittest.cc122 // Stores the certificate corresponding to |cert_data| in |backend|. If
126 const TestCertMetaData& cert_data,
131 backend->CreateEntry(cert_data.cache_key, &entry, callback.callback());
134 ImportCertFromFile(GetTestCertsDirectory(), cert_data.file_name));
155 // Checks that the the certificate corresponding to |cert_data| is an existing,
158 const TestCertMetaData& cert_data) {
161 int rv = backend->OpenEntry(cert_data.cache_key, &entry, callback.callback());
164 ImportCertFromFile(GetTestCertsDirectory(), cert_data.file_name));
125 ImportCert(disk_cache::Backend* backend, const TestCertMetaData& cert_data, bool corrupt_data) argument
157 CheckCertCached(disk_cache::Backend* backend, const TestCertMetaData& cert_data) argument
/external/chromium_org/content/public/browser/
H A Dcontent_browser_client.h404 // well-formed. |cert_data| will be NULL if |cert_size| is 0.
406 const void* cert_data,
405 AddCertificate(net::CertificateMimeType cert_type, const void* cert_data, size_t cert_size, int render_process_id, int render_frame_id) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Ddownload_protection_service_unittest.cc165 std::string cert_data; local
166 ASSERT_TRUE(base::ReadFileToString(certificate_file, &cert_data));
169 chain->add_element()->set_certificate(cert_data);
170 chain->add_element()->set_certificate(cert_data);
290 std::string cert_data; local
292 &cert_data)) {
297 cert_data.data(),
298 cert_data.size(),
/external/chromium_org/android_webview/browser/
H A Daw_content_browser_client.cc198 const void* cert_data,
203 net::android::StoreCertificate(cert_type, cert_data, cert_size);
197 AddCertificate(net::CertificateMimeType cert_type, const void* cert_data, size_t cert_size, int render_process_id, int render_frame_id) argument
/external/chromium_org/chrome/browser/
H A Dchrome_content_browser_client.cc1801 const void* cert_data,
1805 chrome::SSLAddCertificate(cert_type, cert_data, cert_size,
1799 AddCertificate( net::CertificateMimeType cert_type, const void* cert_data, size_t cert_size, int render_process_id, int render_frame_id) argument

Completed in 335 milliseconds