Certificate management method and device
By introducing a two-time audit mechanism into the certificate management system, the problem of certificate management is solved, reliable management of certificates and refinement of authority attribution are achieved, and the security and consistency of certificates are ensured.
Patent Information
- Application Number
- CN202010138222.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-03-03
AI Technical Summary
In the existing technology, due to the large number of digital certificates in the project platform and the different functions of each certificate, it is difficult to effectively manage certificates and there is a lack of reliable management methods.
A certificate management method is proposed. By receiving the management request of the certificate user, the certificate parameter information is sent to the first audit end and the second audit end for two audits, and corresponding management operations are performed based on the audit results to update the certificate. Manage the database to ensure the reliability of certificates.
It achieves reliable management of a large number of digital certificates, ensures the reliability and consistency of certificates through two audits, and improves the efficiency of certificate authority ownership and signature management.
Smart Images

Figure CN113364591B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a certificate management method and device. Background Art
[0002] Digital certificates can ensure the integrity and security of information and data. Usually, digital certificates can be produced by using digital certificate authentication technology with digital encryption technology as the core.
[0003] Digital certificates can be used to encrypt, decrypt, digitally sign, and authenticate various information transmitted on the Internet. They can also protect the digital transmission from being hacked by criminals, or even if hacked, the content cannot be viewed. For example, an Android certificate can sign an APK to ensure that the issuer of the APK is correct and has not been tampered with.
[0004] However, in the process of implementing the present invention, the inventors found that the above-mentioned method in the prior art has at least the following defects: since there are a large number of digital certificates in the project platform and the functions of each digital certificate are different, how to reliably manage a large number of digital certificates has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the above problems, the present invention is proposed to provide a certificate management method and device that overcome the above problems or at least partially solve the above problems.
[0006] According to one aspect of the present invention, there is provided a certificate management method, comprising:
[0007] Receive and obtain the management type information and certificate parameter information contained in the certificate management request sent by the certificate user;
[0008] Send the certificate parameter information to the first audit end for initial audit, and if a first audit pass message is received from the first audit end, send the certificate parameter information to the second audit end for secondary audit;
[0009] If a second audit pass message fed back by the second audit end is received, a management operation matching the management type information is performed according to the certificate parameter information, and the certificate management database is updated according to the operation result of the management operation.
[0010] Optionally, the first audit terminal is a certificate ownership audit terminal; wherein the certificate ownership audit terminal is used to audit the certificate ownership authority;
[0011] The second audit end is a signature management audit end; wherein the signature management audit end is used to audit the certificate signature.
[0012] Optionally, after receiving and obtaining the management type information and certificate parameter information contained in the certificate management request sent by the certificate user, the method further includes:
[0013] Verifying the certificate parameter information, and if the verification passes, executing the step of sending the certificate parameter information to the first audit end for initial audit;
[0014] The verification includes: parameter format verification and / or certificate duplication verification.
[0015] Optionally, when the management type information is a certificate entry type, performing a management operation matching the management type information according to the certificate parameter information includes:
[0016] Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information;
[0017] A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
[0018] Optionally, the certificate entry type further includes: an initial certificate application type, and an existing certificate import type;
[0019] When the certificate entry type is an initial certificate application type, the obtaining of the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: generating a certificate password and a certificate signature corresponding to the certificate parameter information;
[0020] When the certificate entry type is an existing certificate import type, obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: parsing the certificate parameter information, and obtaining the certificate password and certificate signature corresponding to the certificate parameter information according to the parsing result.
[0021] Optionally, when the management type information is a certificate borrowing type, performing a management operation matching the management type information according to the certificate parameter information, and updating the certificate management database according to an operation result of the management operation includes:
[0022] A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
[0023] Optionally, the certificate parameter information includes: authority attribution type parameter information; wherein the authority attribution type parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
[0024] Optionally, the certificate parameter information includes: certificate directory parameter information and certificate suffix information;
[0025] The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0026] Optionally, the certificate is an Android signing certificate.
[0027] According to another aspect of the present invention, there is provided a certificate management device, comprising:
[0028] A receiving module, adapted to receive and obtain management type information and certificate parameter information contained in a certificate management request sent by a certificate user;
[0029] An audit module, adapted to send the certificate parameter information to a first audit terminal for an initial audit, and if a first audit pass message fed back by the first audit terminal is received, send the certificate parameter information to a second audit terminal for a secondary audit;
[0030] The management module is adapted to execute a management operation matching the management type information according to the certificate parameter information upon receiving a second audit pass message fed back by the second audit end, and update the certificate management database according to the operation result of the management operation.
[0031] Optionally, the first audit terminal is a certificate ownership audit terminal; wherein the certificate ownership audit terminal is used to audit the certificate ownership authority;
[0032] The second audit end is a signature management audit end; wherein the signature management audit end is used to audit the certificate signature.
[0033] Optionally, the receiving module is further adapted to:
[0034] Verifying the certificate parameter information;
[0035] The verification includes: parameter format verification and / or certificate duplication verification.
[0036] Optionally, when the management type information is a certificate entry type, the management module is specifically adapted to:
[0037] Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information;
[0038] A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
[0039] Optionally, the certificate entry type further includes: an initial certificate application type, and an existing certificate import type;
[0040] When the certificate entry type is an initial certificate application type, the management module is specifically adapted to: generate a certificate password and a certificate signature corresponding to the certificate parameter information;
[0041] When the certificate entry type is an existing certificate import type, the management module is specifically adapted to: parse the certificate parameter information, and obtain a certificate password and a certificate signature corresponding to the certificate parameter information according to the parsing result.
[0042] Optionally, when the management type information is a certificate borrowing type, the management module is specifically adapted to:
[0043] A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
[0044] Optionally, the certificate parameter information includes: authority attribution type parameter information; wherein the authority attribution type parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
[0045] Optionally, the certificate parameter information includes: certificate directory parameter information and certificate suffix information;
[0046] The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0047] Optionally, the certificate is an Android signing certificate.
[0048] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0049] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the above-mentioned certificate management method.
[0050] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to execute operations corresponding to the certificate management method as described above.
[0051] In the certificate management method and device provided by the present invention, it is possible to receive and obtain the management type information and certificate parameter information contained in the certificate management request sent by the certificate user, so that the certificate parameter information is sent to the first audit end and the second audit end for two audits, and after the audit is passed, the management operation matching the management type information is performed according to the certificate parameter information. It can be seen that this method can reliably manage the certificate through the certificate management request. Moreover, the reliability of the certificate can be effectively ensured through the two audit processes of the first audit end and the second audit end.
[0052] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0054] Figure 1 A schematic diagram of a process flow of a certificate management method according to an embodiment of the present invention is shown;
[0055] Figure 2 A schematic diagram showing a flow chart of a certificate management method according to yet another embodiment of the present invention is shown;
[0056] Figure 3 A schematic diagram of the structure of a certificate management device according to another embodiment of the present invention is shown;
[0057] Figure 4 A schematic structural diagram of an electronic device according to the present invention is shown;
[0058] Figure 5 A schematic diagram showing the process of initial certificate application;
[0059] Figure 6 A schematic diagram of the process of importing an existing certificate is shown;
[0060] Figure 7 A flowchart of the certificate borrowing process is shown. DETAILED DESCRIPTION
[0061] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0062] Figure 1 A schematic diagram of a process flow of a certificate management method according to an embodiment of the present invention is shown. Figure 1 As shown, the method includes:
[0063] Step S110: receiving and acquiring management type information and certificate parameter information contained in the certificate management request sent by the certificate user.
[0064] The certificate management request is used to perform various management on certificates, including: initial certificate application, import of existing certificates, certificate borrowing, etc. Specifically, the certificate management request is parsed, and the management type information and certificate parameter information contained in the certificate management request are determined according to the parsing result. The management type information is used to indicate the operation type of the management operation, and the certificate parameter information is used to indicate various attributes of the certificate.
[0065] Step S120: Send the certificate parameter information to the first audit end for initial audit. If a first audit pass message is received from the first audit end, send the certificate parameter information to the second audit end for secondary audit.
[0066] The first audit terminal is used to perform a first round of audit process for the certificate parameter information, and the second audit terminal is used to perform a second round of audit process for the certificate parameter information. The specific audit content and audit rules involved in the two rounds of audit process can be flexibly set by those skilled in the art. For example, the first audit terminal is a certificate attribution audit terminal, which is used to audit the certificate attribution authority; the second audit terminal is a signature management audit terminal, which is used to audit the certificate signature.
[0067] Step S130: If a second audit pass message fed back by the second audit end is received, a management operation matching the management type information is performed according to the certificate parameter information, and the certificate management database is updated according to the operation result of the management operation.
[0068] Specifically, when the second audit pass message fed back by the second audit end is received, it means that the certificate parameter information has passed two rounds of audit processes. Accordingly, the corresponding certificate file is obtained according to the certificate parameter information, and the management operation matching the management type information is performed on the obtained certificate file. Among them, the management operation can be various operations such as the initial certificate application operation, the existing certificate import operation, and the certificate borrowing operation. In addition, in order to ensure the synchronization of certificate information in the system, it is necessary to update the certificate management database according to the operation results of the management operation. Accordingly, when other users access the database, they can obtain the latest certificate information.
[0069] It can be seen that in the certificate management method and device provided by the present invention, it is possible to receive and obtain the management type information and certificate parameter information contained in the certificate management request sent by the certificate user, so that the certificate parameter information is sent to the first audit end and the second audit end for two audits, and after the audit is passed, the management operation matching the management type information is performed according to the certificate parameter information. It can be seen that this method can reliably manage the certificate through the certificate management request. Moreover, the reliability of the certificate can be effectively ensured through the two audit processes of the first audit end and the second audit end.
[0070] Figure 2 FIG. 2 shows a flow chart of a certificate management method according to another embodiment of the present invention. Figure 2 As shown, the method includes:
[0071] Step S210: receiving and acquiring management type information and certificate parameter information contained in a certificate management request sent by a certificate user.
[0072] Among them, certificate users include various types of users registered in the certificate management system. In this system, different access rights can be set for each certificate user according to the user type. For example, according to the project group information to which the certificate user belongs, the management authority can be configured to be able to manage the certificates within the project group.
[0073] The certificate management request is used to perform various management on certificates, including: initial certificate application, import of existing certificates, certificate borrowing, etc. Specifically, the certificate management request is parsed, and the management type information and certificate parameter information contained in the certificate management request are determined according to the parsing result.
[0074] The management type information is used to indicate the operation type of the management operation, for example, including: certificate entry type, and certificate borrowing type; wherein the certificate entry type can be further divided into initial certificate application type, and existing certificate import type. The certificate parameter information is used to indicate various attributes of the certificate, for example, including: authority attribution parameter information, specifically including certificate grouping information, certificate project information, certificate attribution information, and release type information; certificate directory parameter information and certificate suffix information; wherein the certificate suffix information includes: a first type of suffix used to indicate a change in the directory name, and a second type of suffix used to indicate a change in the signature method.
[0075] The certificate in this embodiment may be an Android signing certificate.
[0076] Step S220: Verify the certificate parameter information. If the verification passes, execute step S230.
[0077] Specifically, the purpose of verifying the certificate parameter information is to determine whether the certificate parameter information complies with the specification. For example, the verification process includes parameter format verification and / or certificate duplication verification. Among them, the parameter format verification is used to verify whether the naming and length of each parameter comply with the specification, and the certificate duplication verification is used to verify whether the newly added certificate is repeated with the existing certificates in the system.
[0078] Step S230: Send the certificate parameter information to the first review end for initial review.
[0079] Among them, the first audit terminal is used to perform the first round of audit process for the certificate parameter information. In this embodiment, the first audit terminal is a certificate attribution audit terminal, which is used to audit the certificate attribution authority. For example, the first audit terminal can be a network terminal used by the certificate owner. Accordingly, the authority attribution of the certificate is determined according to the certificate parameter information, and then the network terminal identifier of the certificate owner matching the authority attribution is queried, and then the certificate parameter information is sent to the first audit terminal for audit.
[0080] Step S240: If a first audit pass message is received from the first audit end, the certificate parameter information is sent to the second audit end for a second audit.
[0081] Specifically, if the first audit end fails the audit, the certificate management request is rejected; if the first audit end passes the audit, a first audit pass message is sent. Accordingly, when the first audit pass message is received, it indicates that the certificate management request has passed the first round of audit process. Therefore, the certificate parameter information is sent to the second audit end for secondary audit.
[0082] The second audit terminal is used to perform a second round of audit process for the certificate parameter information. In this embodiment, the second audit terminal is a signature management audit terminal, which is used to audit the certificate signature. For example, the second audit terminal can be a network terminal used by the signature management group. Accordingly, the signature information of the certificate is verified according to the certificate parameter information, and whether the audit is passed is determined according to the verification result.
[0083] Step S250: If a second audit pass message fed back by the second audit end is received, a management operation matching the management type information is performed according to the certificate parameter information, and the certificate management database is updated according to the operation result of the management operation.
[0084] Specifically, if the second audit end fails the audit, the certificate management request is rejected; if the second audit end passes the audit, a second audit pass message is sent. Accordingly, when the second audit pass message fed back by the second audit end is received, it means that the certificate parameter information has passed two rounds of audit processes. Accordingly, the corresponding certificate file is obtained according to the certificate parameter information, and the management operation matching the management type information is performed on the obtained certificate file.
[0085] The management operation may be an initial certificate application operation, an existing certificate import operation, a certificate borrowing operation, etc. In addition, in order to ensure the synchronization of certificate information in the system, the certificate management database needs to be updated according to the operation results of the management operation. Accordingly, when other users access the database, they can obtain the latest certificate information.
[0086] In this embodiment, various types of management operations are described in detail:
[0087] 1. Certificate entry type:
[0088] The certificate entry type is used to enter newly added certificates into the certificate management system to expand the number of certificates in the system. Specifically, when the management type information is the certificate entry type, it is implemented in the following way: obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information; creating a certificate directory corresponding to the certificate parameter information, and storing the certificate file, certificate password, and certificate signature. In this way, the certificate entry function can be realized.
[0089] In addition, the certificate entry types further include: initial certificate application type and existing certificate import type. The following describes the two types in detail:
[0090] (1) Initial certificate application type:
[0091] The initial certificate application type is used to enter a new certificate into the system. Accordingly, when the certificate entry type is the initial certificate application type, when obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information, the following method is used to obtain the certificate password and certificate signature corresponding to the certificate parameter information.
[0092] For example, Figure 5 The figure shows a flow chart of the initial certificate application process. Figure 5 As shown in the figure, the initial certificate application process specifically includes the following steps:
[0093] Step 501: The user sends a new certificate application, which is also called an initial certificate application, that is, the certificate management request mentioned above.
[0094] Step 502: extract the certificate parameter information contained in the new certificate application, and verify the parameters, including parameter format verification and certificate deduplication verification, etc. The applicant can modify or cancel the application.
[0095] Step 503: The network terminal corresponding to the certificate person in charge (ie, the first review terminal) performs an approval operation on the verified certificate parameter information.
[0096] Step 504: The network terminal corresponding to the signature management group (ie, the second review terminal) performs an approval operation on the verified certificate parameter information.
[0097] Step 505: Automatically generate a certificate password.
[0098] Step 506: Generate a signature certificate using the Keytool tool.
[0099] Step 507: Save the certificate information, including the certificate file, certificate password and certificate signature (ie, signature command).
[0100] Step 508: Create a certificate directory.
[0101] Step 509: Synchronize the certificate information to another machine, that is, synchronize the certificate information to other network devices in the system. For example, information synchronization can be achieved by modifying the certificate management database.
[0102] Step 510: Return the certificate creation result.
[0103] (2) Type of importing existing certificates:
[0104] The existing certificate import type is used to import the existing external certificates in the project into this system. Accordingly, when the certificate input type is the existing certificate import type, when obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information, it is achieved in the following way: parsing the certificate parameter information, and obtaining the certificate password and certificate signature corresponding to the certificate parameter information according to the parsing result.
[0105] For example, Figure 6 The figure shows the flow chart of the import process of existing certificates. Figure 6 As shown in the figure, the process of importing an existing certificate specifically includes the following steps:
[0106] Step 601: The user sends an import certificate request, which is the certificate management request mentioned above.
[0107] Step 602: extract the certificate parameter information contained in the imported certificate application, and verify the parameters, including parameter format verification and certificate deduplication verification.
[0108] Step 603: If the verification is passed, the certificate is uploaded to the system. After the certificate is uploaded, the applicant can modify the application or cancel the application.
[0109] Step 604: The network terminal corresponding to the certificate person in charge (ie, the first review terminal) performs an approval operation on the uploaded certificate.
[0110] Step 605: The network terminal corresponding to the signature management group (ie, the second review terminal) performs an approval operation on the uploaded certificate.
[0111] Step 606: Utilize the Keytool tool to parse the certificate parameters.
[0112] Step 607: Perform deduplication processing on the certificate file.
[0113] Step 608: Save the certificate information, including the certificate file, certificate password and certificate signature (ie, signature command).
[0114] Step 609: Create a certificate directory.
[0115] Step 610: Synchronize the certificate information to another machine, that is, synchronize the certificate information to other network devices in the system. For example, information synchronization can be achieved by modifying the certificate management database.
[0116] Step 611: Return the certificate creation result.
[0117] 2. Certificate borrowing type:
[0118] The certificate borrowing type is used to implement the certificate borrowing function across projects or teams. Accordingly, when the management type information is the certificate borrowing type, it is implemented in the following manner: determining the certificate lending end and the certificate borrowing end, and updating the authority ownership information of the certificate corresponding to the certificate parameter information in the certificate management database according to the certificate lending end and the certificate borrowing end.
[0119] For example, Figure 7 FIG. 1 shows a flow chart of the certificate borrowing process. Figure 7 As shown in the figure, the certificate borrowing process specifically includes the following steps:
[0120] Step 701: The user sends a certificate borrowing application, which is the certificate management request mentioned above.
[0121] Step 702: extract the certificate parameter information contained in the certificate borrowing application, and verify the parameters, including parameter format verification, etc. The applicant can modify or cancel the application.
[0122] Step 703: The network terminal corresponding to the certificate person in charge (ie, the first review terminal) performs an approval operation on the certificate parameter information included in the certificate borrowing application.
[0123] Step 704: The network terminal corresponding to the signature management group (ie, the second review terminal) performs an approval operation on the certificate parameter information included in the certificate borrowing application.
[0124] Step 705: Update the database according to the borrowing result, for example, add a new borrowing record in the database.
[0125] In summary, the certificate management method provided in this embodiment has at least the following technical advantages:
[0126] (1) The group information and project information of the Android signature certificate are added to refine the certificate authority attribution. Specifically, by adding two types of authority attribution parameter information, certificate group information and certificate project information, to the certificate parameter information, it is helpful to refine the certificate authority attribution.
[0127] (2) Added directory information of Android signature certificates, distinguishing certificates based on the certificate directory name instead of the certificate alias. Specifically, by adding directory parameter information to the certificate parameter information, it helps to distinguish certificates by the certificate directory name, making the distinction of certificates more accurate.
[0128] (3) Added release type and product ownership information. Specifically, by adding certificate ownership information and release type information to the certificate parameter information, it helps to further refine the certificate ownership. Among them, product ownership refers to which subsidiary the signing certificate belongs to, and the release type is used to control the authority of the product ownership display. These two parameters are equivalent to the attributes of the signing certificate, which are used to locate the signature problem and can achieve the effect of quickly locating the signing certificate.
[0129] (4) Added the function of borrowing certificates from other teams.
[0130] (5) Added certificate suffix information.
[0131] Specifically, the certificate parameter information further includes certificate suffix information, wherein the certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0132] The first type of suffix is used to indicate that the directory name of the certificate has changed. Accordingly, it is indicated by adding a first type of suffix such as _noclean after the directory name of the certificate. By adding the first type of suffix, the function marking function can be realized. Accordingly, when using the certificate, the following processing is performed for the signature file corresponding to the certificate with the first type of suffix: the metainfo directory of the signature file is not cleaned.
[0133] The second type of suffix is used to indicate a change in the certificate signing method. For example, if the signing method is changed to V1, the certificate directory name is suffixed with _v1, and other information remains unchanged. This suffix can indicate a change in the signing method. This system supports multiple signing methods, including: v1v2 method (default signing method), 2, v1 method, 3, v1 method (default v1 signing method), etc. Among them, during the signing process, the following variables need to be processed: certificate path, certificate directory name, certificate file name, certificate alias, and certificate password.
[0134] (6) Signature certificate audit: The process of creating, importing and borrowing certificates needs to be audited. Currently, the system has three user roles: ordinary user, certificate owner and signature administrator. Each application needs to be approved by the certificate owner and signature administrator. Only after the two steps are approved can the subsequent process continue.
[0135] In addition, in this embodiment, the following certificate management tasks can be implemented through the signature management group: certificate usage monitoring, disabling certificate functions, enabling certificate functions, updating certificate related information functions, system configuration functions, such as product attribution configuration, group configuration, etc.
[0136] Figure 3FIG. 4 shows a schematic diagram of the structure of a certificate management device according to another embodiment of the present invention. Figure 3 As shown, the device comprises:
[0137] The receiving module 31 is adapted to receive and obtain the management type information and the certificate parameter information contained in the certificate management request sent by the certificate user;
[0138] The review module 32 is adapted to send the certificate parameter information to the first review end for initial review, and if a first review pass message fed back by the first review end is received, send the certificate parameter information to the second review end for secondary review;
[0139] The management module 33 is adapted to execute a management operation matching the management type information according to the certificate parameter information if a second audit pass message fed back by the second audit terminal is received, and update the certificate management database according to the operation result of the management operation.
[0140] Optionally, the first audit terminal is a certificate ownership audit terminal; wherein the certificate ownership audit terminal is used to audit the certificate ownership authority;
[0141] The second audit end is a signature management audit end; wherein the signature management audit end is used to audit the certificate signature.
[0142] Optionally, the receiving module is further adapted to:
[0143] Verifying the certificate parameter information;
[0144] The verification includes: parameter format verification and / or certificate duplication verification.
[0145] Optionally, when the management type information is a certificate entry type, the management module is specifically adapted to:
[0146] Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information;
[0147] A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
[0148] Optionally, the certificate entry type further includes: an initial certificate application type, and an existing certificate import type;
[0149] When the certificate entry type is an initial certificate application type, the management module is specifically adapted to: generate a certificate password and a certificate signature corresponding to the certificate parameter information;
[0150] When the certificate entry type is an existing certificate import type, the management module is specifically adapted to: parse the certificate parameter information, and obtain a certificate password and a certificate signature corresponding to the certificate parameter information according to the parsing result.
[0151] Optionally, when the management type information is a certificate borrowing type, the management module is specifically adapted to:
[0152] A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
[0153] Optionally, the certificate parameter information includes: authority attribution type parameter information; wherein the authority attribution type parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
[0154] Optionally, the certificate parameter information includes: certificate directory parameter information and certificate suffix information;
[0155] The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0156] Optionally, the certificate is an Android signing certificate.
[0157] The specific structure and working principle of each of the above modules can be referred to the description of the corresponding steps in the method embodiment, which will not be repeated here.
[0158] An embodiment of the present application provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute a method in any of the above method embodiments.
[0159] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0160] like Figure 4 As shown, the electronic device may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .
[0161] in:
[0162] The processor 402 , the communication interface 404 , and the memory 406 communicate with each other via a communication bus 408 .
[0163] The communication interface 404 is used to communicate with other devices such as clients or other servers.
[0164] The processor 402 is used to execute the program 410, and specifically can execute the relevant steps in the above method embodiment.
[0165] Specifically, the program 410 may include program codes, which include computer operation instructions.
[0166] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0167] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0168] The program 410 may be specifically used to enable the processor 402 to perform various operations in the above method embodiment.
[0169] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0170] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0171] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0172] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0173] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0174] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in an electronic device according to an embodiment of the present invention. The present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0175] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0176] The present invention also discloses A1. a certificate management method, comprising:
[0177] Receive and obtain the management type information and certificate parameter information contained in the certificate management request sent by the certificate user;
[0178] Send the certificate parameter information to the first audit end for initial audit, and if a first audit pass message is received from the first audit end, send the certificate parameter information to the second audit end for secondary audit;
[0179] If a second audit pass message fed back by the second audit end is received, a management operation matching the management type information is performed according to the certificate parameter information, and the certificate management database is updated according to the operation result of the management operation.
[0180] A2. The method according to A1, wherein the first audit terminal is a certificate ownership audit terminal; wherein the certificate ownership audit terminal is used to audit the certificate ownership authority;
[0181] The second audit end is a signature management audit end; wherein the signature management audit end is used to audit the certificate signature.
[0182] A3. The method according to A1 or 2, wherein after receiving and obtaining the management type information and certificate parameter information contained in the certificate management request sent by the certificate user, further comprises:
[0183] Verifying the certificate parameter information, and if the verification passes, executing the step of sending the certificate parameter information to the first audit end for initial audit;
[0184] The verification includes: parameter format verification and / or certificate duplication verification.
[0185] A4. A method according to any one of A1-3, wherein, when the management type information is a certificate entry type, the performing of a management operation matching the management type information according to the certificate parameter information comprises:
[0186] Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information;
[0187] A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
[0188] A5. The method according to A4, wherein the certificate entry type further includes: an initial certificate application type, and an existing certificate import type;
[0189] When the certificate entry type is an initial certificate application type, the obtaining of the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: generating a certificate password and a certificate signature corresponding to the certificate parameter information;
[0190] When the certificate entry type is an existing certificate import type, obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: parsing the certificate parameter information, and obtaining the certificate password and certificate signature corresponding to the certificate parameter information according to the parsing result.
[0191] A6. The method according to A4, wherein when the management type information is a certificate borrowing type, performing a management operation matching the management type information according to the certificate parameter information, and updating the certificate management database according to the operation result of the management operation comprises:
[0192] A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
[0193] A7. A method according to any one of A1-6, wherein the certificate parameter information includes: authority attribution parameter information; wherein the authority attribution parameter information includes certificate grouping information, certificate project information, certificate attribution information, and release type information.
[0194] A8. A method according to any one of A1-7, wherein the certificate parameter information includes: certificate directory parameter information, and certificate suffix information;
[0195] The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0196] A9. A method according to any one of A1-8, wherein the certificate is an Android signing certificate.
[0197] B10. A certificate management device, comprising:
[0198] A receiving module, adapted to receive and obtain management type information and certificate parameter information contained in a certificate management request sent by a certificate user;
[0199] An audit module, adapted to send the certificate parameter information to a first audit terminal for an initial audit, and if a first audit pass message fed back by the first audit terminal is received, send the certificate parameter information to a second audit terminal for a secondary audit;
[0200] The management module is adapted to execute a management operation matching the management type information according to the certificate parameter information upon receiving a second audit pass message fed back by the second audit end, and update the certificate management database according to the operation result of the management operation.
[0201] B11. The device according to B10, wherein the first audit terminal is a certificate ownership audit terminal; wherein the certificate ownership audit terminal is used to audit the certificate ownership authority;
[0202] The second audit end is a signature management audit end; wherein the signature management audit end is used to audit the certificate signature.
[0203] B12. The apparatus according to B10 or 11, wherein the receiving module is further adapted to:
[0204] Verifying the certificate parameter information;
[0205] The verification includes: parameter format verification and / or certificate duplication verification.
[0206] B13. The device according to any one of B10-12, wherein when the management type information is a certificate entry type, the management module is specifically adapted to:
[0207] Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information;
[0208] A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
[0209] B14. The apparatus according to B13, wherein the certificate entry type further includes: an initial certificate application type, and an existing certificate import type;
[0210] When the certificate entry type is an initial certificate application type, the management module is specifically adapted to: generate a certificate password and a certificate signature corresponding to the certificate parameter information;
[0211] When the certificate entry type is an existing certificate import type, the management module is specifically adapted to: parse the certificate parameter information, and obtain a certificate password and a certificate signature corresponding to the certificate parameter information according to the parsing result.
[0212] B15. The apparatus according to B13, wherein when the management type information is a certificate borrowing type, the management module is specifically adapted to:
[0213] A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
[0214] B16. An apparatus according to any one of B10-15, wherein the certificate parameter information includes: authority attribution type parameter information; wherein the authority attribution type parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
[0215] B17. The device according to any one of B10-16, wherein the certificate parameter information includes: certificate directory parameter information, and certificate suffix information;
[0216] The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
[0217] B18. An apparatus according to any one of B10-17, wherein the certificate is an Android signing certificate.
[0218] C19. An electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;
[0219] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the certificate management method described in any one of A1-9.
[0220] D20. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the certificate management method described in any one of A1-9.
Claims
1. A certificate management method, include: Receive and obtain the management type information and certificate parameter information contained in the certificate management request sent by the certificate user; Send the certificate parameter information to the first audit end for initial audit. If a first audit pass message is received from the first audit end, send the certificate parameter information to the second audit end for secondary audit. The first audit end is used to audit the certificate ownership authority, and the second audit end is used to audit the certificate signature. If a second audit pass message fed back by the second audit end is received, a management operation matching the management type information is performed according to the certificate parameter information, and the certificate management database is updated according to the operation result of the management operation.
2. The method according to claim 1, in, The first audit end is a certificate attribution audit end; The second audit end is a signature management audit end.
3. The method according to claim 1, in, After receiving and obtaining the management type information and certificate parameter information contained in the certificate management request sent by the certificate user, the method further includes: Verifying the certificate parameter information, and if the verification passes, executing the step of sending the certificate parameter information to the first audit end for initial audit; The verification includes: parameter format verification and / or certificate duplication verification.
4. The method according to claim 1, in, When the management type information is a certificate entry type, performing a management operation matching the management type information according to the certificate parameter information includes: Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information; A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
5. The method according to claim 4, in, The certificate entry type further includes: an initial certificate application type, and an existing certificate import type; When the certificate entry type is an initial certificate application type, the obtaining of the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: generating a certificate password and a certificate signature corresponding to the certificate parameter information; When the certificate entry type is an existing certificate import type, obtaining the certificate file, certificate password, and certificate signature corresponding to the certificate parameter information includes: parsing the certificate parameter information, and obtaining the certificate password and certificate signature corresponding to the certificate parameter information according to the parsing result.
6. The method according to claim 4, in, When the management type information is a certificate borrowing type, performing a management operation matching the management type information according to the certificate parameter information, and updating the certificate management database according to the operation result of the management operation includes: A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
7. The method according to any one of claims 1 to 6, in, The certificate parameter information includes: authority attribution parameter information; wherein the authority attribution parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
8. The method according to any one of claims 1 to 6, in, The certificate parameter information includes: certificate directory parameter information and certificate suffix information; The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
9. The method according to any one of claims 1 to 6, in, The certificate is an Android signing certificate.
10. A certificate management device, include: A receiving module, adapted to receive and obtain management type information and certificate parameter information contained in a certificate management request sent by a certificate user; An audit module, adapted to send the certificate parameter information to a first audit terminal for an initial audit, and if a first audit pass message fed back by the first audit terminal is received, send the certificate parameter information to a second audit terminal for a secondary audit, wherein the first audit terminal is used to audit the certificate ownership authority, and the second audit terminal is used to audit the certificate signature; The management module is adapted to execute a management operation matching the management type information according to the certificate parameter information upon receiving a second audit pass message fed back by the second audit end, and update the certificate management database according to the operation result of the management operation.
11. The device according to claim 10, in, The first audit end is a certificate attribution audit end; The second audit end is a signature management audit end.
12. The device according to claim 10, in, The receiving module is further adapted to: Verifying the certificate parameter information; The verification includes: parameter format verification and / or certificate duplication verification.
13. The device according to claim 10, in, When the management type information is a certificate entry type, the management module is specifically adapted to: Obtaining a certificate file, a certificate password, and a certificate signature corresponding to the certificate parameter information; A certificate directory corresponding to the certificate parameter information is created, and the certificate file, certificate password, and certificate signature are stored.
14. The device according to claim 13, in, The certificate entry type further includes: an initial certificate application type, and an existing certificate import type; When the certificate entry type is an initial certificate application type, the management module is specifically adapted to: generate a certificate password and a certificate signature corresponding to the certificate parameter information; When the certificate entry type is an existing certificate import type, the management module is specifically adapted to: parse the certificate parameter information, and obtain a certificate password and a certificate signature corresponding to the certificate parameter information according to the parsing result.
15. The device according to claim 13, in, When the management type information is a certificate borrowing type, the management module is specifically adapted to: A certificate lending end and a certificate borrowing end are determined, and authority ownership information of the certificate corresponding to the certificate parameter information in a certificate management database is updated according to the certificate lending end and the certificate borrowing end.
16. The device according to any one of claims 10 to 15, in, The certificate parameter information includes: authority attribution parameter information; wherein the authority attribution parameter information includes certificate grouping information, certificate item information, certificate attribution information, and release type information.
17. The device according to any one of claims 10 to 15, in, The certificate parameter information includes: certificate directory parameter information and certificate suffix information; The certificate suffix information includes: a first type of suffix for indicating a change in a directory name, and a second type of suffix for indicating a change in a signature method.
18. The device according to any one of claims 10 to 15, in, The certificate is an Android signing certificate.
19. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the certificate management method according to any one of claims 1 to 9.
20. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute an operation corresponding to the certificate management method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Intelligent processing method and system for metrological verification calibration data result norms
CN108062296A
Certificate management method and system based on UKEY device and terminal device
CN108173659A
