Home
last modified time | relevance | path

Searched refs:der_cert (Results 1 – 7 of 7) sorted by relevance

/external/chromium/net/socket/
Dssl_host_info.cc91 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()
Dssl_server_socket_nss.cc287 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()
Dssl_client_socket_nss.cc1966 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 …]
Dssl_client_socket_nss.h110 static X509Certificate::OSCertHandle CreateOSCert(const SECItem& der_cert);
/external/chromium/net/base/
Dx509_certificate.cc188 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()
Dx509_certificate_nss.cc924 SECItem der_cert; in CreateOSCertHandleFromBytes() local
925 der_cert.data = reinterpret_cast<unsigned char*>(const_cast<char*>(data)); in CreateOSCertHandleFromBytes()
926 der_cert.len = length; in CreateOSCertHandleFromBytes()
927 der_cert.type = siDERCertBuffer; in CreateOSCertHandleFromBytes()
930 return CERT_NewTempCertificate(CERT_GetDefaultCertDB(), &der_cert, NULL, in CreateOSCertHandleFromBytes()
Dx509_certificate_unittest.cc970 std::string der_cert; in TEST() local
971 EXPECT_TRUE(cert->GetDEREncoded(&der_cert)); in TEST()
972 EXPECT_FALSE(der_cert.empty()); in TEST()