Digital ID Visibility to VB

Discussion in 'AutoCAD' started by DanGleason, Jul 30, 2004.

  1. DanGleason

    DanGleason Guest

    In AutoCAD 2004, we can use a digital certificate to sign a dwg file. After it is signed, users who open the file can see if the certificate is there or not. Once a user makes a change to the dwg, the digital certificate is automatically discarded. This makes it very easy to see if any one has changed a drawing.

    What I need to find out is how I can see if the digital certificate is there or not there from within a VBA macro in AutoCAD 2004. I've checked the AutoCAD documentation, their newsgroups, and their knowledgebase articles with no luck. Even Google was no help with this one. So I figured, register here and post this topic and see if the answer is out there...Cheers!

    Dan Gleason
    You are experiencing a traffic accident...
     
    DanGleason, Jul 30, 2004
    #1
  2. Access and look at the security parameters [AcadSecurityParams] of the
    active document...it's my understanding that if there is nothing [ie
    AcadSecurityParams.Issuer = "" ] then there's no certificate.
    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Jul 30, 2004
    #2
  3. DanGleason

    boneoh Guest

    How do you access the SecurityParams for the active document? I can not find any property or method exposed which will return this information...

    The only info that I found for this is related to the Save or SaveAs. In these cases we create a SecurityParams object to pass to the Save or SaveAs.

    All in all, the digital certificate stuff seems to be poorly documented.

    Thanks for your help!
     
    boneoh, Aug 9, 2004
    #3
  4. DanGleason

    Tom Craft Guest

    Have you been able to attach a digital signature through vba or vb? I have unable to get it to work and have had to resort to manual methods (tools>
    etc).

    Look under ActiveX in the help -> objects-> securityparams

    Tom
     
    Tom Craft, Aug 10, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.