Method and device for automatically loading PKCS#11 modules to application programs
A technology for application programs and loading modules, applied in the field of information security, can solve problems such as time-consuming and low efficiency, and achieve the effect of improving loading efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] This embodiment provides a method for automatically loading a PKCS#11 module to an application program, the method is implemented by running an executable file, such as figure 1 As shown, the method includes:
[0032] Step S1, obtaining the cache directory of the application program, opening the security module database under the cache directory of the application program, and generating a list of loaded modules in the security module database;
[0033] Specifically, obtaining the cache directory of the application program may specifically include: obtaining the storage directory of the application program configuration file, accessing the application program configuration file through the storage directory, reading the path item in the application program configuration file, and according to the stored The directory and the path item are combined to obtain the cache directory of the application;
[0034] Step S1 may specifically include: opening the security module d...
Embodiment 2
[0041] This embodiment provides a method for automatically loading a PKCS#11 module to an application program, the method is implemented by running an executable file, such as figure 2 As shown, the method includes:
[0042] Step 101, obtaining the installation directory of the application program;
[0043] Further, step 101 specifically includes: identifying the current operating system, and obtaining the default installation directory of the application program under the current operating system;
[0044] For example, the default installation directory of Mozilla Firefox under the Linux operating system is / user / lib / firefox, and the default installation directory under the MacOS operating system is / Applications / ; the default installation directory of Mozilla Thunderbird under the Linux operating system is / usr / lib / The default installation directory for thunderbird under the MacOS operating system is / Applications / Thunderbird.app.
[0045] Alternatively, step 101 specifi...
Embodiment 3
[0085] This embodiment provides a device for automatically loading a PKCS#11 module to an application program, such as image 3 shown, including:
[0086] Obtaining a directory module 300, configured to obtain a cache directory of an application;
[0087] Specifically, in this embodiment, the obtaining directory module may be specifically configured to: obtain the storage directory of the application configuration file, access the application configuration file through the storage directory, and read the path item in the application configuration file, according to The cache directory of the application is obtained by combining the storage directory and the path item.
[0088] The generation list module 301 is used to open the security module database under the cache directory of the application obtained by the acquisition directory module 300, and generate the loaded module list of the security module database;
[0089] Specifically, in this embodiment, the generation list ...
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