Home
last modified time | relevance | path

Searched refs:x509_cert (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/crypto/tests/
Dx509_generator_test.cpp37 auto x509_cert = GenerateX509Certificate(rsa_2048->GetEvpPkey()); in TEST() local
38 ASSERT_NE(x509_cert.get(), nullptr); in TEST()
40 std::string x509_str = X509ToPEMString(x509_cert.get()); in TEST()
/system/core/adb/client/
Dadb_wifi.cpp200 auto x509_cert = GenerateX509Certificate(priv_key.get()); in adb_wifi_pair_device() local
201 if (!x509_cert) { in adb_wifi_pair_device()
205 auto cert_str = X509ToPEMString(x509_cert.get()); in adb_wifi_pair_device()
/system/core/adb/tls/
Dtls_connection.cpp375 auto x509_cert = TlsConnectionImpl::BufferFromPEM(cert); in SetCertAndKey() local
377 if (x509_cert == nullptr || evp_pkey == nullptr) { in SetCertAndKey()
382 x509_cert.get(), in SetCertAndKey()
/system/core/adb/pairing_connection/
Dpairing_server.cpp453 auto x509_cert = GenerateX509Certificate(rsa_2048->GetEvpPkey()); in pairing_server_new_no_cert() local
455 std::string cert_pem = X509ToPEMString(x509_cert.get()); in pairing_server_new_no_cert()