EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElPDFSignature.signaturename

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#9081
Posted: 03/02/2009 07:57:25
by Olivier Wallemacq (Basic support level)
Joined: 01/05/2009
Posts: 22

Hello,

Using pre-release 7.0.153 (.Net )
1) I have trouble accessing the value of the property signatureName and fieldname of TElPdfSignature and TElEmptysignature class.
Using my code or the tinyprocessor sample it always return some strange characters (someting like "bÿ")

2) And... out of curiosity, what do the prefix TEl and El stand for ?

I can upload a sample pdf if you want me to...
thank you.
#9082
Posted: 03/02/2009 08:11:04
by Ken Ivanov (EldoS Corp.)

Quote
1) I have trouble accessing the value of the property signatureName and fieldname of TElPdfSignature and TElEmptysignature class.

Mmm, PDFBlackbox does not contain such class as TElEmptysignature (I assume, you are talking about TElPDFSignatureInfo one?). It would be great if you attach a document that exposes the issue either here or to the Helpdesk.

Quote
2) And... out of curiosity, what do the prefix TEl and El stand for ?

The prefix has a historical origin and is preserved for the sake of backward compatibility of the existing code. "T" is a Delphi-style prefix (stands for "Type") and "El" are just two first letters of the name of our company.
#9083
Posted: 03/02/2009 09:35:20
by Olivier Wallemacq (Basic support level)
Joined: 01/05/2009
Posts: 22

Quote
I assume, you are talking about TElPDFSignatureInfo one?

Yes indeed, my mistake...

here is the document...
Thank you

Laurent


[ Download ]
#9084
Posted: 03/02/2009 10:06:06
by Ken Ivanov (EldoS Corp.)

Thank you for the document. Dmytro will take a look into it as soon as possible.
#9087
Posted: 03/02/2009 12:51:15
by Dmytro Bogatskyy (EldoS Corp.)

Quote
1) I have trouble accessing the value of the property signatureName and fieldname of TElPdfSignature and TElEmptysignature class.
Using my code or the tinyprocessor sample it always return some strange characters (someting like "bÿ"

This values wasn't properly decoded.
Please, use a following code to decode strings for now:
Code
string sigName = SBPDFCore.Unit.DecodeTextString(SBUtils.Unit.BytesOfString(Signature.SignatureName));
and
string fieldName = SBPDFCore.Unit.DecodeTextString(SBUtils.Unit.BytesOfString(Document.get_EmptySignatureFields(0).FieldName));
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 1300 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!