throw new RuntimeException("Could not create signature info generator", e);
}
AttributeTable attributes = new AttributeTable(new Hashtable<String, String>());
sigBuilder.setSignedAttributeGenerator(
new DefaultSignedAttributeTableGenerator(attributes));
sigBuilder.setUnsignedAttributeGenerator(new SimpleAttributeTableGenerator(attributes));
SignerInfoGenerator signerInfoGen;
try {
signerInfoGen = sigBuilder.build(new JcaContentSignerBuilder("SHA1withRSA")