/external/chromium_org/net/cert/ |
D | x509_util_nss_unittest.cc | 24 SECItem der_cert; in CreateNSSCertHandleFromBytes() local 25 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); in CreateNSSCertHandleFromBytes() 26 der_cert.len = length; in CreateNSSCertHandleFromBytes() 27 der_cert.type = siDERCertBuffer; in CreateNSSCertHandleFromBytes() 30 return CERT_NewTempCertificate(CERT_GetDefaultCertDB(), &der_cert, NULL, in CreateNSSCertHandleFromBytes() 35 void VerifyCertificateSignature(const std::string& der_cert, in VerifyCertificateSignature() argument 44 reinterpret_cast<unsigned char*>(const_cast<char*>(der_cert.data())), in VerifyCertificateSignature() 45 static_cast<unsigned int>(der_cert.size()) in VerifyCertificateSignature() 80 const std::string& der_cert) { in VerifyDomainBoundCert() argument 117 der_cert.data(), der_cert.size()); in VerifyDomainBoundCert() [all …]
|
D | x509_util_openssl_unittest.cc | 20 void VerifyCertificateSignature(const std::string& der_cert, in VerifyCertificateSignature() argument 23 reinterpret_cast<const unsigned char*>(der_cert.data()); in VerifyCertificateSignature() 24 int cert_data_len = static_cast<int>(der_cert.size()); in VerifyCertificateSignature() 46 const std::string& der_cert) { in VerifyDomainBoundCert() argument 54 reinterpret_cast<const unsigned char*>(der_cert.data()); in VerifyDomainBoundCert() 55 int cert_data_len = static_cast<int>(der_cert.size()); in VerifyDomainBoundCert() 122 std::string der_cert; in TEST() local 130 &der_cert)); in TEST() 132 VerifyDomainBoundCert(domain, der_cert); in TEST() 137 VerifyCertificateSignature(der_cert, spki); in TEST()
|
D | x509_util_unittest.cc | 60 std::string der_cert; in TEST() local 67 &der_cert)); in TEST() 72 der_cert.data(), der_cert.size())); in TEST() 173 std::string der_cert; in TEST() local 181 &der_cert)); in TEST() 184 X509Certificate::CreateFromBytes(der_cert.data(), der_cert.size()); in TEST()
|
D | x509_util_ios.cc | 36 SECItem der_cert; in CreateNSSCertHandleFromBytes() local 37 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); in CreateNSSCertHandleFromBytes() 38 der_cert.len = length; in CreateNSSCertHandleFromBytes() 39 der_cert.type = siDERCertBuffer; in CreateNSSCertHandleFromBytes() 42 return CERT_NewTempCertificate(CERT_GetDefaultCertDB(), &der_cert, NULL, in CreateNSSCertHandleFromBytes()
|
D | x509_util.h | 53 std::string* der_cert); 62 std::string* der_cert); 87 std::string* der_cert); 98 std::string* der_cert);
|
D | x509_util.cc | 63 std::string* der_cert) { in CreateKeyAndDomainBoundCertEC() argument 74 der_cert); in CreateKeyAndDomainBoundCertEC() 86 std::string* der_cert) { in CreateKeyAndSelfSignedCert() argument 98 der_cert); in CreateKeyAndSelfSignedCert()
|
D | x509_certificate_nss.cc | 181 SECItem der_cert; in CreateOSCertHandleFromBytesWithNickname() local 182 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); in CreateOSCertHandleFromBytesWithNickname() 183 der_cert.len = length; in CreateOSCertHandleFromBytesWithNickname() 184 der_cert.type = siDERCertBuffer; in CreateOSCertHandleFromBytesWithNickname() 187 return CERT_NewTempCertificate(CERT_GetDefaultCertDB(), &der_cert, in CreateOSCertHandleFromBytesWithNickname()
|
D | x509_util_nss.cc | 259 std::string* der_cert) { in CreateSelfSignedCert() argument 275 der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), in CreateSelfSignedCert() 300 std::string* der_cert) { in CreateDomainBoundCertEC() argument 364 der_cert->clear(); in CreateDomainBoundCertEC() 365 der_cert->append(reinterpret_cast<char*>(cert->derCert.data), in CreateDomainBoundCertEC()
|
D | ct_objects_extractor_nss.cc | 47 SECItem der_cert; in NSSCertWrapper() 51 der_cert.data = in NSSCertWrapper() 53 der_cert.len = der_data.size(); in NSSCertWrapper() 59 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE)); in NSSCertWrapper()
|
/external/chromium_org/net/ssl/ |
D | server_bound_cert_service_unittest.cc | 164 std::string private_key, der_cert; in TEST_F() local 167 host, &private_key, &der_cert, callback.callback(), &request_handle); in TEST_F() 171 EXPECT_TRUE(der_cert.empty()); in TEST_F() 346 std::string private_key_info, der_cert; in TEST_F() local 352 host, &private_key_info, &der_cert, callback.callback(), in TEST_F() 360 ASSERT_TRUE(asn1::ExtractSPKIFromDERCert(der_cert, &spki_piece)); in TEST_F() 374 X509Certificate::CreateFromBytes(der_cert.data(), der_cert.size())); in TEST_F() 381 std::string private_key_info, der_cert; in TEST_F() local 387 &der_cert, in TEST_F() 407 std::string private_key_info, der_cert; in TEST_F() local [all …]
|
D | ssl_config_service.cc | 60 std::string der_cert; in IsAllowedBadCert() local 61 if (!X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_cert)) in IsAllowedBadCert() 63 return IsAllowedBadCert(der_cert, cert_status); in IsAllowedBadCert() 66 bool SSLConfig::IsAllowedBadCert(const base::StringPiece& der_cert, in IsAllowedBadCert() argument 69 if (der_cert == allowed_bad_certs[i].der_cert) { in IsAllowedBadCert()
|
D | ssl_config_service.h | 49 bool IsAllowedBadCert(const base::StringPiece& der_cert, 125 std::string der_cert; member
|
/external/chromium_org/chrome/browser/extensions/api/cast_channel/ |
D | cast_auth_util_nss.cc | 88 SECItem der_cert; in VerifyCredentials() local 89 der_cert.type = siDERCertBuffer; in VerifyCredentials() 91 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>( in VerifyCredentials() 93 der_cert.len = certificate.length(); in VerifyCredentials() 97 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE)); in VerifyCredentials()
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
D | networking_private_crypto.cc | 86 SECItem der_cert; in VerifyCredentials() local 87 der_cert.type = siDERCertBuffer; in VerifyCredentials() 88 der_cert.data = reinterpret_cast<unsigned char*>( in VerifyCredentials() 90 der_cert.len = cert_data.length(); in VerifyCredentials() 99 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE)); in VerifyCredentials()
|
/external/chromium_org/remoting/base/ |
D | rsa_key_pair.cc | 93 std::string der_cert; in GenerateCertificate() local 104 &der_cert); in GenerateCertificate() 105 return der_cert; in GenerateCertificate()
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | webrtcsessiondescriptionfactory.h | 56 virtual void OnSuccess(const std::string& der_cert, in OnSuccess() argument 58 SignalIdentityReady(der_cert, der_private_key); in OnSuccess() 146 void OnIdentityReady(const std::string& der_cert,
|
D | webrtcsessiondescriptionfactory.cc | 412 const std::string& der_cert, in OnIdentityReady() argument 419 reinterpret_cast<const unsigned char*>(der_cert.data()), in OnIdentityReady() 420 der_cert.length()); in OnIdentityReady()
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
D | fakedtlsidentityservice.h | 125 std::string* der_cert, in GenerateIdentity() argument 127 talk_base::SSLIdentity::PemToDer("CERTIFICATE", kCERT_PEM, der_cert); in GenerateIdentity()
|
/external/chromium/net/socket/ |
D | ssl_host_info.cc | 91 std::string der_cert; in ParseInner() local 92 if (!p.ReadString(&iter, &der_cert)) in ParseInner() 94 state->certs.push_back(der_cert); in ParseInner()
|
D | ssl_server_socket_nss.cc | 287 SECItem der_cert; in InitializeSSLOptions() local 288 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>( in InitializeSSLOptions() 290 der_cert.len = der_string.length(); in InitializeSSLOptions() 291 der_cert.type = siDERCertBuffer; in InitializeSSLOptions() 295 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE); in InitializeSSLOptions()
|
D | ssl_client_socket_nss.cc | 1966 SECItem der_cert; in PlatformClientAuthHandler() local 1967 der_cert.type = siDERCertBuffer; in PlatformClientAuthHandler() 1968 der_cert.data = cert_context->pbCertEncoded; in PlatformClientAuthHandler() 1969 der_cert.len = cert_context->cbCertEncoded; in PlatformClientAuthHandler() 1975 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler() 1983 der_cert.data = (*it)->pbCertEncoded; in PlatformClientAuthHandler() 1984 der_cert.len = (*it)->cbCertEncoded; in PlatformClientAuthHandler() 1987 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler() 2125 SECItem der_cert; in PlatformClientAuthHandler() local 2126 der_cert.type = siDERCertBuffer; in PlatformClientAuthHandler() [all …]
|
/external/chromium/net/base/ |
D | x509_certificate.cc | 188 static X509Certificate::OSCertHandle CreateOSCert(base::StringPiece der_cert) { in CreateOSCert() argument 192 reinterpret_cast<const BYTE*>(der_cert.data()), der_cert.size(), in CreateOSCert() 197 static X509Certificate::OSCertHandle CreateOSCert(base::StringPiece der_cert) { in CreateOSCert() argument 199 const_cast<char*>(der_cert.data()), der_cert.size()); in CreateOSCert()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | nssidentity.cc | 137 SECItem der_cert; in FromPEMString() local 138 der_cert.data = reinterpret_cast<unsigned char *>(const_cast<char *>( in FromPEMString() 140 der_cert.len = der.size(); in FromPEMString() 142 &der_cert, NULL, PR_FALSE, PR_TRUE); in FromPEMString()
|
/external/chromium_org/net/socket/ |
D | ssl_server_socket_nss.cc | 423 SECItem der_cert; in InitializeSSLOptions() local 424 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>( in InitializeSSLOptions() 426 der_cert.len = der_string.length(); in InitializeSSLOptions() 427 der_cert.type = siDERCertBuffer; in InitializeSSLOptions() 431 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE); in InitializeSSLOptions()
|
D | ssl_client_socket_nss.cc | 1383 SECItem der_cert; in PlatformClientAuthHandler() local 1384 der_cert.type = siDERCertBuffer; in PlatformClientAuthHandler() 1385 der_cert.data = cert_context->pbCertEncoded; in PlatformClientAuthHandler() 1386 der_cert.len = cert_context->cbCertEncoded; in PlatformClientAuthHandler() 1391 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler() 1406 der_cert.data = (*it)->pbCertEncoded; in PlatformClientAuthHandler() 1407 der_cert.len = (*it)->cbCertEncoded; in PlatformClientAuthHandler() 1410 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler() 1494 SECItem der_cert; in PlatformClientAuthHandler() local 1495 der_cert.type = siDERCertBuffer; in PlatformClientAuthHandler() [all …]
|