Good morning,
I would like to know what type of algorithm uses the signing method of the document class. We need to know if the algorithm used is the SHA-1 or better.
Thanks in advance,
Pablo L.G.
Digital Signature Algorithm
Re: Digital Signature Algorithm
Support · Oct 22, 2008Hello Pablo,
The algorithm used by our product for signing the PDF documents depends on what algorithm they use internally. If the PDF has MD5 then our product uses MD5 algorithm and if the PDF has SHA1 then our product uses SHA1 algorithm.
Most PDF documents have SHA1 algorithm but it is possible that some may have MD5 algorithm. Our product uses SHA1 hash algorithm for time stamping the digital signature using the TimeStamp server.
Thanks,
ceTe Software Support Team
Re: Digital Signature Algorithm
Forum member · Oct 27, 2008Hi,
Thank you for your quick answer.
I have some doubts about what you explained me in your reply.Perhaps I do not have the enough knowledge about digital signing.
What do you mean when you say "if PDF has SHA1 then our product uses SHA1 algorithm."? PDF documents can "have" algorithms? In that case, is there any way to know what algorithm uses a PDF document?
What do you mean with "time stamping the digital signature using the TimeStamp server"? Is this a diferent function to signing the document instead of DynamicPdf.Document.Sign?
I hope you could understand my questions.
Thanks in advance,
Pablo L.G.
Re: Digital Signature Algorithm
Support · Oct 27, 2008Hello Pablo,
We will do some more research and post updates on this sometime tomorrow. A Timestamp can be added as part of your digital signature to show the date and time the document was signed. That’s what we meant by time stamping the signature.
Thanks,
ceTe Software Support Team
Re: Digital Signature Algorithm
Forum member · Oct 28, 2008Hello,
Some more questions :)
In our process, we get a PDF document. Then, using your API, we add some metadata information (in XMP format) to the document.
After that, we need to do a digital signing process (using your APIS I hope) to that document. In this process, we must fulfill the following requirements:
(I will write them in spanish, and I will try to translate to English)
1.Calculo de la huella o valor resumen (HASH) del archivo de imagen, incluyendo los metadatos, utilizando como algoritmo SHA1.
1.HASH calculation of the image document, including metadata, using SHA1 algorithm.
2.Obtenida la imagen y su HASH, se procede a la firma mediante firma electrónica avanzada.
2.Once the image document and its HASH are obtained, proceed to sign it with advanced digital sign.
Could you please confirm me that we can do all of this?
Thanks in advance,
Pablo L.G.
Re: Digital Signature Algorithm
Support · Oct 28, 2008Hello Pablo,
I am sorry for the confusion in my previous post. Actually the PDF document does not have any algorithm in them. We use the algorithm which is used in the certificate to sign the PDFs. We cannot set this algorithm, it will be taken from the certificate by default. Using our product it is not possible to find out the algorithm used by the certificate but you can use some third party tools, or certificate viewer etc. to find it out.
You can also add XMP MetaData to the PDF document and sign it using our product without any problem.
Thanks,
ceTe Software Support Team
Re: Digital Signature Algorithm
Forum member · Oct 29, 2008Hi again,
Thanks for your quick response.
Then, when I sign a PDF document with your product, does singing function calculates the HASH, including metadata, using SHA1 algorithm?
Thats the really important point to clarify :)
Thanks a lot!!
Pablo L.G.
Re: Digital Signature Algorithm
Support · Oct 29, 2008Hello Pablo,
I will check with the developers and post the response before the end of this week.
Thanks,
ceTe Software Support Team
Re: Digital Signature Algorithm
Forum member · Oct 29, 2008Ok thank very very much
Re: Digital Signature Algorithm
Support · Oct 31, 2008Hello Pablo,
Yes, we calculate the HASH of the entire PDF data except the signed content. We do use the SHAH1 if the signing certificate supports it.
Thanks,
ceTe Software Support Team.
Re: Digital Signature Algorithm
Forum member · Nov 6, 2008Thanks very much !