EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Certificates are destroyed after quitting VB6 PKCS11 sample executable

Posted: 06/27/2008 05:58:45
by gino comino (Basic support level)
Joined: 06/26/2008
Posts: 4

I am using the VB6 sample


I read the certificates correctly, but each time I quit the application the certificates get destroyed, so I have to create new ones each time.

If I correctly close the session adding

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
    On Error Resume Next
    Call Session.Logout
    Storage.CloseSession 0
    Set Session = Nothing
End Sub

everything goes ok.

If I usyncronously shutdown the computer the certificates are still there.

So the only problem is quitting the application (after doing the smartcard login) without closing the session.

I don't think it's a proper behaviour, is it?

I am using 2 different token (Siemens and a property one), so I think it's an activeX issue, not a PKCS11.dll one.

Posted: 06/27/2008 08:29:51
by Eugene Mayevski (Team)

Moved to HelpDesk.

Sincerely yours
Eugene Mayevski



Topic viewed 1451 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!