Changeset 84381 in vbox
- Timestamp:
- May 19, 2020 7:47:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r84340 r84381 3319 3319 vrc = RTCrPkcs7VerifySignedDataWithExternalData(&m->ContentInfo, RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED 3320 3320 | RTCRPKCS7VERIFY_SD_F_UPDATE_VALIDATION_TIME 3321 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), NIL_RTCRSTORE, 3321 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3322 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, NIL_RTCRSTORE, 3322 3323 hTrustedStore, &Now2, NULL, NULL, 3323 3324 pvData, cbData, RTErrInfoInitStatic(pErrInfo)); … … 3329 3330 | RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY 3330 3331 | RTCRPKCS7VERIFY_SD_F_UPDATE_VALIDATION_TIME 3331 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), NIL_RTCRSTORE, 3332 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3333 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, NIL_RTCRSTORE, 3332 3334 hTrustedStore, &Now3, NULL, NULL, pvData, cbData, NULL); 3333 3335 if (RT_SUCCESS(vrc)) … … 3357 3359 vrc = RTCrPkcs7VerifySignedDataWithExternalData(&m->ContentInfo, 3358 3360 RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY 3359 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), NIL_RTCRSTORE, 3361 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3362 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, NIL_RTCRSTORE, 3360 3363 *phTrustedStore2, pNow, NULL, NULL, pvData, cbData, NULL); 3361 3364 if (RT_SUCCESS(vrc)) … … 3372 3375 vrc = RTCrPkcs7VerifySignedDataWithExternalData(&m->ContentInfo, RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED 3373 3376 | RTCRPKCS7VERIFY_SD_F_UPDATE_VALIDATION_TIME 3374 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), NIL_RTCRSTORE, 3377 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3378 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, NIL_RTCRSTORE, 3375 3379 *phTrustedStore2, pNow, NULL, NULL, pvData, cbData, NULL); 3376 3380 if (RT_SUCCESS(vrc)) … … 3381 3385 | RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY 3382 3386 | RTCRPKCS7VERIFY_SD_F_UPDATE_VALIDATION_TIME 3383 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), NIL_RTCRSTORE, 3387 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3388 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, NIL_RTCRSTORE, 3384 3389 *phTrustedStore2, &Now3, NULL, NULL, pvData, cbData, NULL); 3385 3390 if (RT_SUCCESS(vrc)) … … 3411 3416 RTTIMESPEC Now; 3412 3417 int vrc = RTCrPkcs7VerifySignedDataWithExternalData(&m->ContentInfo, 3413 RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY, 3418 RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY 3419 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, 3414 3420 NIL_RTCRSTORE /*hAdditionalCerts*/, hTrustedStore, 3415 3421 RTTimeNow(&Now), NULL /*pfnVerifyCert*/, NULL /*pvUser*/, … … 3429 3435 vrc = RTCrPkcs7VerifySignedDataWithExternalData(&m->ContentInfo, 3430 3436 RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY 3431 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner), 3437 | RTCRPKCS7VERIFY_SD_F_SIGNER_INDEX(iSigner) 3438 | RTCRPKCS7VERIFY_SD_F_CHECK_TRUST_ANCHORS, 3432 3439 NIL_RTCRSTORE /*hAdditionalCerts*/, hTrustedStore, 3433 3440 &Now, NULL /*pfnVerifyCert*/, NULL /*pvUser*/,
Note:
See TracChangeset
for help on using the changeset viewer.