Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Get Digital signature status (https://www.delphipraxis.net/151327-get-digital-signature-status.html)

sdean 12. Mai 2010 22:51


Get Digital signature status
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hi , is there any way to get the Digital Signature Status , Please look at the image i attached :

So the Status are like :

* This digital signature is ok .
* This digital signature is not valid .

please how could i get these Digital signature Status ?

stOrM 12. Mai 2010 23:48

Re: Get Digital signature status
 
Maybe you would like to try out JwsclCertificates which can be found here: JWSCL

I suggest download from the code repository to get the latest version.

You should also read how to set it up the correct way if you are not familiar with it
Howto

You then could use e.g.:

Delphi-Quellcode:
isTrustedCert := JwIsFileTrusted...
regards
s!

sdean 13. Mai 2010 12:25

Re: Get Digital signature status
 
Liste der Anhänge anzeigen (Anzahl: 1)
many thanks stOrM , I use it as you advised me to do , But what i want is getting the certificate 'digital signature ' Status :

Like :

This digital signature is ok

This digital signature is not valid

This digital signature is doubtful
..etc

please see the attached project i use it to print out the signature details , But not getting the signature status as mentioned above .

stOrM 13. Mai 2010 18:00

Re: Get Digital signature status
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

Zitat von sdean
many thanks stOrM , I use it as you advised me to do , But what i want is getting the certificate 'digital signature ' Status :

Like :

This digital signature is ok

This digital signature is not valid

This digital signature is doubtful
..etc

please see the attached project i use it to print out the signature details , But not getting the signature status as mentioned above .

Not sure I understand exactly what you need but have a look into the attachment.
For me it gaves me the validity of Legit.dll on Win7

regards
s!

Dezipaitor 14. Mai 2010 09:54

Re: Get Digital signature status
 
IMO he doesn't want to check the digital signature but the digital certificate installed on the computer. There is a system wide catalogue that lists these certificats which are used to check the signatures.
Did you create the photo from "certmgr.msc" ?

stOrM 14. Mai 2010 12:45

Re: Get Digital signature status
 
Oha Chris, denn hab ichs ja völlig falsch verstanden :mrgreen:


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz