Thales HSM Generate key “Form key from clear components” (“FK” console command) by Host command

Aug 4, 2014 at 8:06 AM
I have two clear components, generated by command 000A30303030413230303255 (it's a 000A0000A2002U in HEX mode. This is GC command from 1270A513 Issue 3 manual) using Java code
Now I need to generate an Encrypted key from those components. The console command for it: FK command (1270A513 Issue 3, page 5-14). I couldn't find any host commands for doing it. I used Host Command Reference manual (1270A351 Issue 6) and found only A4 - command, but this command for generating key from Encrypted components.

Is there way to generate encrypted key using clear components?
Editor
Aug 5, 2014 at 12:11 PM
Hi!

Host can not accept plain components to form them into key. The only you can do is to use encrypted components under LMK. Plain components can be used only with HSM console interface.

Regards,
Juris
Aug 5, 2014 at 12:57 PM
Is it possible to generate encrypted components and then decrypt them using host commands for receiving their clear values? Encrypted components I will use to generate a encrypted key using A4 command.
Editor
Aug 6, 2014 at 11:19 AM
Edited Aug 6, 2014 at 11:20 AM
Hi!

If you want to generate a plaintext component and after form a key using HOST interface, you can use A2 command, but, plain component is possible only to print. Printer must be attached to HSM and configured. In response from HSM you will receive encrypted components which can be used to form a key.

Regards,
Juris
Marked as answer by Manshtein on 8/21/2014 at 6:34 AM
Aug 6, 2014 at 2:34 PM
Juris, thank you for your answer.