Search found 45 matches: signing

Return to advanced search

Re: Digitally signing a document

Great web for examples!

thank you
by Antonio Linares
Fri Apr 19, 2024 12:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digitally signing a document

Hi, maybe you can test with chilkat:

https://www.example-code.com/foxpro/pdf_signatures.asp

Regards,

Toninho.
by toninhofwi
Fri Apr 19, 2024 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digitally signing a document

Dear Michel, The simplest way I have found to build a tool to check if a PDF is signed is using python. signed.py import sys, aspose.pdf as appdfSign = ap.facades.PdfFileSignature()pdfSign.bind_pdf(sys.argv[ 1 ])signatures = pdfSign.get_sign_names( True )if( signa...
by Antonio Linares
Mon Apr 15, 2024 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digitally signing a document

FYI, Antonio,

If I use "Michel" in stead of "/SigFlags", I get a .T.
by driessen
Mon Apr 15, 2024 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digitally signing a document

No, I just need to know if the document is digitally signed or not.
by driessen
Mon Apr 15, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digitally signing a document

Dear Michel,

I got it, thank you

Do you also need to know information about the signature ?
by Antonio Linares
Mon Apr 15, 2024 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Antonio,

I just send you a PDF-file which I digitally signed.

The PDF-file was made by saving as a PDF-file in Word.

Thanks.
by driessen
Mon Apr 15, 2024 7:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Dear Michel,

Then I guess your PDFs are encrypted

Could you please email me one of them ? thanks
by Antonio Linares
Mon Apr 15, 2024 5:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Antonio,

Unfortunately, I always get a .F. as result, whether it is signed or not.
by driessen
Sun Apr 14, 2024 10:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Antonio,

Thanks a lot for your help.

I'll test it tonight or tomorrow.

Have a fine Sunday.
by driessen
Sun Apr 14, 2024 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Much simpler :-)

Use this function:
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

    MsgInfo( IsSigned( "fwintro.pdf" ) )

return nil

function IsSigned( cPDFFileName )

return At( "/SigFlags", hb_memoRead( cPDFFileName ) ) != 0
by Antonio Linares
Sun Apr 14, 2024 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

driessen wrote:Antonio,

I'm afraid that is somewhat to difficult for me.
I need to know if a document is digitally signed or not.
But I don't know how to implement your suggestion.

Can you please send a link here a sample digitally signed pdf?
by Horizon
Sat Apr 13, 2024 3:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Antonio,

I'm afraid that is somewhat to difficult for me.
I need to know if a document is digitally signed or not.
But I don't know how to implement your suggestion.
by driessen
Sat Apr 13, 2024 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Re: Digital signing a document

Dear Michel, Asking chatgpt: you can utilize a C library that provides PDF parsing capabilities. One such library is Poppler, which is widely used for working with PDF files in C You can download the pre-built Poppler library for Windows from the Poppler website: https://poppler.freedesktop.org/. He...
by Antonio Linares
Sat Apr 13, 2024 6:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426

Digitally signing a document

Hello,

A PDF-document can be signed digitally in Acrotbat Reader.

But does anyone know how I can check in my FWH-application if a PDF-document has been signed digitally?

Thank you in advance.
by driessen
Fri Apr 12, 2024 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Digitally signing a document
Replies: 14
Views: 426
Next

Return to advanced search