EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Certifcate Storage with Java Edition

Posted: 09/16/2012 22:01:19
by Daniel Medina (Standard support level)
Joined: 06/21/2011
Posts: 20


I'm getting the following error when i run this code:

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: SecureBlackbox.Base.JNI.CertEnumSystemStore(ILSecureBlackbox/Base/JNI$Pointer; Ljava/lang/Object; LSecureBlackbox/Base/JNI$PFN_CERT_ENUM_SYSTEM_STORE;)Z
at SecureBlackbox.Base.JNI.CertEnumSystemStore(Native Method)
at SecureBlackbox.Base.SBWinCrypt.CertEnumSystemStore(SBWinCrypt.pas:4101)
at SecureBlackbox.Base.TElWinCertStorage.GetAvailableStores(SBWinCertStorage.pas:1859)
at ...

Do you know why?
Posted: 09/17/2012 00:03:25
by Vsevolod Ievgiienko (Team)


Before you use TElWinStorage or PKCS#11 related functionality in Java edition you should initialize native JNI library. The library includes two files for x86 and x64 architecture: sbbjni32.dll and sbbjni64.dll. To initialize it you should call SecureBlackbox.Base.JNI.initialize() method. If JNI files are located in java.library.path then you can call it without arguments, otherwise you should pass a full DLL path as an argument. Please refer to \secbboxjava\Samples\PKIBlackbox\JNI sample for details.



Topic viewed 3146 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!