Smart key equipment and communication method and system of application software
A technology of smart key equipment and application software, which is applied in the field of data communication and can solve the problems of non-protection of other communication data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0099] In this embodiment, the smart key device is used as a smart card for illustration, where the public key is stored in the application software, and the private key is stored in the smart card. The public key and the private key are pre-generated, and the private key is initialized on the smart card. The public key is directly built into the application software; or, the public key and private key are generated in the smart card according to needs, the private key is directly stored in the smart card, and the public key is stored in the application software. The application software obtains the process key from the smart card before agreeing with the smart card.
[0100] see figure 1 , the present embodiment provides a communication method between a smart card and application software, the method comprising:
[0101] 101: the application software establishes a connection with the smart card by calling the function SCardConnect();
[0102] 102: The application software r...
Embodiment 2
[0124] In this embodiment, the smart key device is used as a smart card for illustration. When the smart card and application software are initialized, the public key is stored in the application software, and the private key is stored in the smart card. see figure 2 , the embodiment of the present invention provides a communication method between a smart card and application software. The difference between this method and the method provided in Embodiment 1 is that a separate session is first established between the application software and the smart card, and then the key is agreed upon. . The method includes:
[0125] 201: The application software establishes a connection with the smart card by calling the function SCardConnect();
[0126] 202: The application software sends an operation instruction to the smart card by calling the function SCardTransmit(), and the operation instruction is an APDU instruction, and its format is: APDU instruction header + APDU instructio...
Embodiment 3
[0151] see image 3 , the embodiment of the present invention provides a communication method between a smart key device and application software, taking the smart key device as a USB Key as an example, the difference between this method and Embodiment 1 and Embodiment 2 is that this The protection key of the process key in the embodiment is obtained by the application software and the USB Key through a security agreement. The method includes:
[0152] 301: The application software establishes a connection with the USB Key by calling the function CreateFile(), and the two parties agree that both parties save the number A and the number B;
[0153] Among them, the number A and the number B are both integers, and the number A is a prime number, and the number B, the square of the number B, the cube of the number B, ..., the (A-1) power of the number B The results after taking the remainder of the logarithm A are different.
[0154] In this embodiment, the number A may be 11, ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com