Home
last modified time | relevance | path

Searched refs:d2i_X509 (Results 1 – 25 of 48) sorted by relevance

12

/external/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_x509.c87 X509* d2i_X509(X509 **cert, const unsigned char *buffer, long len) in d2i_X509() function
179 x = d2i_X509(NULL, d, len); in SSL_CTX_add_client_CA_ASN1()
266 x = d2i_X509(NULL, d, len); in SSL_CTX_use_certificate_ASN1()
294 x = d2i_X509(NULL, d, len); in SSL_use_certificate_ASN1()
/external/openscreen/cast/receiver/channel/testing/
Ddevice_auth_test_helpers.cc31 bssl::UniquePtr<X509>(d2i_X509(nullptr, &data, certs.back().size())); in InitStaticCredentialsFromFiles()
47 bssl::UniquePtr<X509>(d2i_X509(nullptr, &data, tls_cert[0].size())); in InitStaticCredentialsFromFiles()
/external/openscreen/cast/common/certificate/
Dcast_cert_validator_internal.h41 return bssl::UniquePtr<X509>{d2i_X509(nullptr, &dptr, N)}; in MakeTrustAnchor()
46 return bssl::UniquePtr<X509>{d2i_X509(nullptr, &dptr, data.size())}; in MakeTrustAnchor()
Dcast_cert_validator_internal.cc296 return d2i_X509(nullptr, &data, der.size()); in ParseX509Der()
377 store.certs.emplace_back(d2i_X509(nullptr, &data, der_cert.size())); in CreateInstanceFromPemFile()
Dcast_cert_validator_unittest.cc69 X509* fake_root = d2i_X509(nullptr, &data, certs.back().size()); in RunTest()
/external/openscreen/cast/test/
Dmake_crl_tests.cc116 d2i_X509(nullptr, &data, device_der.size())}; in CastMain()
118 bssl::UniquePtr<X509> inter_cert{d2i_X509(nullptr, &data, inter_der.size())}; in CastMain()
120 bssl::UniquePtr<X509> root_cert{d2i_X509(nullptr, &data, root_der.size())}; in CastMain()
123 d2i_X509(nullptr, &data, crl_inter_der[0].size())}; in CastMain()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c259 X509 *d2i_X509(X509 **cert, const unsigned char *buffer, long len); in lws_tls_client_create_vhost_context()
293 vh->tls.x509_client_CA = d2i_X509(NULL, buf, len); in lws_tls_client_create_vhost_context()
298 vh->tls.x509_client_CA = d2i_X509(NULL, (uint8_t*)ca_mem, ca_mem_len); in lws_tls_client_create_vhost_context()
/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dcert.cc20 X509 *x509 = d2i_X509(NULL, &buf, len); in LLVMFuzzerTestOneInput()
Dssl_ctx_api.cc213 cert_.reset(d2i_X509(NULL, &bufp, sizeof(kCertificateDER))); in GlobalState()
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_x509.h55 X509* d2i_X509(X509 **cert, const unsigned char *buffer, long len);
/external/oss-fuzz/projects/boringssl/
Dfuzz_certs.cc34 X509* x509 = d2i_X509(NULL, &buf, len); in DEFINE_PROTO_FUZZER()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx_x509.c195 X509 *ret = d2i_X509(&x509p, &inp, CRYPTO_BUFFER_len(buf));
252 ret = d2i_X509(a, &q, length); in d2i_X509_AUX()
/external/boringssl/src/crypto/x509/
Dx_x509.c193 X509 *ret = d2i_X509(&x509p, &inp, CRYPTO_BUFFER_len(buf));
250 ret = d2i_X509(a, &q, length); in d2i_X509_AUX()
/external/webrtc/rtc_base/
Dopenssl_utility.cc110 X509* cert = d2i_X509(nullptr, &cert_buffer, in LoadBuiltinSSLRootCertificates()
Dopenssl_utility_unittest.cc178 d2i_X509(nullptr, &cert, checked_cast<long>(cert_len)); // NOLINT in CreateSSLWithPeerCertificate()
/external/openscreen/cast/sender/channel/
Dcast_auth_util_unittest.cc300 X509* tls_cert = d2i_X509(nullptr, &data, der_cert.size()); in TEST_F()
318 X509* tls_cert = d2i_X509(nullptr, &data, der_cert.size()); in TEST_F()
339 X509* tls_cert = d2i_X509(nullptr, &data, der_cert.size()); in TEST_F()
/external/openscreen/util/crypto/
Dcertificate_utils.cc197 d2i_X509(nullptr, &der_x509_cert, der_x509_cert_length)); in ImportCertificate()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-client.c508 X509 *x = d2i_X509(NULL, &der, (long)der_len); in lws_tls_client_vhost_extra_cert_mem()
766 client_CA = d2i_X509(NULL, &up, (long)amount); in lws_tls_client_create_vhost_context()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_info.c100 info->x509 = d2i_X509(NULL, &data, len); in parse_x509()
/external/boringssl/src/crypto/pem/
Dpem_info.c100 info->x509 = d2i_X509(NULL, &data, len); in parse_x509()
/external/libevent/sample/
Dhttps-client.c198 X509 *x509 = d2i_X509(NULL, (unsigned char const **)&ctx->pbCertEncoded, in add_cert_for_store()
/external/boringssl/src/ssl/test/
Dfuzzer.h390 bssl::UniquePtr<X509> cert(d2i_X509(NULL, &bufp, sizeof(kCertificateDER))); in Init()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dfuzzer.h390 bssl::UniquePtr<X509> cert(d2i_X509(NULL, &bufp, sizeof(kCertificateDER))); in Init()
/external/rust/crates/quiche/src/
Dtls.rs214 let cert = d2i_X509( in load_ca_certs()
997 fn d2i_X509(px: *mut X509, input: *const *const u8, len: c_int) -> *mut X509; in d2i_X509() function
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java110 return new OpenSSLX509Certificate(NativeCrypto.d2i_X509(encoded)); in fromX509Der()

12