EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to access data from other digital certificate?

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#27204
Posted: 11/08/2013 17:43:44
by Petruccio Montezuma (Standard support level)
Joined: 10/31/2013
Posts: 8

Dear,

I wonder how do I get the data from the digital certificate for
be printed on digital signature, today in this example SignerPKCS11 out
only the company name, today's date, time, CN = ​​PRONTOMED PLAN, C = GB, O = ICP-Brazil; Public Key: RSA/2048 bit, I would get the remaining data. I'm using an application in DELPHI.
#27206
Posted: 11/11/2013 02:21:12
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

In SecureBlackbox certificates are represented by TElX509Certificate class: https://www.eldos.com/documentation/sb...icate.html. This class has a set of properties that you can use to read the data. For an instance, certificate subject may be read next way: TElX509Certificate.SubjectRDN.SaveToDNString.
#27223
Posted: 11/13/2013 05:43:14
by Petruccio Montezuma (Standard support level)
Joined: 10/31/2013
Posts: 8

How to be printed the following data in the digital certificate?

     Cert.SubjectName.Country
     Cert.SubjectName.StateOrProvince
     Cert.SubjectName.Locality
     Cert.SubjectName.Organization
     Cert.SubjectName.OrganizationUnit
     Cert.SubjectName.CommonName
     Cert.SubjectName.EMailAddress

because it is leaving all this information.

have any example in delphi I can check?
I am using the example SignerPKCS11, but I could not understand how the data
are being generated for printing.
#27224
Posted: 11/13/2013 06:02:55
by Vsevolod Ievgiienko (EldoS Corp.)

All these properties are textual strings, so you can print them as is.
#27225
Posted: 11/13/2013 06:45:24
by Petruccio Montezuma (Standard support level)
Joined: 10/31/2013
Posts: 8

dear
Vsevolod Ievgiienko

I'm sorry but I do not think I'm able to express myself.
'm Standing model "SignerPKCS1", to better understand
how the process of digitally signing a PDF by
DELPHI. In this example I could see the data that I want
Cert through the variable that is of type "TElX509Certificate", however
I noticed that the variable that is printed and placed the variable is
"Sig" which is of type "TElPDFSignature", however I could not understand
how can I send the data I want this variable "Sig" since it
and that it is printed in the signature. Kindly see Annex
sent.
ps: sorry my English.


#27227
Posted: 11/13/2013 07:19:43
by Dmytro Bogatskyy (EldoS Corp.)

Hello,

The text in the signature widget is auto generated based on your signer certificate. You may set AutoText property to false, and manually set a desired text.
Please refer to the article: https://www.eldos.com/documentation/sb..._text.html
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 747 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!