Reputation: 510
I'm reading PayShield docs and have stumbled upon a question regarding key management and LMK when importing keys:
Upvotes: 1
Views: 5091
Reputation: 11
in the A6 command you have an optional filed delimited by "%" and after that you need to select the LMK ID.
Upvotes: 1
Reputation: 21
the LMK can be variant or keyblock and it is the only key that you can store on the payShield. You can store up to 20 LMKs depending from the license you own.
Console commands such IK (impor key) or FK (form key) are not really ''importing'' anything in the HSM storage area.
The your produce and display on the console (or form from components) a key encrypted under the LMK you specify in the commands.
You need to store them in your application database and to use these keys you need always to use your PayShield that holds the LMK and is able to make a use of them.
You can address a specific LMK key using host commands in two ways:
Upvotes: 1
Reputation: 112857
You can identify a LMK in the command itself or by port. This is in the command or console reference manuals depending on the type of command.
You can not import a clear key, you can form a key from a minimum of two clear components.
Upvotes: 3