Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/include/
Dhap_cert_verify_openssl_utils_test.h28 bool Base64StringDecode(const std::string& base64String, HapByteBuffer& output);
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_cert_verify_openssl_utils_test.cpp34 bool Base64StringDecode(const std::string& base64String, HapByteBuffer& output) in Base64StringDecode() argument
36 std::unique_ptr<char[]> decodeBuffer = std::make_unique<char[]>(base64String.size()); in Base64StringDecode()
41 const unsigned char* input = reinterpret_cast<const unsigned char*>(base64String.c_str()); in Base64StringDecode()
42 … EVP_DecodeBlock(reinterpret_cast<unsigned char*>(decodeBuffer.get()), input, base64String.size()); in Base64StringDecode()
/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp60 X509* HapCertVerifyOpensslUtils::GetX509CertFromBase64String(const std::string& base64String) in GetX509CertFromBase64String() argument
62 …std::unique_ptr<unsigned char[]> decodeBuffer = std::make_unique<unsigned char[]>(base64String.siz… in GetX509CertFromBase64String()
64 const unsigned char* input = reinterpret_cast<const unsigned char *>(base64String.c_str()); in GetX509CertFromBase64String()
65 int32_t len = EVP_DecodeBlock(decodeBuffer.get(), input, base64String.size()); in GetX509CertFromBase64String()
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dhap_cert_verify_openssl_utils.h33 DLL_EXPORT static X509* GetX509CertFromBase64String(const std::string& base64String);