Discuss this help topic in SecureBlackbox Forum

TElSSHPKCS11KeyStorage class

Properties     Methods     Events     Declared in     Licensing     

TElSSHPKCS11KeyStorage is a descendant of TElSSHCustomKeyStorage.


    Use this class to store one or more keys used during SSH connection via PKCS#11 API. This API is usually used to access cryptocards and cryptotokens. Each vendor of the card reader device or crypto token usually ships a PKCS#11 DLL to let applications, which support PKCS#11 (eg. Mozilla, Firefox, PGP etc.) to access the device.

    To use the storage, you need to perform the following sequence of the operations:

  • Specify the name of the DLL module which provides PKCS#11 API
  • Call Open method to open the storage
  • Call OpenSession to start a session. This is necessary if you want to read/write keys. Without opening a session you can only obtain certain slot and token/card information
  • Call TElPKCS11SessionInfo.Login to get access to protected information (see PKCS#11 standard for details).
  • After the application has finished using the token/card, call Close method.


Inherited from TElSSHCustomKeyStorage


Inherited from TElSSHCustomKeyStorage


Declared in

  • Namespace: SBSSHPKCS11KeyStorage
  • Assembly: SecureBlackbox.PKISSH
  • Unit: SBSSHPKCS11KeyStorage
  • Package: SecureBlackbox.PKISSH.jar
  • sbsshpkcs11keystorage.h


To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses:

SecureBlackbox Professional, SecureBlackbox Standard

Discuss this help topic in SecureBlackbox Forum