EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Certificates are destroyed after quitting VB6 PKCS11 sample executable

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#6762
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

EldoS\SecureBlackbox.AX\Samples\VB6\SBB6\PKIBlackbox\PKCS11\CryptoTokenDemo.vbp

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

Code
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.

BaseBBox6.dll 6.0.0.143
BaseBBox.dll 6.0.0.143
#6765
Posted: 06/27/2008 08:29:51
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1343 times

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




|

Back to top

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

Got it!