I created a private RSA pair pair in HSM using PKCS11Interop to generate the key API. I want to export keypair. I used the Findobject API to get the keys, the API returns an ObjectHandle when reading attributes using the GetAttributeValue API, I can not read the key value. And when I set the key attribute CKA_EXTRACTABLE to true, I can’t generate the key at all.
I also need to import an external keyboard into HSM.
Any help is appreciated.
, , insecure HSM. HSM.
insecure
? . HSM .
HSM , , HSM, , ( HSM), . PKCS # 11 - , HSM. HSM , , PKCS11 api.
, , . HSM, , . HSM, .
P.S: Thales nShield / , HSM .
. Key/Key Pair, HSM () Key/Key, HSM, .
Key/Key Pair
, Safenet HSM, Thales HSM , GetAttributeValue, ObjectHandle ..
CKA_EXTRACTABLE , , , , . , .
ObjectHandle (FM). FM - , Safenet HSM, , HSM. ObjectHandle HSM, , FM. .
Safenet HSM.
RSA (, PKCS # 11, HSM), (. 12.1.3 of PKCS # 11 v2.20 ), , ASN.1 .
The specific type of ASN.1 structure that you need depends on the type of key you use (in your case, it is RSA), and on the capabilities of the target system that will use the keys, i.e. encryption applications usually use different formats, mail agents, etc. I believe that you can start with the structure RSAPrivateKeydefined in PKCS # 1 .
RSAPrivateKey
Source: https://habr.com/ru/post/1670917/More articles:Get kth common element from given integer array in C # - arraysKeras + TensorFlow: "tensor flow module does not have the attribute" merge_all_summaries "" - pythonWhy is compiling AOT not the default way to create Angular2 applications? - angularClojure and ClojureScript REPL produce different output - clojureLocaleCompare () lines containing "1" and "-1" in different browsers - javascriptHow to get an array of float samples from an audio file - c #Microservice: Service discovery and registration service with Akka - akkaHow to use slash import using babel-jest? - babeljsHow to find out which packages are installed using pip - pythonCLGeocoder reverseGeocodeLocation возвращает метку с разными lat/long? (прилагается пример детской площадки) - iosAll Articles