Home
last modified time | relevance | path

Searched refs:rcert (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_sign.cpp118 X509 *rcert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in GetPubkey() local
119 if (rcert == nullptr) { in GetPubkey()
125 return rcert; in GetPubkey()
130 X509 *rcert = GetPubkey(); in VerifyDigest() local
131 if (rcert == nullptr) { in VerifyDigest()
135 EVP_PKEY *pubKey = X509_get_pubkey(rcert); in VerifyDigest()
137 X509_free(rcert); in VerifyDigest()
144 X509_free(rcert); in VerifyDigest()
148 X509_free(rcert); in VerifyDigest()
/base/update/updater/test/unittest/package/
Dpkg_verify_unittest.cpp95 X509 *rcert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in TestCertVerifyFailed() local
102 ret = singleCert.CertChainCheck(nullptr, rcert); in TestCertVerifyFailed()
110 result = VerifyX509CertByIssuerCert(rcert, rcert); in TestCertVerifyFailed()