Sample to demonstrate any operation on data (Encryption, Signing etc) using the key already present in aws cloudhsm using the c code of pkcs11 sdk

0

I need to perform signing/verification and/or encryption/decryption using a key present in hsm. To elaborate, I wan to fetch the key from aws cloudhsm and the use that key to perform crypto operations. I am able to fetch the key using C_FindObjectsInit, C_FindObjects and C_FindObjectsFinal function. But when performing the cryptographic operations like signing or encryption, initialisation itself it failing i.e. C_EncryptInit / C_SignInit is giving error.

Nush
posta un mese fa149 visualizzazioni
1 Risposta
0
profile pictureAWS
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande