Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp210 BIO* derBio = BIO_new(BIO_s_mem()); in GetX509CrlFromDerBuffer() local
211 if (derBio == nullptr) { in GetX509CrlFromDerBuffer()
216 if (BIO_write(derBio, crlBuffer.GetBufferPtr() + offset, len) != len) { in GetX509CrlFromDerBuffer()
219 BIO_free_all(derBio); in GetX509CrlFromDerBuffer()
222 X509_CRL* crl = d2i_X509_CRL_bio(derBio, nullptr); in GetX509CrlFromDerBuffer()
223 BIO_free_all(derBio); in GetX509CrlFromDerBuffer()
234 BIO* derBio = BIO_new(BIO_s_mem()); in WriteX509CrlToStream() local
235 if (derBio == nullptr) { in WriteX509CrlToStream()
239 if (crl == nullptr || i2d_X509_CRL_bio(derBio, crl) == 0) { in WriteX509CrlToStream()
240 BIO_free_all(derBio); in WriteX509CrlToStream()
[all …]