Author Topic: digital signature  (Read 2226 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
digital signature
« on: June 10, 2010, 12:43:31 PM »
Hi all..

Is anyone know or have a routine to know if the current drawing contain a digital signature ?

thanks.
Keep smile...

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: digital signature
« Reply #1 on: June 10, 2010, 01:12:16 PM »
Perhaps dig around in the SecurityParams Object?

Andrea

  • Water Moccasin
  • Posts: 2372
Re: digital signature
« Reply #2 on: June 11, 2010, 09:36:41 AM »
well...ther is what I come with..

Code: [Select]
(setq AcSecPar (vla-getinterfaceobject
                         (vlax-get-acad-object)
              "AutoCAD.SecurityParams.18"
            )
  )
(vlax-dump-object AcSecPar t)

But I have no result..

Code: [Select]
; IAcadSecurityParams: Security Parameters Interface
; Property values:
;   Action = 0
;   Algorithm = 0
;   Comment = ""
;   Issuer = ""
;   KeyLength = 0
;   Password = ""
;   ProviderName = ""
;   ProviderType = 0
;   SerialNumber = ""
;   Subject = ""
;   TimeServer = ""
; No methods

also,..AutoCAD can detect this kind of drawing and change the icon. (see below)
so if autoCAD can....we can !   :pissed:

the only way I've seen (for the moment)...is with the (open "....  and get information in there..
Keep smile...