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
XFA IsSigned?
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: XFA IsSigned?
Hello žarko,
We don't support digital signatures in the XFA.
But, this is what can be done via the Structure level:
Alex
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.
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: XFA IsSigned?
Thanks Alex, I'll give it a shot.
Btw, how do I know if there's a signature on a non-XFA PDF?
-žarko
Btw, how do I know if there's a signature on a non-XFA PDF?
-žarko
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: XFA IsSigned?
Hello zarkogajic,
From what I see by using search on the sdkhelp wiki, there is a IPXC_Document::HasDigitalSigns method.
Cheers,
Alex
From what I see by using search on the sdkhelp wiki, there is a IPXC_Document::HasDigitalSigns method.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: XFA IsSigned?
HI Alex,
Ah, I've been using wrong search terms
Thanks!
-ž
Ah, I've been using wrong search terms
Thanks!
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
XFA IsSigned?
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: XFA IsSigned?
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
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