Hi,
Does Aspose.Cells for Java support assigning and validating of digital signatures?
Thanks.
Hi,
Does Aspose.Cells for Java support assigning and validating of digital signatures?
Thanks.
Hi,
Thanks for your posting and using Aspose.Cells for Java.
I have looked into this issue and found, it is not currently supported by Aspose.Cells for Java.
However, Aspose.Cells for .NET does support it.
For your reference, please see this document.
Hi,
We use Java.
Do you have assigning & validating digital signatures feature in TODO list to implement in near time frame?
Thanks.
Hi,
Hi,
Hi,
Hi,
Thanks for your posting and using Aspose.Cells.
I am afraid, we do not have any update for you at this moment. However, I have logged your comments against the issue id: CELLSJAVA-40247
Once, there is some update or ETA for you, we will share it with you asap.
Have you investigated Apache POI implementation?
Hi,
Hi,
We have already supported digital signature in Aspose.Cells java
version.
Download Link: Aspose.Cells
for Java v7.4.0.4
Sample
code:
Sign signature:
DigitalSignatureCollection ds = new DigitalSignatureCollection();
InputStream inStream = new
FileInputStream(“d:\aspose.pfx”);
KeyStore
inputKeyStore = KeyStore.getInstance(“PKCS12”);
inputKeyStore.load(inStream, KEYSTORE_PASSWORD.toCharArray());
DigitalSignature d = new
DigitalSignature(inputKeyStore,KEYSTORE_PASSWORD,“test for
sign”,com.aspose.cells.DateTime.getNow());
ds.add(d);
Workbook workbook = new
Workbook(“unsigned.xlsx”);
workbook.setDigitalSignature(ds);
workbook.save(“signed.xlsx”);
Validate signature:
Workbook
workbook = new Workbook(“signed.xlsx”);
DigitalSignatureCollection
ds = workbook.getDigitalSignature();
for(DigitalSignature d :
(Iterable)ds)
{
System.out.print(d.isValid());
}
The issues you have found earlier (filed as CELLSJAVA-40247) have been fixed in this update.