/external/chromium/net/base/ |
cert_test_util.cc | 28 std::string cert_data; local 29 if (!file_util::ReadFileToString(cert_path, &cert_data)) 34 cert_data.data(), cert_data.size(), X509Certificate::FORMAT_AUTO);
|
cert_database_nss_unittest.cc | 86 std::string cert_data = ReadTestFile(name); local 87 if (cert_data.empty()) 91 cert_data.data(), cert_data.size()); 187 std::string cert_data = ReadTestFile("root_ca_cert.crt"); local 191 cert_data.data(), cert_data.size(), X509Certificate::FORMAT_AUTO); 219 std::string cert_data = ReadTestFile("root_ca_cert.crt"); local 223 cert_data.data(), cert_data.size(), X509Certificate::FORMAT_AUTO) 250 std::string cert_data = ReadTestFile("root_ca_cert.crt"); local 281 std::string cert_data = ReadTestFile("google.single.pem"); local 408 std::string cert_data = ReadTestFile("root_ca_cert.crt"); local 439 std::string cert_data = ReadTestFile("google.chain.pem"); local [all...] |
x509_certificate_unittest.cc | 177 std::string cert_data; local 178 if (!file_util::ReadFileToString(cert_path, &cert_data)) 180 return X509Certificate::CreateCertificateListFromBytes(cert_data.data(), 181 cert_data.size(), [all...] |
x509_certificate_mac.cc | 148 CSSM_DATA cert_data; local 149 OSStatus status = SecCertificateGetData(cert_handle, &cert_data); 159 status = CSSM_CL_CertGetAllFields(fields->cl_handle, &cert_data, 586 CSSM_DATA cert_data; local 587 OSStatus err = SecCertificateGetData(cert, &cert_data); 589 base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data), 590 cert_data.Length); 1061 CSSM_DATA cert_data; local 1121 CSSM_DATA cert_data; local 1341 CSSM_DATA cert_data; local [all...] |
/external/chromium_org/net/test/ |
cert_test_util.cc | 21 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/browser/extensions/api/networking_private/ |
networking_private_crypto.cc | 81 std::string cert_data; local 82 if (!GetDERFromPEM(certificate, "CERTIFICATE", &cert_data)) { 89 const_cast<char*>(cert_data.c_str())); 90 der_cert.len = cert_data.length();
|
/external/chromium_org/chrome/browser/net/ |
sqlite_server_bound_cert_store_unittest.cc | 168 std::string cert_data; local 169 ReadTestKeyAndCert(&key_data, &cert_data); 189 add_smt.BindBlob(2, cert_data.data(), cert_data.size()); 236 std::string cert_data; local 237 ReadTestKeyAndCert(&key_data, &cert_data); 260 add_smt.BindBlob(2, cert_data.data(), cert_data.size()); 288 ASSERT_EQ(cert_data, certs[0]->cert()); 320 std::string cert_data; local 408 std::string cert_data; local [all...] |
/external/chromium_org/net/cert/ |
x509_util_openssl_unittest.cc | 22 const unsigned char* cert_data = local 26 d2i_X509(NULL, &cert_data, cert_data_len)); 53 const unsigned char* cert_data = local 57 d2i_X509(NULL, &cert_data, cert_data_len));
|
x509_util_mac.cc | 190 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_);
|
cert_verify_proc_mac.cc | 247 CSSM_DATA cert_data; local 248 OSStatus err = SecCertificateGetData(cert, &cert_data); 250 base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data), 251 cert_data.Length); 277 CSSM_DATA cert_data; local 278 OSStatus err = SecCertificateGetData(cert, &cert_data); 283 base::StringPiece der_bytes(reinterpret_cast<const char*>(cert_data.Data), 284 cert_data.Length);
|
x509_certificate_mac.cc | 344 CSSM_DATA cert_data; local 345 cert_data.Data = const_cast<uint8*>(reinterpret_cast<const uint8*>(data)); 346 cert_data.Length = length; 349 OSStatus status = SecCertificateCreateFromData(&cert_data, 404 CSSM_DATA cert_data; local 405 OSStatus status = SecCertificateGetData(cert, &cert_data); 409 DCHECK(cert_data.Data); 410 DCHECK_NE(cert_data.Length, 0U); 412 CC_SHA1(cert_data.Data, cert_data.Length, sha1.data) 427 CSSM_DATA cert_data; local 503 CSSM_DATA cert_data; local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
download_protection_service_unittest.cc | 120 std::string cert_data; local 121 ASSERT_TRUE(base::ReadFileToString(certificate_file, &cert_data)); 124 chain->add_element()->set_certificate(cert_data); 125 chain->add_element()->set_certificate(cert_data); 240 std::string cert_data; local 242 &cert_data)) { 247 cert_data.data(), 248 cert_data.size(), [all...] |