Searched refs:pemBio (Results 1 - 2 of 2) sorted by relevance
/base/update/updater/services/package/pkg_verify/ |
H A D | openssl_util.cpp | 93 BIO *pemBio = BIO_new(BIO_s_mem()); in GetX509CertFromPemString() local 94 if (pemBio == nullptr) { in GetX509CertFromPemString() 98 if (BIO_write(pemBio, pemString.c_str(), strLen) != strLen) { in GetX509CertFromPemString() 99 BIO_free_all(pemBio); in GetX509CertFromPemString() 103 X509 *cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr); in GetX509CertFromPemString() 107 BIO_free_all(pemBio); in GetX509CertFromPemString()
|
/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
H A D | hap_cert_verify_openssl_utils.cpp | 42 BIO* pemBio = BIO_new(BIO_s_mem());
in GetX509CertFromPemString() local 43 if (pemBio == nullptr) {
in GetX509CertFromPemString() 49 if (BIO_write(pemBio, pemString.c_str(), strLen) != strLen) {
in GetX509CertFromPemString() 52 BIO_free_all(pemBio);
in GetX509CertFromPemString() 55 X509* cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr);
in GetX509CertFromPemString() 56 BIO_free_all(pemBio);
in GetX509CertFromPemString()
|
Completed in 3 milliseconds