PUT AUTHENTICATION KEY

Store a new Authentication Key.

Description

Store an Authentication Key in the device.

Shell Example

Store a new Authentication Key derived from the password newpassword:

yubihsm> put authkey 0 0 authkey 1 generate-asymmetric-key,sign-pkcs sign-pkcs newpassword
Stored Authentication key 0xbb72

Protocol Details

Command

Tc = 0x44

Lc = 2 + 40 + 2 + 8 + 1 + 8 + 16 + 16

Vc = I || L || D || C || A || DC || Ke || Km

I := Object ID of the Authentication Key (2 bytes)

L := Label (40 bytes)

D := Domains (2 bytes)

C := Capabilities (8 bytes)

A := Algorithm (1 bytes)

DC := Delegated Capabilities (8 bytes)

Ke := Encryption Key (16 bytes)

Km := Mac Key (16 bytes)

Response

Tr = 0xc4

Lr = 2

Vr = I

I := Object ID of created Authentication Key (2 bytes)