pkcs#11
List all smartcard slots in Java
How can 开发者_JAVA百科I search through all available slots in the machine so I can get each keystore for each slot, in Java?As I\'ve found, there is this a way:[详细]
2023-04-12 01:01 分类:问答How to get CKA_ID from public/private Key pair of USB Token?
I have a USB token contain certificate, public/private key pair, how can i get #define CKA_ID Key identifier for public/private key pair (default empty).[详细]
2023-04-09 04:56 分类:问答Connecting to SoftHSM java
Code: String pkcs11cfg = \"pkcs11.cfg\"; Provider p = new SunPKCS11(pkcs11cf开发者_如何学编程g);[详细]
2023-03-27 05:05 分类:问答PKCS#11 driver prompts for PIN for each key
I am using CardOS API driver from Siemens as PKCS#11 driver to load certificates from a PKI card as follows:[详细]
2023-03-26 18:44 分类:问答PKCS#11 Generate AES key
Hei, The question is not really about Ncryptoki but i didnt know anywhere else to ask.. so if anybody can help please help me.[详细]
2023-03-19 06:28 分类:问答Simplest way to cryptographically sign a file and output in CMS format with a PKCS11 provider?
I am looking for the simplest way to sign a given file and get the output in CMS format, but this must be using a PKCS11 provider as the private key for signing is on a smartcard.[详细]
2023-03-18 16:22 分类:问答Get a byte array from gtop11dotnet.dll in c#
I have a gtop11dotnet.dll. It is .NET PKCS#11 Library for Windows v2.2.0.9 from Gemalto website. DLL is containing C_GetCardProperty method which can be used to retrieve Smart card\'s serial number or[详细]
2023-03-16 06:05 分类:问答How to p/invoke this methode?
typedef CK_CALLBACK_FUNCTION(CK_RV, CK_CREATEMUTEX)( CK_VOID_PTR_PTR ppMutex ); regards, /* I need a开发者_StackOverflow社区lso to get my hsm informaton via a C# application by P/Invoke PKCS#11*/Pl[详细]
2023-03-02 11:53 分类:问答RSA keypair generation and storing to keystore
I am tryng to generate RSA开发者_运维技巧 keypair and to store it on the HSM keystore. The code i have right now looks like this:[详细]
2023-02-16 05:32 分类:问答Access restriction on sun.security.pkcs11.SunPKCS11
I\'m trying to setup a PKCS11 provider for accessing a smartcard. I installed a PKCS11 library on my sys开发者_Python百科tem and followed the instructions in the Java PKCS#11 Reference Guide.[详细]
2023-02-14 22:19 分类:问答