Searched refs:certbio (Results 1 – 3 of 3) sorted by relevance
/base/update/updater/test/unittest/package/ |
D | pkg_verify_unittest.cpp | 94 BIO *certbio = BIO_new_file(GetTestPrivateKeyName(0).c_str(), "r"); in TestCertVerifyFailed() local 95 X509 *rcert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in TestCertVerifyFailed() 96 if (certbio != nullptr) { in TestCertVerifyFailed() 97 BIO_free(certbio); in TestCertVerifyFailed() 130 BIO *certbio = BIO_new_file(GetTestPrivateKeyName(0).c_str(), "r"); in TestOpensslUtilFailed() local 131 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in TestOpensslUtilFailed() 132 if (certbio != nullptr) { in TestOpensslUtilFailed() 133 BIO_free(certbio); in TestOpensslUtilFailed()
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algo_sign.cpp | 113 BIO *certbio = BIO_new_file(keyName_.c_str(), "r"); in GetPubkey() local 114 if (certbio == nullptr) { in GetPubkey() 118 X509 *rcert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in GetPubkey() 121 BIO_free(certbio); in GetPubkey() 124 BIO_free(certbio); in GetPubkey()
|
/base/update/updater/services/package/pkg_verify/ |
D | openssl_util.cpp | 118 BIO *certbio = BIO_new_file(filePath.c_str(), "r"); in GetX509CertFromPemFile() local 119 if (certbio == nullptr) { in GetX509CertFromPemFile() 124 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in GetX509CertFromPemFile() 127 BIO_free_all(certbio); in GetX509CertFromPemFile() 130 BIO_free_all(certbio); in GetX509CertFromPemFile()
|