throw new SignerException(e);
}
}
private boolean verifyAttached(final byte[] data, final byte[] signature) throws CMSException, IOException, OperatorCreationException, GeneralSecurityException {
CMSSignedData signedData = new CMSSignedData(new CMSProcessableByteArray(data), signature);
CollectionStore certificatesStore = (CollectionStore) signedData.getCertificates();
SignerInformationStore signerInformationStore = signedData.getSignerInfos();
boolean verified = true;