hi,
i am trying to sing a document but i got following exception:
[ Creation of this signature could not be completed. ] -> [ You have not selected a valid Digital ID. Please try again. ]
why do this happens?
what is the "digital id"?
here is my sourcecode:
SignatureField certSigField = pdfDoc.addInvisibleSignatureField();
String certSigFieldName = certSigField.getFieldName();
Credential cred = new Credential("InvoiceAdmin",
PWD.getBytes("UTF-8"));
pdfDoc.certify (cred, certSigFieldName, "test Reason",
"test Location", "test contactinfo",
SignaturePermissions.NO_CHANGES, true,
"test legal attest");
my Trust XML looks as follow:
what do i do wrong?
thanks