Home
last modified time | relevance | path

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

/external/cronet/net/cert/
Dx509_util_apple.cc30 base::ScopedCFTypeRef<CFDataRef> der_data(SecCertificateCopyData(sec_cert)); in CertBufferFromSecCertificate() local
31 if (!der_data) { in CertBufferFromSecCertificate()
35 base::make_span(CFDataGetBytePtr(der_data), in CertBufferFromSecCertificate()
36 base::checked_cast<size_t>(CFDataGetLength(der_data)))); in CertBufferFromSecCertificate()
Dx509_util_apple_unittest.cc22 base::ScopedCFTypeRef<CFDataRef> der_data(SecCertificateCopyData(sec_cert)); in BytesForSecCert() local
23 if (!der_data) { in BytesForSecCert()
27 result.assign(reinterpret_cast<const char*>(CFDataGetBytePtr(der_data)), in BytesForSecCert()
28 CFDataGetLength(der_data)); in BytesForSecCert()
Dcert_verify_proc_ios.cc246 base::ScopedCFTypeRef<CFDataRef> der_data( in GetCertChainInfo() local
248 if (!der_data) { in GetCertChainInfo()
256 reinterpret_cast<const char*>(CFDataGetBytePtr(der_data)), in GetCertChainInfo()
257 CFDataGetLength(der_data)), in GetCertChainInfo()
Dx509_util.cc443 CBS der_data; in CreateCertBuffersFromPKCS7Bytes() local
444 CBS_init(&der_data, data.data(), data.size()); in CreateCertBuffersFromPKCS7Bytes()
447 PKCS7_get_raw_certificates(certs, &der_data, x509_util::GetBufferPool()); in CreateCertBuffersFromPKCS7Bytes()
/external/cronet/net/cert/internal/
Dtrust_store_mac.cc401 base::ScopedCFTypeRef<CFDataRef> der_data(SecCertificateCopyData(cert)); in Initialize() local
402 if (!der_data) { in Initialize()
407 CFDataGetBytePtr(der_data.get()), in Initialize()
408 base::checked_cast<size_t>(CFDataGetLength(der_data.get())))); in Initialize()
829 base::ScopedCFTypeRef<CFDataRef> der_data( in IntializeIntermediatesCache() local
831 if (!der_data) { in IntializeIntermediatesCache()
836 CFDataGetBytePtr(der_data.get()), in IntializeIntermediatesCache()
837 base::checked_cast<size_t>(CFDataGetLength(der_data.get())))); in IntializeIntermediatesCache()
1002 base::ScopedCFTypeRef<CFDataRef> der_data( in MaybeInitializeCache() local
1004 if (!der_data) { in MaybeInitializeCache()
[all …]
/external/python/asn1crypto/tests/
Dtest_pem.py124 der_data = []
129 der_data.append(f.read())
134 self.assertEqual(der_data[i], der_bytes)
/external/cronet/net/tools/transport_security_state_generator/
Dcert_util.cc91 const uint8_t* der_data = reinterpret_cast<const uint8_t*>(der.c_str()); in GetX509CertificateFromPEM() local
93 d2i_X509(nullptr, &der_data, base::checked_cast<long>(der.size()))); in GetX509CertificateFromPEM()
/external/rust/crates/x509-parser/examples/
Dprint-crl.rs158 let der_data: &[u8] = if (data[0], data[1]) == (0x30, 0x82) { in main() localVariable
167 let (_, crl) = parse_x509_crl(der_data).expect("Could not decode DER data"); in main()
/external/openthread/third_party/mbedtls/repo/library/
Dpem.c434 const unsigned char *der_data, size_t der_len, in mbedtls_pem_write_buffer() argument
441 mbedtls_base64_encode( NULL, 0, &use_len, der_data, der_len ); in mbedtls_pem_write_buffer()
454 if( ( ret = mbedtls_base64_encode( encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dpem.h145 const unsigned char *der_data, size_t der_len,
/external/mbedtls/include/mbedtls/
Dpem.h165 const unsigned char *der_data, size_t der_len,
/external/mbedtls/library/
Dpem.c514 const unsigned char *der_data, size_t der_len, in mbedtls_pem_write_buffer() argument
521 mbedtls_base64_encode( NULL, 0, &use_len, der_data, der_len ); in mbedtls_pem_write_buffer()
534 if( ( ret = mbedtls_base64_encode( encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dserialization.rst37 der_data = base64.b64decode(
276 >>> key = load_der_private_key(der_data, password=None)