Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2016-06-08
FEITIAN TECHNOLOGIES
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are following defects in the prior art: some applications require the user to manually load the PKCS#11 module, and there are often differences in the manual loading methods of different applications, for example Mozilla Firefox The user needs to manually load the PKCS#11 module through Tools-Options-Advanced-Encryption-Security Device, and Mozilla Thunderbird requires the user to manually load the PKCS#11 module through Tools-Options-Advanced-Certificate-Security Device, so manually loading the PKCS#11 module is not only Time-consuming and inefficient to operate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for automatically loading PKCS#11 modules to application programs
  • Method and device for automatically loading PKCS#11 modules to application programs
  • Method and device for automatically loading PKCS#11 modules to application programs

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for automatically loading PKCS#11 modules to application programs, and belongs to the field of information security. The method comprises the following steps: obtaining a cache catalog of an application program; opening a security module database under the cache catalog of the application program; generating a security module database loaded module list; obtaining a pointer of the list; accessing to the list and judging whether the list comprises module names of to-be-loaded PKCS#11 modules; when the list does not comprise the module names of the to-be-loaded PKCS#11 modules, updating the list; writing the module names of the to-be-loaded PKCS#11 modules and an absolute catalog in the list; and storing the updated list. The method and device disclosed in the invention have the beneficial effects of automatically loading PKCS#11 modules to application programs, do not need the users to grasp a complicated manual loading method, saving the trouble of carrying out manual operations by the users, and providing convenience to the users.

Description

technical field [0001] The invention relates to the field of information security, in particular to a method and a device for automatically loading a PKCS#11 module into an application program. Background technique [0002] In the cryptographic system, PKCS#11 is a member of the Public Key Cryptography Standards (PKCS, Public-Key Cryptography Standards), which defines a set of programming interfaces independent of technology. Since PKCS#11 only provides the definition of the interface, but not the implementation of the interface, the implementation of the general interface is provided by the equipment provider. For example, the manufacturer of the smart password key will provide the implementation of the API that conforms to the PKCS#11 interface standard , that is, the PKCS#11 module. Before the smart key is used, the PKCS#11 module needs to be loaded into the corresponding application, so that the end user can access the application through the smart key. There are follow...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products