Generate an Asymmetric Key.
Generate an Asymmetric Key in the device.
Generate a new key using secp256r1 in the device:
yubihsm> generate asymmetric 0 0 eckey 1 sign-ecdsa ecp256 Generated Asymmetric key 0x2846
Tc = 0x46 |
Lc = 2 + 40 + 2 + 8 + 1 |
Vc = I || L || D || C || A |
Generate an Asymmetric key-pair with a given ID. Each parameter has a fixed length and the order is compulsory.
I := Object ID of the Asymmetric Key (2 bytes)
L := Label (40 bytes)
D := Domains (2 bytes)
C := Capabilities (8 bytes)
A := Algorithm (1 byte)