}
private boolean verifyAttached(final byte[] data, final byte[] signature) throws CMSException, IOException, OperatorCreationException {
CMSSignedData signedData = new CMSSignedData(new CMSProcessableByteArray(data), signature);
CollectionStore certificatesStore = (CollectionStore) signedData.getCertificates();
SignerInformationStore signerInformationStore = signedData.getSignerInfos();
boolean verified = true;
for (Object o : signerInformationStore.getSigners()) {
SignerInformation signerInformation = (SignerInformation) o;