Searched refs:crlsBuffer (Results 1 – 3 of 3) sorted by relevance
63 HapByteBuffer crlsBuffer; in Init() local64 bool ret = ReadCrls(crlsBuffer); in Init()65 if (ret && crlsBuffer.HasRemaining()) { in Init()66 ParseCrls(crlsBuffer); in Init()72 bool HapCrlManager::ParseCrls(HapByteBuffer& crlsBuffer) in ParseCrls() argument75 if (!crlsBuffer.GetUInt32(0, numOfCrl)) { in ParseCrls()81 crlsBuffer.SetPosition(hasUsed); in ParseCrls()83 while (numOfCrl && hasUsed <= crlsBuffer.GetCapacity()) { in ParseCrls()85 if (!crlsBuffer.GetInt32(crlLen)) { in ParseCrls()90 … X509_CRL* crl = HapCertVerifyOpensslUtils::GetX509CrlFromDerBuffer(crlsBuffer, hasUsed, crlLen); in ParseCrls()[all …]
133 HapByteBuffer crlsBuffer; variable134 ASSERT_TRUE(hapCrlManager.ReadCrls(crlsBuffer));135 ASSERT_TRUE(crlsBuffer.HasRemaining());136 ASSERT_TRUE(hapCrlManager.ParseCrls(crlsBuffer));
51 DLL_EXPORT bool ReadCrls(HapByteBuffer& crlsBuffer);52 DLL_EXPORT bool ParseCrls(HapByteBuffer& crlsBuffer);