Home
last modified time | relevance | path

Searched refs:der_data (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/net/cert/
Dx509_certificate_ios.cc106 ScopedCFTypeRef<CFDataRef> der_data(SecCertificateCopyData(cert_handle)); in GetDEREncoded() local
107 if (!der_data) in GetDEREncoded()
109 encoded->assign(reinterpret_cast<const char*>(CFDataGetBytePtr(der_data)), in GetDEREncoded()
110 CFDataGetLength(der_data)); in GetDEREncoded()
Dcert_verify_proc_openssl.cc136 std::string der_data; in AppendPublicKeyHashes() local
137 if (!X509Certificate::GetDEREncoded(cert, &der_data)) in AppendPublicKeyHashes()
140 base::StringPiece der_bytes(der_data); in AppendPublicKeyHashes()
Dct_objects_extractor_nss.cc48 std::string der_data; in NSSCertWrapper()
49 if (!X509Certificate::GetDEREncoded(cert_handle, &der_data)) in NSSCertWrapper()
52 reinterpret_cast<unsigned char*>(const_cast<char*>(der_data.data())); in NSSCertWrapper()
53 der_cert.len = der_data.size(); in NSSCertWrapper()
Dx509_certificate_mac.cc318 CSSM_DATA der_data; in GetDEREncoded() local
319 if (SecCertificateGetData(cert_handle, &der_data) != noErr) in GetDEREncoded()
321 encoded->assign(reinterpret_cast<char*>(der_data.Data), in GetDEREncoded()
322 der_data.Length); in GetDEREncoded()
Dx509_util_openssl.cc141 unsigned char* der_data = in SignAndDerEncodeCert() local
143 if (i2d_X509(cert, &der_data) < 0) in SignAndDerEncodeCert()
Dx509_certificate_openssl.cc39 const unsigned char* der_data = reinterpret_cast<const unsigned char*>(data); in CreateOSCertHandlesFromPKCS7Bytes() local
41 d2i_PKCS7(NULL, &der_data, length)); in CreateOSCertHandlesFromPKCS7Bytes()
/external/chromium_org/crypto/
Dec_signature_creator_openssl.cc54 const unsigned char* der_data = &der_sig.front(); in DecodeSignature() local
56 d2i_ECDSA_SIG(NULL, &der_data, static_cast<long>(der_sig.size()))); in DecodeSignature()
/external/chromium/net/base/
Dx509_certificate_openssl.cc37 const unsigned char* der_data = reinterpret_cast<const unsigned char*>(data); in CreateOSCertHandlesFromPKCS7Bytes() local
39 d2i_PKCS7(NULL, &der_data, length)); in CreateOSCertHandlesFromPKCS7Bytes()
Dx509_certificate_mac.cc1026 CSSM_DATA der_data; in GetDEREncoded() local
1027 if(SecCertificateGetData(cert_handle_, &der_data) == noErr) { in GetDEREncoded()
1028 encoded->append(reinterpret_cast<char*>(der_data.Data), in GetDEREncoded()
1029 der_data.Length); in GetDEREncoded()