Discuss this help topic in SecureBlackbox Forum

TElPKCS11CertStorage class

Properties     Methods     Events     Declared in     Licensing     

TElPKCS11CertStorage is a descendant of TElCustomCertStorage.


    TElPKCS11CertStorage provides access to certificate storages 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 certificates and private 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.

    If you want to use Java Native Interface (JNI), check the corresponding article.


Inherited from TElCustomCertStorage


Inherited from TElCustomCertStorage


Declared in

  • Namespace: SBPKCS11CertStorage
  • Assembly: SecureBlackbox.PKI
  • Unit: SBPKCS11CertStorage
  • Package: SecureBlackbox.PKI.jar
  • sbpkcs11certstorage.h


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

PKIBlackbox OR AdESBlackbox OR SecureBlackbox Standard OR SecureBlackbox Professional OR SecureBlackbox Transports OR SecureBlackbox Data Security

Discuss this help topic in SecureBlackbox Forum