Searched refs:pContentInfo (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/common/crypto/
H A Dpkcs7-core.cpp142 PCRTCRPKCS7CONTENTINFO pContentInfo = &pAttr->uValues.pContentInfos->paItems[0]; local
145 if (RTAsn1ObjId_CompareWithString(&pContentInfo->ContentType, RTCRPKCS7SIGNEDDATA_OID) == 0)
147 if (RTAsn1ObjId_CompareWithString(&pContentInfo->u.pSignedData->ContentInfo.ContentType,
151 *ppContentInfo = pContentInfo;
152 return &pContentInfo->u.pSignedData->ContentInfo.u.pTstInfo->GenTime;
156 pContentInfo++;
H A Dpkcs7-verify.cpp51 static int rtCrPkcs7VerifySignedDataUsingOpenSsl(PCRTCRPKCS7CONTENTINFO pContentInfo, uint32_t fFlags, argument
59 unsigned char const *pbRawContent = RTASN1CORE_GET_RAW_ASN1_PTR(&pContentInfo->SeqCore.Asn1Core);
61 if (d2i_PKCS7(&pOsslPkcs7, &pbRawContent, RTASN1CORE_GET_RAW_ASN1_SIZE(&pContentInfo->SeqCore.Asn1Core)) == pOsslPkcs7)
73 PCRTCRPKCS7SETOFCERTS pCerts = &pContentInfo->u.pSignedData->Certificates;
568 RTDECL(int) RTCrPkcs7VerifySignedData(PCRTCRPKCS7CONTENTINFO pContentInfo, uint32_t fFlags, argument
581 if (!RTCrPkcs7ContentInfo_IsSignedData(pContentInfo))
583 PCRTCRPKCS7SIGNEDDATA pSignedData = pContentInfo->u.pSignedData;
764 int rcOssl = rtCrPkcs7VerifySignedDataUsingOpenSsl(pContentInfo, fFlags, hAdditionalCerts, hTrustedCerts,
/vbox/include/iprt/crypto/
H A Dpkcs7.h87 /** Microsoft timestamp info (RFC-3161) signed data, use pContentInfo. */
466 * @param pContentInfo PKCS \#7 content info structure.
479 RTDECL(int) RTCrPkcs7VerifySignedData(PCRTCRPKCS7CONTENTINFO pContentInfo, uint32_t fFlags,
/vbox/src/VBox/Runtime/tools/
H A DRTSignTool.cpp388 PCRTCRPKCS7CONTENTINFO pContentInfo = (PCRTCRPKCS7CONTENTINFO)pvSignature; local
397 RTAsn1Dump(&pContentInfo->SeqCore.Asn1Core, 0, 0, RTStrmDumpPrintfV, g_pStdOut);
404 return RTCrPkcs7VerifySignedData(pContentInfo,
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp1027 PCRTCRPKCS7CONTENTINFO pContentInfo = (PCRTCRPKCS7CONTENTINFO)pvSignature; local
1028 AssertReturn(RTCrPkcs7ContentInfo_IsSignedData(pContentInfo), VERR_INTERNAL_ERROR_5);
1029 AssertReturn(pContentInfo->u.pSignedData->SignerInfos.cItems == 1, VERR_INTERNAL_ERROR_5);
1030 PCRTCRPKCS7SIGNERINFO pSignerInfo = &pContentInfo->u.pSignedData->SignerInfos.paItems[0];
1062 return RTCrPkcs7VerifySignedData(pContentInfo, fFlags, g_hSpcAndNtKernelSuppStore, g_hSpcAndNtKernelRootStore,

Completed in 67 milliseconds