public static void addCertificatesToVerifiedData(Store store, BcCMSSignedDataVerified verifiedData,
        CertificateFactory certFactory)
    {
        for (X509CertificateHolder cert : getCertificates(store)) {
            verifiedData.addCertificate(BcUtils.convertCertificate(certFactory, cert));
        }
    }
public static void addCertificatesToVerifiedData ( Store store , BcCMSSignedDataVerified verifiedData , CertificateFactory certFactory ) { for ( X509CertificateHolder cert : getCertificates ( store ) ) { verifiedData . addCertificate ( BcUtils . convertCertificate ( certFactory , cert ) ) ; } }
Add certificate from signed data to the verified signed data.

@param store the store containing the certificate to add.
@param verifiedData the verified signed data to be filled.
@param certFactory the certificate factory to use for certificate conversion.