Skip navigation
Currently Being Moderated

Exception while trying to sign a document

Mar 16, 2006 2:40 AM


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",
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?

  • Currently Being Moderated
    Apr 24, 2006 10:38 AM   in reply to (Andrej_Salnik)
    When the server is started review the log to ensure the trust.xml could be load and parsed. You should see some sort of message like X number of bytes read when the trust is parsed.
    Mark as:
  • Currently Being Moderated
    Dec 11, 2007 6:38 PM   in reply to (Andrej_Salnik)
    How do i extract the digital signature from the document signature field into a XML format?

    Is there a way to create a XML signature and have a signature visible on the PDF form?


    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)