Hi Elizabeta
C_Login() will log in the user on the token, thus changing the login state
for all sessions on that token. The test script will login using
hSessionRO, but hSessionRW will also move from the public state to the user
state.
If you add C_Logout(hSessionRO) after the key generation and
Hi Roland,
I have a set of CPPUNIT tests for PKCS#11 that I'm using to discover SoftHSM,
based on the SoftHSM v2 test configuration.
For key generation, I'm using the generateKey function (see SignVerifyTests.cpp
in the SoftHSM v2 test folder).
However, the outcome of my tests, even if the CKA
Hi Elizabeta,
Elizabeta wrote:
> I'm new to opendnsec. I've tried to use SoftHSM v2 and I was able to sign a
> message without logging in.
> Is that fine for SoftHSM ? since in the PKCS#11 specification it is written
> that some tokens may not require any type of authentication to make the usage