Test method and device for intelligent secrete key equipment
A smart key device and the tested technology are applied in secure communication devices and key distribution, which can solve problems such as difficulty in validity testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Embodiment 1 of the present invention provides a method for testing a smart key device, specifically taking the process of importing a key as an example for illustration, as shown in figure 1 shown, including:
[0066] Step 100: The device derives the first public key from the smart key device under test according to the preset parameters, if not derived, the test is terminated and ends;
[0067] Specifically, in this embodiment, the device derives the first public key by sending a first instruction (that is, the ExportPublicKey instruction) to the smart key device under test, and the data field of the first instruction (ExportPublicKey) instruction includes: application ID, container ID , the key bit length of the first public key; step 100 is specifically: generate a first instruction according to the preset application ID, the preset container ID, and the first public key length, and send it to the tested smart key device , the smart key device under test parses the...
Embodiment 2
[0089] Embodiment 2 of the present invention provides a method for testing a smart key device, specifically taking the process of deriving a key as an example for illustration, as shown in figure 2 shown, including:
[0090] Step 201: Send the third public key to the tested smart key device, control the tested smart key device to generate and export the third session key ciphertext and obtain the third session key ID, such as the tested smart key If the device does not output the third session key ciphertext or the third session key ID, the test is terminated and ends;
[0091] In this embodiment, before step 201, it also includes: the device derives the third public key from the auxiliary smart key device that has passed the test;
[0092] Preferably, in this embodiment, the third public key used in step 201 corresponds to the third private key, preferably, the third public key is an RSA public key or an SM2 public key;
[0093] Specifically, in this embodiment, the device...
Embodiment 3
[0107] Embodiment 3 of the present invention provides a method for testing smart key devices, wherein the first smart key device and the second smart key device conduct mutual testing, and the specific process is as follows image 3 shown, including:
[0108]Step 300: the device derives the second public key from the second smart key device according to the second preset parameter, if not derived, the test is terminated and ends;
[0109] Specifically, in this embodiment, the device derives the second public key by sending a first instruction (that is, the ExportPublicKey instruction) to the second smart key device, and the data field of the first instruction (ExportPublicKey) instruction includes: application ID, container ID , the key bit length of the second public key; Step 300 is specifically: generate a first instruction according to the preset application ID, the preset container ID, and the length of the second public key, and send it to the second smart key device , ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


