EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElPKCS11CertStorage problem in Java

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#31169
Posted: 10/29/2014 06:20:37
by Ettore Monaco (Basic support level)
Joined: 10/29/2014
Posts: 2

Hi,
I've a problem when I try to run my simple code:

Code
TElPKCS11CertStorage certStorage = new TElPKCS11CertStorage();

// Set name of PKCS#11 DLL
certStorage.setDLLName("C:/Windows/System32/opensc-pkcs11.dll");

// Call Open method to open the storage
certStorage.open();


When call open, I receive this response:

Execution protection violation
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=8236, tid=6196
#
# JRE version: Java™ SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot™ Client VM (24.65-b04 mixed mode windows-x86 )
# Problematic frame:
# C 0x00000000
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows



Can anyone help me?

Thanks
#31170
Posted: 10/29/2014 06:27:12
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Is the problem reproducable with our samples? Did you load JNI module using JNI.initialize() method? Is target platform is the same for opensc-pkcs11.dll, JNI module and JRE (32 or 64 bit) ?
#31171
Posted: 10/29/2014 06:55:48
by Ettore Monaco (Basic support level)
Joined: 10/29/2014
Posts: 2

Hi,
the problem is with your samples...

I've modified the main method of SimpleSigner for call my method and before call it I execute this:
Code
SBUtils.setLicenseKey("....");
JNI.initialize();

The platform is for 32 bit.

Thanks
#31174
Posted: 10/29/2014 07:13:08
by Vsevolod Ievgiienko (EldoS Corp.)

Lets continue in the Helpdesk. I've created a ticket for you.

Reply

Statistics

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