Page 1 of 1

XFA IsSigned?

Posted: Tue Jun 23, 2020 10:35 am
by zarkogajic
Hi Support,

Re: viewtopic.php?f=62&t=34599

How do I know if a document (XFA) is signed or not via SDK?

I see there's "FormSig_HasSignature" - but am not sure how to use it (and if this is to be used)....

-žarko

Re: XFA IsSigned?

Posted: Tue Jun 30, 2020 1:10 pm
by Sasha - PDF-XChange
Hello žarko,

We don't support digital signatures in the XFA.
But, this is what can be done via the Structure level:
  • For static XFA, you can search for the Signature field in the fields list and look whether there is a /V key in it's dictionary.
  • For dynamic XFA, this is not guaranteed, but in some cases this should work.
Cheers,
Alex

Re: XFA IsSigned?

Posted: Tue Jun 30, 2020 1:50 pm
by zarkogajic
Thanks Alex, I'll give it a shot.

Btw, how do I know if there's a signature on a non-XFA PDF?

-žarko

Re: XFA IsSigned?

Posted: Wed Jul 15, 2020 9:12 am
by zarkogajic
Ping...


Re: XFA IsSigned?

Posted: Wed Jul 15, 2020 9:28 am
by Sasha - PDF-XChange
Hello zarkogajic,

From what I see by using search on the sdkhelp wiki, there is a IPXC_Document::HasDigitalSigns method.

Cheers,
Alex

Re: XFA IsSigned?

Posted: Wed Jul 15, 2020 10:09 am
by zarkogajic
HI Alex,

Ah, I've been using wrong search terms :)

Thanks!


XFA IsSigned?

Posted: Wed Jul 15, 2020 10:13 am
by Sasha - PDF-XChange
:)

Re: XFA IsSigned?

Posted: Tue Mar 05, 2024 9:14 am
by zarkogajic
Hi Support,

I know you do not support displaying signatures on XFA documents …

I at least need to know if a document is signed or not.

For this purpose I’m using the IPXC_Document.HasDigitalSigns(false) as suggested here.

I have two dynamic XFA documents, both have signature.

However, for one of them the HasDigitalSigns returns false.

Any other way (never mind how complex or crazy) I can check if a XFA is signed (if the above cannot be fixed)?


-žarko

Re: XFA IsSigned?

Posted: Mon Apr 29, 2024 8:56 am
by Stefan - PDF-XChange
Hello zarkogajic,

Can you please share with us the file that returns False for IPXC_Document.HasDigitalSigns?
I suspect our devs will need the sample to be able to check why we return false on that one.
If sensitive - please e-mail the document instead of uploading it here.

Kind regards,
Stefan

Re: XFA IsSigned?

Posted: Mon Apr 29, 2024 9:18 am
by zarkogajic
Hi Stefan

Ok, will send via email ...

-žarko

Re: XFA IsSigned?

Posted: Mon Apr 29, 2024 10:14 am
by Stefan - PDF-XChange
Hello zarkogajic,

Thanks for the files! Got them and passed them on to our developers. I've removed the copy of the mail from my machine and the mail server. As soon as my colleague finishes testing - he will remove his copies of the files as well!

Kind regards,
Stefan

Re: XFA IsSigned?

Posted: Wed May 15, 2024 6:20 am
by zarkogajic
Hi,

Any news here?

-žarko

Re: XFA IsSigned?

Posted: Thu May 16, 2024 2:21 pm
by Stefan - PDF-XChange
Hello zarkogajic,

I got an update from our devs that for now we still do not support signatures in XFAs however we are working on and should make such a feature available soon!

Kind regards,
Stefan

Re: XFA IsSigned?

Posted: Fri May 24, 2024 1:55 pm
by zarkogajic
Hi Stefan,
we still do not support signatures in XFAs however we are working on and should make such a feature available soon
"Such a feature" means:

1. proper result of the IPXC_Document.HasDigitalSigns, AND/OR
2. display of signatures in XFA's

?

-žarko

Re: XFA IsSigned?

Posted: Tue May 28, 2024 8:33 am
by Stefan - PDF-XChange
Hello zarkogajic,

My colleague's exact words were:
"do not support signing/signatures in XFA forms yet. Should be available soon" - so I would assume that the answer to your above enquiry would be both!

Kind regards,
Stefan

Re: XFA IsSigned?

Posted: Tue May 28, 2024 8:40 am
by zarkogajic
Hi Stefan,

Good, good :)


XFA IsSigned?

Posted: Tue May 28, 2024 9:03 am
by Stefan - PDF-XChange
:)

Re: XFA IsSigned?

Posted: Thu Jun 27, 2024 11:11 am
by zarkogajic
Hi Support,

I see 10.3.1.387 mentions "Improved support of XFA documents." in the changes list.

Unfortunately, display of the signature in a XFA is still not supported.

-žarko

Re: XFA IsSigned?

Posted: Fri Jun 28, 2024 4:55 pm
by Daniel - PDF-XChange
Hello, zarkogajic

indeed, while we do hope it can come along soon as Stefan said, we still do not have a solid timeline for it. This function has been on our radar and in gradual development for a few years now, so it may still be some months, though hopefully not that long.

Kind regards,

Re: XFA IsSigned?

Posted: Fri Jun 28, 2024 5:03 pm
by zarkogajic
Hi Dan

Ok, thanks.


XFA IsSigned?

Posted: Fri Jun 28, 2024 5:21 pm
by Daniel - PDF-XChange
:)