WO2015109958A1 - 一种基于协商密钥的数据处理方法和手机 - Google Patents

一种基于协商密钥的数据处理方法和手机 Download PDF

Info

Publication number
WO2015109958A1
WO2015109958A1 PCT/CN2015/070554 CN2015070554W WO2015109958A1 WO 2015109958 A1 WO2015109958 A1 WO 2015109958A1 CN 2015070554 W CN2015070554 W CN 2015070554W WO 2015109958 A1 WO2015109958 A1 WO 2015109958A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
mobile phone
security module
phone security
unit
Prior art date
Application number
PCT/CN2015/070554
Other languages
English (en)
French (fr)
Inventor
李东声
Original Assignee
天地融科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 天地融科技股份有限公司 filed Critical 天地融科技股份有限公司
Publication of WO2015109958A1 publication Critical patent/WO2015109958A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/12Details relating to cryptographic hardware or logic circuitry
    • H04L2209/127Trusted platform modules [TPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0853Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal

Definitions

  • the present invention relates to the field of information security technologies, and in particular, to a data processing method based on a negotiation key and a mobile phone.
  • the present invention aims to solve the problem that a mobile terminal cannot safely perform online banking and/or confidential information transmission.
  • the main object of the present invention is to provide a data processing method based on a negotiation key.
  • Another object of the present invention is to provide a mobile phone.
  • An aspect of the present invention provides a data processing method based on a negotiation key, including: the user identity identification card sends the first authentication information to the mobile phone security module, where the first authentication information includes at least: a first random factor and a user identification card certificate; after receiving the first authentication information, the mobile phone security module verifies the legality of the user identification card certificate; if the mobile phone security module verifies that the user identification card certificate is legal, then The mobile phone security module encrypts at least the first random factor and the second random factor by using a public key of the user identity card carried in the user identity card certificate to obtain first ciphertext information; The mobile phone security module signs the first ciphertext information to obtain the first signature information, and the mobile phone security module sends the second authentication information to the user identification card, where the second authentication information includes at least: The first ciphertext information, the first signature information, and the mobile phone security module certificate; the user identity After receiving the second authentication information, the card verifies the validity of the mobile phone security module certificate; if the user identity card verifies that the
  • the user identifier card encrypts at least the second random factor and the third random factor by using a public key of the mobile phone security module carried in the mobile phone security module certificate to obtain second ciphertext information.
  • the user identification card sends the second ciphertext information to the mobile phone security module; after receiving the second ciphertext information, the mobile phone security module decrypts the second ciphertext information to obtain a Determining a second random factor and the third random factor; the mobile phone security module generates the hand according to the second random factor and the third random factor End of the security module key negotiation; key agreement key negotiation by the end of the phone between the security module and the security module of the mobile phone user identification card and the user identification card end secure transmission of information.
  • An aspect of the present invention provides a data processing method based on a negotiation key, including: the mobile phone security module sends the first authentication information to the user identification card, where the first authentication information includes at least: a first random factor And the mobile phone security module certificate; after receiving the first authentication information, the user identity card verifies the validity of the mobile phone security module certificate; if the user identity card verifies that the mobile phone security module certificate is legal, then The user identification card encrypts at least the first random factor and the second random factor by using a public key of the mobile phone security module carried in the mobile phone security module certificate to obtain first ciphertext information; The identity card is configured to sign the first ciphertext information to obtain the first signature information, and the user identity identification card sends the second authentication information to the mobile phone security module, where the second authentication information includes: The first ciphertext information, the first signature information, and the user identification card certificate; After receiving the second authentication information, the module verifies the validity of the user identity card certificate; if the mobile phone security module verifies that the user identity card certificate is
  • the step of performing secure transmission of information between the mobile phone security module and the user identity card by using a negotiation key of the mobile phone security module end and a negotiation key of the user identity identification card end includes: the mobile phone security The module obtains information to be transmitted; the mobile phone security module encrypts the to-be-transmitted information by using a negotiation key of the mobile phone security module to obtain third ciphertext information; and the mobile phone security module sends the first processing information to the The user identification card, wherein the first processing information at least includes: the third ciphertext information; after the user identification card receives the first processing information, the user identification card end negotiation The key decrypts the third ciphertext information to obtain information to be transmitted; the user identification card signs the to-be-transmitted information to obtain second signature information; and the user identity identification card passes the user identity Identifying the card end negotiation key to encrypt the second signature information to obtain fourth ciphertext information; the user identity The second processing information is sent to the mobile phone security module, where the second processing information includes at least: the fourth
  • the step of performing secure transmission of information between the mobile phone security module and the user identity card by using a negotiation key of the mobile phone security module end and a negotiation key of the user identity identification card end includes: the mobile phone security The module obtains information to be transmitted; the mobile phone security module performs verification calculation on the to-be-transmitted information by using a negotiation key of the mobile phone security module to obtain first verification information; and the mobile phone security module sends the first processing information.
  • the user identification card wherein the first processing information at least includes: the information to be transmitted and the first verification information; after receiving the first processing information, the user identification card passes The first identification information is verified by the negotiation key of the user identification card end; if the user identification card verifies the first processing information, the user identification card pairs the information to be transmitted Performing a signature to obtain second signature information; the user identification card passes the negotiation key pair of the user identification card end The second signature information is subjected to a check calculation, and the second verification information is obtained.
  • the user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: And the second verification information is verified by the negotiation key of the mobile phone security module end; if the mobile phone security module receives the second processing information, if the After the mobile phone security module verifies the second processing information, the mobile phone security module issues at least the second signature information.
  • the step of performing secure transmission of information between the mobile phone security module and the user identity card by using a negotiation key of the mobile phone security module end and a negotiation key of the user identity identification card end includes: the mobile phone security The module obtains information to be transmitted; the mobile phone security module encrypts the to-be-transmitted information by using a negotiation key of the mobile phone security module, obtains third ciphertext information, and performs verification calculation on the third ciphertext information.
  • the mobile phone security module sends the first processing information to the user identification card, wherein the first processing information at least includes: the third ciphertext information and the first verification information
  • the user identification card verifies the first processing information by using a negotiation key of the user identity card end; if the user identity card is to the first After the verification of the processing information, the user identification card decrypts the third ciphertext information through the negotiation key of the user identification card, and obtains the information to be transmitted; the user identification card The information to be transmitted is signed, and the second signature information is obtained.
  • the user identification card encrypts the second signature information by using a negotiation key of the user identification card end to obtain fourth ciphertext information, and the The fourth ciphertext information is subjected to a check calculation to obtain second check information; the user identification card sends the second processing information to the mobile phone security module,
  • the second processing information includes: the fourth ciphertext information and the second verification information; after receiving the second processing information, the mobile phone security module negotiates the confidentiality through the mobile phone security module end Decrypting the second processing information by the key; if the mobile phone security module verifies the second processing information, decrypting the fourth ciphertext information by using a negotiation key of the mobile phone security module end
  • the second signature information the mobile phone security module at least sends the second signature information out.
  • the method further includes: the mobile phone security module Extracting key information in the information to be transmitted; the mobile phone security module controls the mobile phone display screen to display key information in the extracted information to be transmitted; the mobile phone security module receives a confirmation instruction outputted by the mobile phone keyboard; After receiving the confirmation command output by the mobile phone keyboard, the mobile phone security module performs the step of the mobile phone security module transmitting the first processing information to the user identification card.
  • the third random factor is generated by the user identity card according to the first random factor and the second random factor, or the third random factor is randomly generated by the user identity card.
  • the mobile phone security module is a module independent of the mobile phone CPU, or the mobile phone security module is disposed in a secure area in the mobile phone CPU.
  • a mobile phone including: a user identity card and a mobile phone security module; wherein the second transceiver unit in the user identity card is configured to send the first authentication information to the mobile phone security module,
  • the first authentication information includes: a first random factor and a user identity card certificate; the first transceiver unit in the mobile phone security module is configured to receive the first authentication information; in the mobile phone security module a first verification unit, configured to verify validity of the user identity card certificate after the first transceiver unit receives the first authentication information; the first encryption unit in the mobile phone security module is set to After the first verification unit verifies that the user identification card certificate is legal, the public key of the user identification card carried in the user identification card certificate is at least for the first random factor and the second random
  • the factor is encrypted to obtain first ciphertext information; the first signature unit in the mobile phone security module is set to be the first plus Obtained by means of the first ciphertext information Signing, obtaining the first signature information; the first transceiver unit in the mobile phone security module
  • a mobile phone including: a user identity card and a mobile phone security module; wherein the first transceiver unit in the mobile phone security module is configured to send the first authentication information to the user identity card
  • the first authentication information includes: a first random factor and a mobile phone security module certificate; a second transceiver unit in the user identity card is configured to receive the first authentication information; a second verification unit in the card, configured to verify validity of the mobile phone security module certificate after the second transceiver unit receives the first authentication information; and a second encryption unit in the user identification card
  • the public key encrypts the first random factor and the second random factor to obtain first ciphertext information;
  • the second signature unit in the user identification card is configured to obtain the After the first ciphertext information, the first ciphertext information is signed to obtain the first signature information;
  • the acquiring unit in the mobile phone security module is configured to acquire information to be transmitted;
  • the second signature unit in the user identification card is configured to sign the to-be-transmitted information to obtain second signature information;
  • the outgoing unit in the mobile phone security module is configured to issue at least the second signature information.
  • the acquiring unit in the mobile phone security module is configured to acquire information to be transmitted; the second signature unit in the user identity card is further configured to sign the to-be-transmitted information to obtain a second signature.
  • the outgoing unit in the mobile phone security module is configured to send at least the second signature information.
  • the first encryption unit in the mobile phone security module is further configured to encrypt the to-be-transmitted information acquired by the acquiring unit by using a negotiation key of the mobile phone security module to obtain third ciphertext information;
  • the first transceiver unit in the mobile phone security module is further configured to send the first processing information to the user identity identification card, where the first processing information includes at least: the third ciphertext information;
  • the second transceiver unit in the user identification card is configured to receive the first processing information;
  • the second decryption unit in the user identity card is further configured to receive at the second transceiver unit
  • the third ciphertext information is decrypted by using the negotiation key of the user identity card to obtain information to be transmitted;
  • the second signature unit in the user identity card And after the obtaining, by the second decryption unit, the information to be transmitted, signing the information to be transmitted to obtain second signature information;
  • the user identification card The second encryption unit is further configured to encrypt the second signature information by using a negotiation key of the
  • the first check calculation unit in the mobile phone security module is configured to perform a check calculation on the to-be-transmitted information acquired by the acquiring unit by using a negotiation key of the mobile phone security module, to obtain a first check.
  • the first transceiver unit in the mobile phone security module is configured to send the first processing information to the user identity card, where the first processing information includes at least: the information to be transmitted and the The first verification information in the user identification card is further configured to receive the first processing information; the second verification unit in the user identification card is further configured After the first processing information is received by the second transceiver unit, the first processing information is verified by using a negotiation key of the user identity card end; the first part of the user identity card And the second signature unit is further configured to: after the second verification unit verifies the first processing information, sign the to-be-transmitted information to obtain second signature information; The second verification calculation unit in the identification card of the user is configured to perform verification calculation on the second signature information by using a negotiation key of the user identification card to obtain second verification information;
  • the first encryption unit in the mobile phone security module is further configured to encrypt the to-be-transmitted information acquired by the acquiring unit by using a negotiation key of the mobile phone security module to obtain third ciphertext information.
  • the first check calculation unit in the mobile phone security module is configured to perform a check calculation on the third ciphertext information to obtain first check information; and the first transceiver in the mobile phone security module And the unit is further configured to send the first processing information to the user identity card, where the first processing information includes at least: the third ciphertext information and the first verification information;
  • the second transceiver unit in the identification card is further configured to receive the first processing information;
  • the second verification unit in the user identification card is further configured to receive the After processing the information, verifying the first processing information by using a negotiation key of the user identity card end;
  • the second decryption unit in the user identity card is further configured to After the second verification unit verifies the first processing information, the third ciphertext information is decrypted by using the negotiation key of the user
  • the extracting unit in the mobile phone security module is configured to extract key information in the information to be transmitted;
  • the control unit in the mobile phone security module is configured to control the mobile phone display screen to display the to-be-extracted by the extracting unit. Transmitting the key information in the information;
  • the receiving unit in the mobile phone security module is configured to receive an acknowledgement command output by the mobile phone keyboard, and after receiving the confirmation command output by the mobile phone keyboard, notify the first transceiver unit to execute the The mobile phone security module sends the first processing information to the user identification card.
  • the third random factor is the second generating unit of the user identity card according to the first And generating, by the machine factor and the second random factor, or the third random factor is randomly generated by the second generating unit in the user identity card.
  • the mobile phone security module is a module independent of the mobile phone CPU, or the mobile phone security module is disposed in a secure area in the mobile phone CPU.
  • the mobile phone based on the negotiation key and the mobile phone of the present invention can enable the mobile phone to securely perform online banking service and/or confidential information transmission.
  • FIG. 1 is a flowchart of a data processing method based on a negotiation key according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a mobile phone according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a data processing method based on a negotiation key according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile phone according to Embodiment 2 of the present invention.
  • connection In the description of the present invention, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connected, or integrally connected; can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components.
  • Connected, or integrally connected can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or quantity or location.
  • the data processing method based on the negotiation key of the present invention is implemented based on a mobile phone, and the mobile phone includes at least one user identification card with a security function and a mobile phone security module.
  • the user identification card may be any of the following cards: a SIM (Subscriber Identity Module) card, a UIM (User Identity Module) card, a USIM card, a PIM card, etc., and the above cards are all in the existing functions.
  • SIM Subscriber Identity Module
  • UIM User Identity Module
  • USIM User Identity Module
  • PIM Personal Information Card
  • the mobile phone security module can be set as a separate module independent of the mobile phone CPU, or can be set as a secure area in the mobile phone CPU to ensure independent security functions that the mobile phone security module can implement, for example, the mobile phone security module can Independently perform secure identity authentication functions, as well as display security control to ensure the authenticity of the displayed content.
  • the third-party CA also issues a CA-certified certificate to the user ID card, and the third-party CA also issues a CA-certified certificate to the mobile phone security module to ensure that both parties can verify the legality of the other party's identity and improve security. Sex.
  • a data processing method based on a negotiation key according to Embodiment 1 of the present invention includes the following steps S101 to S115.
  • Step S101 The user identity identification card sends the first authentication information to the mobile phone security module, where the first authentication information includes at least: a first random factor and a user identity card certificate.
  • the user identification card generates a first random factor in advance, and sends the generated random factor and the certificate issued by the CA to the user identification card to the mobile phone security module.
  • the first random factor can be a random number generated by the user identification card.
  • Step S102 After receiving the first authentication information, the mobile phone security module verifies the legality of the user identity card certificate.
  • the mobile phone security module verifies the legality of the certificate. For example, the public key of the CA issued by the CA is used to check the part of the CA private key signed by the user identification card certificate, and the user identification card certificate is valid only after the verification is passed.
  • Step S103 If the mobile phone security module verifies that the user identity card certificate is legal, the mobile phone security module encrypts at least the first random factor and the second random factor by using the public key of the user identity card carried in the user identity card certificate. First ciphertext information.
  • the second random factor is generated, and after the second random factor is generated, the user identity carried in the user identity card certificate sent by the user identity card is identified.
  • the public key of the card encrypts the first random factor and the second random factor, thereby ensuring the security of the transmission of the first random factor and the second random factor.
  • the second random factor can be a random number.
  • Step S104 The mobile phone security module signs the first ciphertext information to obtain the first signature information.
  • the first ciphertext information is signed by using at least the private key of the mobile phone security module to ensure the first secret. The integrity and non-repudiation of text information transmission.
  • the present invention is not limited to the mobile phone security module signing the first ciphertext information, and the mobile phone security module can directly sign the first random factor and the second random factor to obtain the first signature information, thereby ensuring The integrity and non-repudiation of the first random factor and the second random factor itself.
  • the mobile phone security module signs the first ciphertext information to ensure opaque transmission of the first random factor and the second random factor.
  • Step S105 The mobile phone security module sends the second authentication information to the user identification card, where the second authentication information includes at least: first ciphertext information, first signature information, and a mobile phone security module certificate.
  • Step S106 After receiving the second authentication information, the user identity card verifies the validity of the mobile phone security module certificate.
  • the user identity card verifies the legality of the certificate. For example, the public key of the CA issued by the CA is used to check the part of the CA security key in the mobile security module certificate. Only after the verification is passed, the mobile security module certificate is valid.
  • Step S107 If the user identity card verifies that the mobile phone security module certificate is legal, the user identity card verifies the correctness of the first signature information.
  • the correctness of the first signature information is also verified.
  • the user identity card directly verifies the correctness of the first signature information according to the received first ciphertext information and the public key of the mobile phone security module in the mobile phone security module certificate.
  • the user identification card decrypts the first ciphertext first, obtains the first random factor and the second random factor, and then decrypts according to the decryption.
  • the first random factor and the second random factor and the public key of the mobile phone security module in the mobile phone security module certificate verify the correctness of the first signature information.
  • the present invention it is preferable to verify the correctness of the first signature information based on the first ciphertext information and the public key of the mobile phone security module.
  • Step S108 If the user identity card verifies that the first signature information is correct, the user identity card decrypts the first ciphertext information to obtain a first random factor and a second random factor.
  • the user identity card decrypts the first ciphertext information by using a private key of the user identity card to obtain a first random factor and a second random factor.
  • the first ciphertext information can be decrypted without the ciphertext information being falsified, thereby ensuring that the true first random factor and the second random factor are obtained.
  • Step S109 the user identification card verifies the first randomity after obtaining the first random factor and the second random factor. The correctness of the factor.
  • the user identification card decrypts the real first random factor and the second random factor, whether the first random factor is consistent with the first random factor generated before the user identification card, and if they are consistent, Verify that the first random factor is correct.
  • Step S110 If the user identity card verifies that the first random factor is correct, the user identity card generates a third random factor, and generates a negotiation key of the user identity card end according to the second random factor and the third random factor.
  • the user identity card after verifying that the first random factor is correct, the user identity card generates a third random factor, and jointly generates a negotiation key of the user identity card end according to the second random factor and the third random factor.
  • the third random factor may be generated by the user identity card according to the first random factor and the second random factor, or the third random factor is randomly generated by the user identification card.
  • the third random factor can also be a random number.
  • Step S111 The user identity card encrypts at least the second random factor and the third random factor by using the public key of the mobile phone security module carried in the mobile phone security module certificate to obtain the second ciphertext information.
  • the user identity card encrypts the second random factor and the third random factor by using the public key of the mobile phone security module carried in the mobile phone security module certificate, so as to securely transmit the subsequent negotiation key used to generate the mobile phone security module end.
  • Two random factors and a third random factor Two random factors and a third random factor.
  • Step S112 the user identification card sends the second ciphertext information to the mobile phone security module.
  • Step S113 After receiving the second ciphertext information, the mobile phone security module decrypts the second ciphertext information to obtain a second random factor and a third random factor.
  • the mobile phone security module decrypts the second ciphertext information by using a private key of the mobile phone security module to obtain a true second random factor and a third random factor.
  • Step S114 The mobile phone security module generates a negotiation key of the mobile phone security module end according to the second random factor and the third random factor.
  • the mobile phone security module After obtaining the real second random factor and the third random factor, the mobile phone security module generates a negotiation key of the mobile phone security module according to the second random factor and the third random factor, so as to subsequently use the negotiation key and the user according to the negotiation key
  • the identification card performs secure transmission of information.
  • Step S115 The mobile security module and the user identification card perform secure transmission of information through the negotiation key of the mobile security module end and the negotiation key of the user identification card end.
  • the mobile phone security module and the user identification card pass the negotiation key of the two ends. Secure transmission of information.
  • the secure transmission of information can be realized by one of the following methods one to seven.
  • Step S116a the mobile phone security module acquires information to be transmitted.
  • the mobile phone security module obtains the information to be transmitted, and the information to be transmitted may be confidential information that needs to be transmitted securely, or may be transaction information to be traded in the online banking.
  • the information to be transmitted may be confidential information that the mobile phone needs to output, for example, confidential information obtained by the mobile phone from a secure storage area of the mobile phone;
  • the information to be transmitted may be transaction information of a transaction to be executed, for example, transaction information such as a transaction account number and a transaction amount obtained by the mobile phone through an online banking client.
  • Step S117a The mobile phone security module encrypts the transmission information by using the negotiation key of the mobile phone security module to obtain the third ciphertext information.
  • the mobile phone security module encrypts the transmission information through the negotiation key of the mobile phone security module generated by the mobile phone security module, so that the information to be transmitted is opaquely transmitted, and the security of the transmission is ensured.
  • the negotiation key includes at least one encryption key.
  • Step S118a The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: third ciphertext information.
  • Step S119a After receiving the first processing information, the user identity card decrypts the third ciphertext information through the negotiation key of the user identity card to obtain the information to be transmitted.
  • the information to be transmitted is encrypted by using the negotiation key of the mobile phone security module.
  • the user identification card decrypts through the negotiation key in the user identification card, thereby obtaining Real information to be transmitted.
  • step S120a the user identity identification card signs the transmission information to obtain the second signature information.
  • the user identity card signs the information to be transmitted to ensure the integrity and non-repudiation of the information to be transmitted.
  • Step S121a The user identity identification card encrypts the second signature information by using a negotiation key of the user identity card end to obtain fourth ciphertext information.
  • the user identity card further encrypts the second signature information by using a negotiation key of the user identity card end, thereby ensuring opaque transmission of the second signature information, thereby improving security.
  • step S122 the user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: fourth ciphertext information.
  • Step S123a After receiving the second processing information, the mobile phone security module decrypts the fourth ciphertext information through the negotiation key of the mobile phone security module to obtain the second signature information.
  • the mobile phone security module after receiving the fourth ciphertext information, the mobile phone security module also negotiates a key pair through the mobile security module end.
  • the fourth ciphertext information is decrypted to obtain the real second signature information.
  • a secure information interaction is completed between the mobile phone security module and the user identification card.
  • Step S124a The mobile phone security module issues at least the second signature information.
  • the mobile phone security module issues the second signature information that has been signed by the transmission information.
  • the signed confidential information is sent out to the device for extracting confidential information. If the present invention is applied to an online banking service, the signed transaction information is transmitted to an online banking server or the like.
  • Step S116b The mobile phone security module acquires information to be transmitted.
  • the mobile phone security module obtains the information to be transmitted, and the information to be transmitted may be confidential information that needs to be transmitted securely, or may be transaction information to be traded in the online banking.
  • the information to be transmitted may be confidential information that the mobile phone needs to output, for example, confidential information obtained by the mobile phone from a secure storage area of the mobile phone.
  • the information to be transmitted may be transaction information of a transaction to be executed, for example, transaction information such as a transaction account number and a transaction amount obtained by the mobile phone through an online banking client.
  • Step S117b The mobile phone security module performs a check calculation on the transmission information by using the negotiation key of the mobile phone security module, and obtains the first verification information.
  • the mobile phone security module performs check calculation on the transmission information through the negotiation key of the mobile phone security module generated by the mobile phone security module, thereby ensuring the integrity of the information to be transmitted.
  • the negotiation key includes at least one verification calculation key, and the verification calculation may be any verification manner such as calculating a MAC value.
  • Step S118b The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: information to be transmitted and first verification information.
  • Step S119b After receiving the first processing information, the user identity identification card verifies the first processing information by using the negotiation key of the user identity card end.
  • the information to be transmitted is verified by the negotiation key of the mobile phone security module.
  • the user identity card After receiving the information to be transmitted and the first verification information, the user identity card passes the negotiation key in the user identification card.
  • the key is also subjected to check calculation for the transmitted information, and is compared with the first check information, and after the comparison is consistent, the verification is passed, thereby ensuring that the obtained information to be transmitted is not falsified.
  • Step S120b If the user identification card verifies the first processing information, the user identification card signs the transmission information to obtain the second signature information.
  • the user identity card signs the information to be transmitted to ensure the integrity and non-repudiation of the information to be transmitted.
  • Step S121b The user identification card performs verification calculation on the second signature information by using the negotiation key of the user identification card end to obtain second verification information.
  • the user identity card also performs verification calculation on the second signature information by using the negotiation key of the user identity card end, thereby ensuring the integrity of the second signature information.
  • Step S122b The user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: second signature information and second verification information.
  • Step S123b After receiving the second processing information, the mobile phone security module verifies the second processing information by using the negotiation key of the mobile security module.
  • the mobile phone security module After receiving the second signature information and the second verification information, the mobile phone security module performs a check calculation on the second signature information by using a negotiation key of the mobile phone security module, and compares with the second verification information, and compares After the comparison is made, the verification is passed, thereby ensuring that the obtained second signature information has not been tampered with. Thus, a secure information interaction is completed between the mobile phone security module and the user identification card.
  • Step S124b If the mobile phone security module verifies the second processing information, the mobile phone security module issues at least the second signature information.
  • the mobile phone security module issues the second signature information that has been signed by the transmission information.
  • the signed confidential information is sent out to the device for extracting confidential information. If the present invention is applied to an online banking service, the signed transaction information is transmitted to an online banking server or the like.
  • Step S116c The mobile phone security module acquires information to be transmitted.
  • the mobile phone security module obtains the information to be transmitted, and the information to be transmitted may be confidential information that needs to be transmitted securely, or may be transaction information to be traded in the online banking.
  • the information to be transmitted may be confidential information that the mobile phone needs to output, for example, confidential information obtained by the mobile phone from a secure storage area of the mobile phone.
  • the information to be transmitted may be transaction information of a transaction to be executed, for example, transaction information such as a transaction account number and a transaction amount obtained by the mobile phone through an online banking client.
  • Step S117c The mobile phone security module encrypts the transmission information by using the negotiation key of the mobile phone security module, obtains the third ciphertext information, and performs a check calculation on the third ciphertext information to obtain the first verification information.
  • the mobile phone security module encrypts the transmission information through the negotiation key of the mobile phone security module generated by the mobile phone security module, so that the information to be transmitted is opaquely transmitted, and the security of the transmission is ensured.
  • the mobile phone security module performs verification calculation on the third ciphertext information through the negotiation key of the mobile phone security module end generated by the mobile phone security module, thereby ensuring the integrity of the local ciphertext information.
  • the check calculation can be any verification method such as calculating a MAC value.
  • the negotiation key includes at least one encryption key and one verification calculation key.
  • Step S118c The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: third ciphertext information and first verification information.
  • Step S119c After receiving the first processing information, the user identity identification card verifies the first processing information by using the negotiation key of the user identity card end.
  • the third ciphertext information is verified by the negotiation key of the mobile phone security module.
  • the user identity identification card passes the user identification card.
  • the negotiation key in the same manner performs the check calculation on the third ciphertext information, and compares it with the first check information, and after the comparison is consistent, the verification passes, thereby ensuring that the obtained third ciphertext information has not been tampered with.
  • Step S120c If the user identification card verifies the first processing information, the user identification card decrypts the third ciphertext information through the negotiation key of the user identification card, and obtains the information to be transmitted.
  • the information to be transmitted is encrypted by using the negotiation key of the mobile security module.
  • the user identification card decrypts through the negotiation key in the user identification card. Thereby obtaining the true information to be transmitted.
  • Step S121c The user identity identification card signs the transmission information to obtain the second signature information.
  • the user identity card signs the information to be transmitted to ensure the integrity and non-repudiation of the information to be transmitted.
  • Step S122c The user identity identification card encrypts the second signature information by using the negotiation key of the user identity card, obtains the fourth ciphertext information, and performs a check calculation on the fourth ciphertext information to obtain the second verification information.
  • the user identity card further encrypts the second signature information by using a negotiation key of the user identity card end, thereby ensuring opaque transmission of the second signature information, thereby improving security.
  • the user identification card also performs verification calculation on the fourth ciphertext information through the negotiation key of the user identification card end, thereby ensuring the integrity of the fourth ciphertext information.
  • Step S123c The user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: fourth ciphertext information and second verification information.
  • Step S124c After receiving the second processing information, the mobile phone security module verifies the second processing information by using a negotiation key of the mobile security module.
  • the mobile phone security module after receiving the fourth ciphertext information and the second verification information, the mobile phone security module further performs verification calculation on the fourth ciphertext information through the negotiation key of the mobile phone security module, and compares with the second verification information. And after the consistency, the verification is passed, thus ensuring that the obtained fourth ciphertext information has not been tampered with.
  • Step S125c If the mobile phone security module verifies the second processing information, the fourth ciphertext information is decrypted by using the negotiation key of the mobile phone security module to obtain the second signature information.
  • the mobile phone security module decrypts the fourth ciphertext information through the negotiation key of the mobile phone security module to obtain the real second signature information.
  • Step S126c The mobile phone security module sends out at least the second signature information.
  • the mobile phone security module issues the second signature information that has been signed by the transmission information.
  • the signed confidential information is sent out to the device for extracting confidential information. If the present invention is applied to an online banking service, the signed transaction information is transmitted to an online banking server or the like.
  • Step S116d The mobile phone security module acquires information to be transmitted.
  • Step S117d The mobile phone security module encrypts the transmission information by using the negotiation key of the mobile phone security module, obtains the third ciphertext information, and performs a check calculation on the third ciphertext information to obtain the first verification information.
  • Step S118d The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: third ciphertext information and first verification information.
  • Step S119d After receiving the first processing information, the user identity card authenticates the first processing information by using the negotiation key of the user identity card.
  • Step S120d If the user identification card verifies the first processing information, the user identification card decrypts the third ciphertext information by using the negotiation key of the user identity card to obtain the information to be transmitted.
  • step S121d the user identity identification card signs the transmission information to obtain the second signature information.
  • Step S122d The user identity card encrypts the second signature information by using the negotiation key of the user identity card to obtain the fourth ciphertext information.
  • step S123 the user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: fourth ciphertext information.
  • Step S124d The mobile phone security module decrypts the fourth ciphertext information through the negotiation key of the mobile phone security module to obtain the second signature information.
  • Step S125d The mobile phone security module issues at least the second signature information.
  • Step S116e The mobile phone security module acquires information to be transmitted.
  • Step S117d The mobile phone security module encrypts the transmission information by using the negotiation key of the mobile phone security module, obtains the third ciphertext information, and performs a check calculation on the third ciphertext information to obtain the first verification information.
  • Step S118d The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: third ciphertext information and first verification information.
  • Step S119e After receiving the first processing information, the user identity identification card verifies the first processing information by using the negotiation key of the user identity card end.
  • Step S120e If the user identification card verifies the first processing information, the user identification card decrypts the third ciphertext information through the negotiation key of the user identification card, and obtains the information to be transmitted.
  • Step S121e the user identity identification card signs the transmission information to obtain the second signature information.
  • Step S122e The user identity identification card performs verification calculation on the second signature information by using the negotiation key of the user identity card end to obtain second verification information.
  • Step S123e The user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: second signature information and second verification information.
  • Step S124e After receiving the second processing information, the mobile phone security module verifies the second processing information by using the negotiation key of the mobile security module.
  • Step S125e If the mobile phone security module verifies the second processing information, the mobile phone security module issues at least the second signature information.
  • Step S116f The mobile phone security module acquires information to be transmitted.
  • Step S117f The mobile phone security module encrypts the transmission information by using the negotiation key of the mobile phone security module to obtain the third ciphertext information.
  • Step S118 The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: third ciphertext information.
  • Step S119f After receiving the first processing information, the user identity card decrypts the third ciphertext information by using the negotiation key of the user identity card to obtain the information to be transmitted.
  • Step S120f The user identity identification card signs the transmission information to obtain the second signature information.
  • Step S121f The user identity card encrypts the second signature information by using the negotiation key of the user identity card, obtains the fourth ciphertext information, and performs a check calculation on the fourth ciphertext information to obtain the second verification information.
  • Step S122 The user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: fourth ciphertext information and second verification information.
  • Step S123f After receiving the second processing information, the mobile phone security module verifies the second processing information by using the negotiation key of the mobile security module.
  • Step S124f If the mobile phone security module verifies the second processing information, the fourth ciphertext information is decrypted by using the negotiation key of the mobile phone security module to obtain the second signature information.
  • Step S125f The mobile phone security module sends out at least the second signature information.
  • Step S116g The mobile phone security module acquires information to be transmitted.
  • Step S117g The mobile phone security module performs verification calculation on the transmission information by using the negotiation key of the mobile phone security module end, and obtains the first verification information.
  • Step S118g The mobile phone security module sends the first processing information to the user identification card, where the first processing information includes at least: information to be transmitted and first verification information.
  • Step S119g After receiving the first processing information, the user identity identification card verifies the first processing information by using the negotiation key of the user identity card end.
  • Step S120g If the user identification card verifies the first processing information, the user identity card signs the transmission information to obtain the second signature information.
  • Step S121g The user identity card encrypts the second signature information by using the negotiation key of the user identity card, obtains the fourth ciphertext information, and performs a check calculation on the fourth ciphertext information to obtain the second verification information.
  • Step S122g The user identification card sends the second processing information to the mobile phone security module, where the second processing information includes at least: fourth ciphertext information and second verification information.
  • Step S123g After receiving the second processing information, the mobile phone security module verifies the second processing information by using the negotiation key of the mobile security module.
  • Step S124g If the mobile phone security module verifies the second processing information, the fourth ciphertext information is decrypted by using the negotiation key of the mobile phone security module to obtain the second signature information.
  • Step S125g The mobile phone security module issues at least the second signature information.
  • the verification of the original text of the ciphertext information may be used instead, after obtaining the verification information and the ciphertext information. , the first decryption to obtain the original text of the ciphertext information, and then verify the verification information. As long as it can be guaranteed that the original text of ciphertext information or ciphertext information cannot be tampered with.
  • the data processing method based on the negotiation key of the present invention enables the mobile phone to securely perform online banking service and/or confidential information transmission.
  • the data processing method based on the negotiation key may further The following steps S1161-S1164 are included.
  • Step S1161 The mobile phone security module extracts key information in the information to be transmitted.
  • the mobile phone security module will extract key information in the information to be transmitted to display to the user to confirm whether it is the information. For example, if the present invention is applied to the secure transmission of confidential information, the mobile phone security module can extract key information such as the file name in the confidential information, so that the user can confirm whether the confidential file needs to be extracted for secure output. If this When the invention is applied to the online banking business, the mobile phone security module can extract key information in the transaction information, such as transaction account number and transaction amount, so that the user can confirm whether the transaction is a real transaction.
  • Step S1162 The mobile phone security module controls the mobile phone display screen to display the key information in the extracted information to be transmitted.
  • the mobile phone security module controls the display screen of the mobile phone to display the extracted key information, so that the user can confirm the authenticity of the key information, thereby ensuring the authenticity of the information to be transmitted.
  • the mobile phone security module controls the display screen of the mobile phone to display the extracted key information, and also prevents the problem that the key information may be tampered with by the mobile phone CPU controlling the mobile phone display screen, and ensures that the displayed content is controlled by the mobile phone security module as real content. To improve safety.
  • Step S1163 The mobile phone security module receives an acknowledgement command outputted by the mobile phone keyboard.
  • the confirmation button on the mobile phone can be a hardware button set on the mobile phone, or a virtual button of the touch screen mobile phone.
  • the mobile phone security module receives the confirmation command of the mobile phone keyboard output, it confirms the authenticity of the information to be transmitted, and prepares for subsequent secure transmission.
  • Step S1164 after the mobile phone security module receives the confirmation command outputted by the mobile phone keyboard, the step of transmitting the first processing information to the user identification card by the mobile phone security module is performed.
  • the information to be transmitted confirmed by the user's button is considered to be the real information to be transmitted, which ensures the authenticity of the information to be transmitted, thereby improving the authenticity of the confidential information output and the security of the transaction information output.
  • FIG. 2 is a schematic diagram showing the structure of a mobile phone according to Embodiment 1 of the present invention.
  • the mobile phone provided in Embodiment 1 of the present invention and the data processing method based on the negotiation key provided in Embodiment 1 are not further described herein.
  • the mobile phone of the present invention is not limited to the structural division shown in FIG. 2, and other similar structural divisions are all within the scope of protection of the present invention.
  • a mobile phone provided by Embodiment 1 of the present invention includes: a mobile phone security module 10 and a user identity card 20.
  • the second transceiver unit 201 in the user identification card 20 is configured to send the first authentication information to the mobile phone security module 10, wherein the first authentication information includes at least: a first random factor and a user identity card 20 certificate.
  • the first transceiver unit 101 in the mobile phone security module 10 is configured to receive the first authentication information.
  • the first verification unit 102 in the mobile phone security module 10 is configured to verify the validity of the user identity card 20 certificate after the first transceiver unit 101 receives the first authentication information.
  • the first encryption unit 103 in the mobile phone security module 10 is configured to: at least after the first verification unit 102 verifies that the user identification card 20 is legal, the public key of the user identification card 20 carried in the certificate of the user identification card 20 is at least The first random factor and the second random factor are encrypted to obtain first ciphertext information.
  • the first signature unit 105 in the mobile phone security module 10 is configured to sign the first ciphertext information obtained by the first encryption unit 103 to obtain first signature information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the second authentication information to the user identity card 20, wherein the second authentication information includes at least: first ciphertext information, first signature information, and mobile phone security. Module 10 certificate.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the second authentication information.
  • the second verification unit 202 in the user identity card 20 is configured to verify the validity of the certificate of the mobile phone security module 10 after the second transceiver unit 201 receives the second authentication information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the correctness of the first signature information after verifying that the mobile phone security module 10 is legal.
  • the second decryption unit 204 in the user identification card 20 is configured to decrypt the first ciphertext information after the second verification unit 202 verifies that the first signature information is correct, and obtain the first random factor and the second random factor.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the correctness of the first random factor after the second decryption unit 204 obtains the first random factor and the second random factor.
  • the second generating unit 206 in the user identification card 20 is configured to generate a third random factor after the second verification unit 202 verifies that the first random factor is correct, and generate a user identity according to the second random factor and the third random factor.
  • the negotiation key of the card 20 end.
  • the second encryption unit 203 in the user identification card 20 is configured to set the public key of the mobile phone security module 10 carried in the certificate of the mobile phone security module 10 to at least the second random factor after the second generation unit 206 generates the third random factor. And encrypting with a third random factor to obtain second ciphertext information.
  • the second transceiver unit 201 in the user identification card 20 is configured to send the second ciphertext information to the mobile phone security module 10 after the second encryption unit 203 obtains the second ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second ciphertext information.
  • the first decryption unit 104 in the mobile phone security module 10 is configured to decrypt the second ciphertext information after the first transceiver unit 101 receives the second ciphertext information to obtain a second random factor and a third random factor.
  • the first generating unit 106 in the mobile phone security module 10 is configured to generate the negotiation secret of the mobile phone security module 10 according to the second random factor and the third random factor after the first decrypting unit 104 obtains the second random factor and the third random factor. key.
  • the negotiation key of the identification card 20 end is used for secure transmission of information.
  • the mobile phone of the present invention can safely perform online banking and/or confidential information transmission.
  • the obtaining unit 107 in the mobile phone security module 10 is configured to acquire information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is configured to sign the information to be transmitted to obtain the second signature information.
  • the outgoing unit 107 in the mobile phone security module 10 is configured to issue at least the second signature information.
  • the secure transmission of information can be realized by one of the following methods one to seven.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to encrypt the to-be-transmitted information acquired by the obtaining unit 107 by using the negotiation key of the mobile phone security module 10 to obtain third ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: third ciphertext information.
  • the second transceiver unit 201 in the user identification card 20 is configured to receive the first processing information.
  • the second decryption unit 204 in the user identification card 20 is further configured to decrypt the third ciphertext information through the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information. Information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second decryption unit 204 obtains the information to be transmitted, sign the information to be transmitted to obtain the second signature information.
  • the second encryption unit 203 in the user identification card 20 is further configured to encrypt the second signature information by using the negotiation key of the user identification card 20 to obtain the fourth ciphertext information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10 after the second encryption unit 203 obtains the fourth ciphertext, wherein the second processing information includes: Fourth ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first decryption unit 104 in the mobile phone security module 10 is further configured to decrypt the fourth ciphertext information through the negotiation key of the mobile phone security module 10 after the second transceiver unit 101 receives the second processing information, and obtain the second Signature information.
  • the outgoing unit 108 in the mobile phone security module 10 is configured to issue at least the second signature information after the first decryption unit 104 obtains the second signature information.
  • the first verification calculation unit 107 in the mobile phone security module 10 is configured to perform a check calculation on the information to be transmitted acquired by the obtaining unit 107 through the negotiation key of the mobile phone security module 10, and obtain the first verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: information to be transmitted and first verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the first processing information by using the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second verification unit 202 verifies the first processing information, sign the information to be transmitted to obtain the second signature information.
  • the second verification calculation unit 207 in the user identification card 20 is configured to perform verification calculation on the second signature information by using the negotiation key of the user identification card 20 to obtain second verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10, wherein the second processing information includes at least: second signature information and second verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the second processing information by using the negotiation key of the mobile phone security module 10 after the first transceiver unit 101 receives the second processing information.
  • the outgoing unit 108 in the mobile phone security module 10 is configured to issue at least the second signature information after the first verification unit 102 verifies the second processing information.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to encrypt the information to be transmitted acquired by the obtaining unit 107 through the negotiation key of the mobile phone security module 10, obtain the third ciphertext information, and the mobile phone security module 10
  • the first check calculation unit 107 is configured to perform a check calculation on the third ciphertext information to obtain first check information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: third ciphertext information and first verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the first processing information by using the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information.
  • the second decryption unit 204 in the user identification card 20 is further configured to decrypt the third ciphertext information through the negotiation key of the user identification card 20 after the second verification unit 202 verifies the first processing information. Obtain the information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second decryption unit 204 obtains the information to be transmitted, sign the information to be transmitted to obtain the second signature information.
  • the second encryption unit 203 in the user identification card 20 is further configured to encrypt the second signature information by using the negotiation key of the user identification card 20 to obtain the fourth after the second signature unit 205 obtains the second signature information.
  • the ciphertext information, and the second check calculation unit 207 in the user identification card 20, are configured to perform a check calculation on the fourth ciphertext information to obtain second check information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the second processing information by using the negotiation key of the mobile phone security module 10 after the first transceiver unit 101 receives the second processing information.
  • the first decryption unit 104 in the mobile phone security module 10 is further configured to decrypt the fourth ciphertext information through the negotiation key of the mobile phone security module 10 after the first verification unit 102 verifies the second processing information, and obtain the first Two signature information.
  • the outgoing unit 108 in the mobile phone security module 10 is further configured to issue at least the second signature information after the first decryption unit 104 obtains the second signature information.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to encrypt the information to be transmitted acquired by the obtaining unit 107 through the negotiation key of the mobile phone security module 10, obtain the third ciphertext information, and the mobile phone security module 10
  • the first check calculation unit 107 is configured to perform a check calculation on the third ciphertext information to obtain first check information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: third ciphertext information and first verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the first processing information by using the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information.
  • the second decryption unit 204 in the user identification card 20 is further configured to decrypt the third ciphertext information through the negotiation key of the user identification card 20 after the second verification unit 202 verifies the first processing information. Obtain the information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second decryption unit 204 obtains the information to be transmitted, sign the information to be transmitted to obtain the second signature information.
  • the second encryption unit 203 in the user identification card 20 is further configured to encrypt the second signature information by using the negotiation key of the user identification card 20 to obtain the fourth after the second signature unit 205 obtains the second signature information. Ciphertext information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10, wherein the second processing information includes at least: fourth ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first decryption unit 104 in the mobile phone security module 10 is further configured to decrypt the fourth ciphertext information through the negotiation key of the mobile phone security module 10 after the second transceiver unit 101 receives the second processing information, and obtain the second Signature information.
  • the outgoing unit 108 in the mobile phone security module 10 is further configured to issue at least the second signature information after the first decryption unit 104 obtains the second signature information.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to encrypt the information to be transmitted acquired by the obtaining unit 107 through the negotiation key of the mobile phone security module 10, obtain the third ciphertext information, and the mobile phone security module 10
  • the first check calculation unit 107 is configured to perform a check calculation on the third ciphertext information to obtain first check information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: third ciphertext information and first verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the first processing information by using the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information.
  • the second decryption unit 204 in the user identification card 20 is further configured to decrypt the third ciphertext information through the negotiation key of the user identification card 20 after the second verification unit 202 verifies the first processing information. Obtain the information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second decryption unit 204 obtains the information to be transmitted, sign the information to be transmitted to obtain the second signature information.
  • the second verification calculation unit 207 in the user identification card 20 is configured to perform verification calculation on the second signature information after the second signature unit 205 obtains the second signature information, to obtain second verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10, wherein the second processing information includes at least: second signature information and second verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the second processing information by using the negotiation key of the mobile phone security module 10 after the first transceiver unit 101 receives the second processing information.
  • the outgoing unit 108 in the mobile phone security module 10 is further configured to issue at least the second signature information after the first verification unit 102 verifies the second processing information.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to encrypt the to-be-transmitted information acquired by the obtaining unit 107 by using the negotiation key of the mobile phone security module 10 to obtain third ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identification card 20, wherein the first processing information includes at least: third ciphertext information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second decryption unit 204 in the user identification card 20 is further configured to receive the first at the second transceiver unit 201. After the information is processed, the third ciphertext information is decrypted through the negotiation key of the user identification card 20 to obtain the information to be transmitted.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second decryption unit 204 obtains the information to be transmitted, sign the information to be transmitted to obtain the second signature information.
  • the second encryption unit 203 in the user identification card 20 is further configured to encrypt the second signature information by using the negotiation key of the user identification card 20 to obtain the fourth after the second signature unit 205 obtains the second signature information.
  • the ciphertext information, and the second check calculation unit 207 in the user identification card 20, are configured to perform a check calculation on the fourth ciphertext information to obtain second check information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10, wherein the second processing information includes at least: fourth ciphertext information and second verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the second processing information by using the negotiation key of the mobile phone security module 10 after the first transceiver unit 101 receives the second processing information.
  • the first decryption unit 104 in the mobile phone security module 10 is further configured to decrypt the fourth ciphertext information through the negotiation key of the mobile phone security module 10 after the first verification unit 102 verifies the second processing information, and obtain the first Two signature information.
  • the outgoing unit 108 in the mobile phone security module 10 is further configured to issue at least the second signature information after the first decryption unit 104 obtains the second signature information.
  • the first verification calculation unit 107 in the mobile phone security module 10 is configured to perform a check calculation on the information to be transmitted acquired by the obtaining unit 107 through the negotiation key of the mobile phone security module 10, and obtain the first verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the first processing information to the user identity card 20, wherein the first processing information includes at least: information to be transmitted and first verification information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the first processing information.
  • the second verification unit 202 in the user identification card 20 is further configured to verify the first processing information by using the negotiation key of the user identification card 20 after the second processing unit 201 receives the first processing information.
  • the second signature unit 205 in the user identification card 20 is further configured to, after the second verification unit 202 verifies the first processing information, sign the information to be transmitted to obtain the second signature information.
  • the second encryption unit 203 in the user identification card 20 is further configured to encrypt the second signature information by using the negotiation key of the user identification card 20 to obtain the fourth after the second signature unit 205 obtains the second signature information.
  • the ciphertext information, and the second check calculation unit 207 in the user identification card 20, are configured to perform a check calculation on the fourth ciphertext information to obtain second check information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second processing information to the mobile phone security module 10, wherein the second processing information includes at least: fourth ciphertext information and second verification information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to receive the second processing information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the second processing information by using the negotiation key of the mobile phone security module 10 after the first transceiver unit 101 receives the second processing information.
  • the first decryption unit 104 in the mobile phone security module 10 is further configured to decrypt the fourth ciphertext information through the negotiation key of the mobile phone security module 10 after the first verification unit 102 verifies the second processing information, and obtain the first Two signature information.
  • the outgoing unit 108 in the mobile phone security module 10 is further configured to issue at least the second signature information after the first decryption unit 104 obtains the second signature information.
  • the verification of the original text of the ciphertext information may be used instead, and after the verification information and the ciphertext information are obtained, The original text of the ciphertext information is obtained by decryption, and then the verification information is verified. As long as it can be guaranteed that the original text of ciphertext information or ciphertext information cannot be tampered with.
  • the mobile phone security module 10 can also display the key information in the information to be transmitted for the user to confirm the authenticity of the information to be transmitted.
  • the extracting unit 109 in the mobile phone security module 10 is arranged to extract key information in the information to be transmitted.
  • the control unit 110 in the mobile phone security module 10 is configured to control the key information in the information to be transmitted extracted by the extraction unit of the mobile phone display.
  • the receiving unit 111 in the mobile phone security module 10 is configured to receive an acknowledgement command outputted by the mobile phone keyboard, and after receiving the confirmation command outputted by the mobile phone keyboard, notify the first transceiver unit 101 to execute the mobile phone security module 10 to send the first processing information to User identification card 20.
  • the third random factor is generated by the second generating unit 206 of the user identity card 20 according to the first random factor and the second random factor, or the third random factor is the second generating unit 206 in the user identification card 20 is random. Generated.
  • the mobile phone security module 10 can be a module independent of the mobile phone CPU, or the mobile phone security module 10 is disposed in a secure area in the mobile phone CPU.
  • the difference between the embodiment 2 and the embodiment 1 is that the authentication process and the key generation process between the mobile phone security module and the user identity card are reversed, and are not further described herein.
  • the data processing method of the negotiation key and the mobile phone provided in the second embodiment are briefly described.
  • FIG. 3 is a flowchart of a data processing method based on a negotiation key according to Embodiment 2 of the present invention.
  • the data processing method based on the negotiation key according to Embodiment 2 of the present invention includes the following steps S201 to S215.
  • Step S201 The mobile phone security module sends the first authentication information to the user identity identification card, where the first authentication information includes at least: a first random factor and a mobile phone security module certificate.
  • Step S202 After receiving the first authentication information, the user identity card verifies the validity of the mobile phone security module certificate.
  • Step S203 If the user identity card verifies that the mobile phone security module certificate is legal, the user identity card encrypts at least the first random factor and the second random factor by using the public key of the mobile phone security module carried in the mobile phone security module certificate. A ciphertext message.
  • Step S204 The user identification card signs the first ciphertext information to obtain the first signature information.
  • Step S205 The user identity identification card sends the second authentication information to the mobile phone security module, where the second authentication information includes at least: first ciphertext information, first signature information, and a user identity card certificate.
  • Step S206 after receiving the second authentication information, the mobile phone security module verifies the legality of the user identity card certificate.
  • Step S207 If the mobile phone security module verifies that the user identity card certificate is legal, the mobile phone security module verifies the correctness of the first signature information.
  • Step S208 If the mobile phone security module verifies that the first signature information is correct, the mobile phone security module decrypts the first ciphertext information to obtain a first random factor and a second random factor.
  • Step S209 After obtaining the first random factor and the second random factor, the mobile phone security module verifies the correctness of the first random factor.
  • Step S210 If the mobile phone security module verifies that the first random factor is correct, the mobile phone security module generates a third random factor, and generates a negotiation key of the mobile phone security module end according to the second random factor and the third random factor.
  • Step S211 The mobile phone security module encrypts at least the second random factor and the third random factor by using the public key of the user identity card carried in the user identity card certificate to obtain the second ciphertext information.
  • Step S212 the mobile phone security module sends the second ciphertext information to the user identification card.
  • Step S213 after receiving the second ciphertext information, the user identity card decrypts the second ciphertext information to obtain a second random factor and a third random factor.
  • Step S214 The user identity card generates a negotiation key of the user identity card end according to the second random factor and the third random factor.
  • Step S215 The mobile security module and the user identification card securely transmit information through the negotiation key of the mobile security module end and the negotiation key of the user identification card end.
  • the data processing method based on the negotiation key of the present invention enables the mobile phone to securely perform online banking service and/or confidential information transmission.
  • step S215 the process of securely transmitting information between the mobile phone security module and the user identity card through the negotiation key of the mobile phone security module and the negotiation key of the user identity card is the same as that of the first embodiment, and details are not described herein again. .
  • a mobile phone provided by Embodiment 2 of the present invention includes: a mobile phone security module 10 and a user identity card 20.
  • the first transceiver unit 101 in the mobile phone security module 10 is configured to send the first authentication information to the user identity card 20, wherein the first authentication information includes at least: a first random factor and a mobile phone security module 10 certificate.
  • the second transceiver unit 201 in the user identification card 20 is configured to receive the first authentication information.
  • the second verification unit 202 in the user identity card 20 is configured to verify the validity of the certificate of the mobile phone security module 10 after the second transceiver unit 201 receives the first authentication information.
  • the second encryption unit 203 in the user identification card 20 is configured to set the public key of the mobile phone security module 10 carried in the certificate of the mobile phone security module 10 to at least the first random number after the second verification module verifies that the mobile phone security module 10 is legal.
  • the factor and the second random factor are encrypted to obtain the first ciphertext information.
  • the second signature unit 205 in the user identification card 20 is configured to, after the second encryption unit 203 obtains the first ciphertext information, sign the first ciphertext information to obtain the first signature information.
  • the second transceiver unit 201 in the user identification card 20 is further configured to send the second authentication information to the mobile phone security module 10, wherein the second authentication information includes at least: first ciphertext information, first signature information, and user identity. Identification card 20 certificate.
  • the first transceiver unit 101 in the mobile phone security module 10 is configured to receive the second authentication information.
  • the first verification unit 102 in the mobile phone security module 10 is configured to verify the validity of the certificate of the user identity card 20 after the first transceiver unit 101 receives the second authentication information.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the correctness of the first signature information after verifying that the user identification card 20 is legal.
  • the first decryption unit 104 in the mobile phone security module 10 is configured to decrypt the first ciphertext information after the first verification unit 102 verifies that the first signature information is correct, and obtain the first random factor and the second random factor.
  • the first verification unit 102 in the mobile phone security module 10 is further configured to verify the correctness of the first random factor after the first decryption unit 104 obtains the first random factor and the second random factor.
  • the first generating unit 106 in the mobile phone security module 10 is configured to generate a third random factor after the first verification unit 102 verifies that the first random factor is correct, and generate the mobile phone security module 10 according to the second random factor and the third random factor.
  • the negotiation key of the end is configured to generate a third random factor after the first verification unit 102 verifies that the first random factor is correct, and generate the mobile phone security module 10 according to the second random factor and the third random factor.
  • the first encryption unit 103 in the mobile phone security module 10 is further configured to generate a third random number in the first generation unit 106. After the factor, the public key of the user identity card 20 carried in the certificate of the user identity card 20 encrypts at least the second random factor and the third random factor to obtain second ciphertext information.
  • the first transceiver unit 101 in the mobile phone security module 10 is further configured to send the second ciphertext information obtained by the first encryption unit 103 to the user identity card 20.
  • the second transceiver unit 201 in the user identification card 20 is further configured to receive the second ciphertext information.
  • the second decryption unit 204 in the user identification card 20 is configured to decrypt the second ciphertext information after the second transceiving unit 201 receives the second ciphertext information to obtain a second random factor and a third random factor.
  • the second generating unit 206 in the user identification card 20 is configured to generate a negotiation key of the user identification card 20 end according to the second random factor and the third random factor.
  • the negotiation key of the mobile phone security module 10 generated by the first generation unit 106 between the first transceiver unit 101 in the mobile phone security module 10 and the second transceiver unit 201 in the user identification card 20 and the second generation unit 206 generates The negotiation key of the end in the user identification card 20 performs secure transmission of information.
  • the mobile phone of the present invention can safely perform online banking and/or confidential information transmission.
  • the structure of the transmission is the same as that of Embodiment 1, and details are not described herein again.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种基于协商密钥的数据处理方法和手机,方法包括:手机安全模块验证用户身份识别卡证书的合法性,合法至少对第一随机因子和第二随机因子加密,并签名发送至用户身份识别卡,用户身份识别卡验证手机安全模块证书的合法性,并验证签名,正确解密获得第一随机因子和第二随机因子,验证第一随机因子,正确生成第三随机因子,并生成用户身份识别卡端的协商密钥,并至少对第二随机因子和第三随机因子进行加密发送至手机安全模块,手机安全模块解密并生成手机安全模块端的协商密钥;二者之间通过协商密钥进行信息的安全传输。由此,可以使手机能够安全执行网上银行业务和/或机密信息传输。

Description

一种基于协商密钥的数据处理方法和手机 技术领域
本发明涉及信息安全技术领域,尤其涉及一种基于协商密钥的数据处理方法和手机。
背景技术
网络的迅速发展给人们带来的极大便利,人们越来越依赖于网络进行各种活动,例如网络文件的传输、网上银行交易均已逐渐成为人们生活、工作中不可缺少的一部分。由于网络毕竟是一个虚拟的环境,存在着太多不安全的因素,而在网络环境中必然会进行数据交互的网络活动,尤其是像网上银行业务和机密信息的传输这样的网络活动,对网络的安全提出了很高的要求,因此需要发展网络信息安全技术。
随着现今手机技术的飞速发展,手机终端越来越多的被用来替代计算机使用,但现今并没有一种使手机终端能够安全执行网上银行业务和/或机密信息传输的解决方案。
发明内容
本发明旨在解决手机终端无法安全执行网上银行业务和/或机密信息传输的问题。
本发明的主要目的在于提供一种基于协商密钥的数据处理方法。
本发明的另一目的在于提供一种手机。
为达到上述目的,本发明的技术方案具体是这样实现的:
本发明一方面提供了一种基于协商密钥的数据处理方法,包括:用户身份识别卡将第一认证信息发送至手机安全模块,其中,所述第一认证信息至少包括:第一随机因子以及用户身份识别卡证书;所述手机安全模块接收到所述第一认证信息后,验证所述用户身份识别卡证书的合法性;如果所述手机安全模块验证所述用户身份识别卡证书合法,则所述手机安全模块通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;所述手机安全模块对所述第一密文信息进行签名,获得第一签名信息;所述手机安全模块将第二认证信息发送至所述用户身份识别卡,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述手机安全模块证书;所述用户身份识别卡接收到所述第二认证信息后,验证所述手机安全模块证书的合法性;如果所述用户身份识别卡验证所述手机安全模块证书合法,则所述用户身份识别卡验证所述第一签名信息的正确性;如果所述用户身份识别卡验证所述第一签名信息正确,则所述用户身份识别卡解密所述第一密文信息,获得所述 第一随机因子以及所述第二随机因子;所述用户身份识别卡在获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;如果所述用户身份识别卡验证所述第一随机因子正确,则所述用户身份识别卡生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;所述用户身份识别卡通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;所述用户身份识别卡将所述第二密文信息发送至所述手机安全模块;所述手机安全模块接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;所述手机安全模块根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输。
本发明一方面还提供了一种基于协商密钥的数据处理方法,包括:手机安全模块将第一认证信息发送至用户身份识别卡,其中,所述第一认证信息至少包括:第一随机因子以及手机安全模块证书;所述用户身份识别卡接收到所述第一认证信息后,验证所述手机安全模块证书的合法性;如果所述用户身份识别卡验证所述手机安全模块证书合法,则所述用户身份识别卡通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;所述用户身份识别卡对所述第一密文信息进行签名,获得第一签名信息;所述用户身份识别卡将第二认证信息发送至所述手机安全模块,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述用户身份识别卡证书;所述手机安全模块接收到所述第二认证信息后,验证所述用户身份识别卡证书的合法性;如果所述手机安全模块验证所述用户身份识别卡证书合法,则所述手机安全模块验证所述第一签名信息的正确性;如果所述手机安全模块验证所述第一签名信息正确,则所述手机安全模块解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;所述手机安全模块在获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;如果所述手机安全模块验证所述第一随机因子正确,则所述手机安全模块生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;所述手机安全模块通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;所述手机安全模块将所述第二密文信息发送至所述用户身份识别卡;所述用户身份识别卡接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;所述用户身份识别卡根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;所述手机安全模块 与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输。
此外,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:所述手机安全模块获取待传输信息;所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行加密,获得第三密文信息;所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息;所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得待传输信息;所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息;所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息;所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;所述手机安全模块至少将所述第二签名信息外发。
此外,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:所述手机安全模块获取待传输信息;所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行校验计算,获得第一校验信息;所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述待传输信息和所述第一校验信息;所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;如果所述用户身份识别卡对所述第一处理信息验证通过,则所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行校验计算,获得第二校验信息;所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第二签名信息和所述第二校验信息;所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;如果所述手机安全模块对所述第二处理信息验证通过,则所述手机安全模块至少将所述第二签名信息外发。
此外,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:所述手机安全模块获取待传输信息;所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行加密,获得第三密文信息,以及对所述第三密文信息进行校验计算,获得第 一校验信息;所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息和所述第一校验信息;所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;如果所述用户身份识别卡对所述第一处理信息验证通过,则所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得所述待传输信息;所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息,以及对所述第四密文信息进行校验计算,获得第二校验信息;所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息和所述第二校验信息;所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;如果所述手机安全模块对所述第二处理信息验证通过,则通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;所述手机安全模块至少将所述第二签名信息外发。
此外,在所述手机安全模块获取待传输信息的步骤之后,在所述手机安全模块将第一处理信息发送至所述用户身份识别卡的步骤之前,所述方法还包括:所述手机安全模块提取所述待传输信息中的关键信息;所述手机安全模块控制手机显示屏显示所述提取出的待传输信息中的关键信息;所述手机安全模块接收手机键盘输出的确认指令;在所述手机安全模块接收到所述手机键盘输出的确认指令后,执行所述手机安全模块将第一处理信息发送至所述用户身份识别卡的步骤。
此外,所述第三随机因子为所述用户身份识别卡根据所述第一随机因子和所述第二随机因子生成的,或者所述第三随机因子是所述用户身份识别卡随机生成的。
此外,所述手机安全模块为独立于手机CPU之外的模块,或者所述手机安全模块设置在所述手机CPU中的安全区域。
本发明另一方面提供了一种手机,包括:用户身份识别卡以及手机安全模块;其中,所述用户身份识别卡中的第二收发单元,设置为将第一认证信息发送至手机安全模块,其中,所述第一认证信息至少包括:第一随机因子以及用户身份识别卡证书;所述手机安全模块中第一收发单元,设置为接收所述第一认证信息;所述手机安全模块中的第一验证单元,设置为在所述第一收发单元接收到所述第一认证信息后,验证所述用户身份识别卡证书的合法性;所述手机安全模块中的第一加密单元,设置为在所述第一验证单元验证所述用户身份识别卡证书合法后,通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;所述手机安全模块中的第一签名单元,设置为对所述第一加密单元获得的所述第一密文信息进行 签名,获得第一签名信息;所述手机安全模块中的所述第一收发单元,还设置为将第二认证信息发送至所述用户身份识别卡,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述手机安全模块证书;所述用户身份识别卡中的所述第二收发单元,还设置为接收所述第二认证信息;所述用户身份识别卡中的第二验证单元,设置为在所述第二收发单元接收到所述第二认证信息后,验证所述手机安全模块证书的合法性;所述用户身份识别卡中的所述第二验证单元,还设置为在验证所述手机安全模块证书合法后,验证所述第一签名信息的正确性;所述用户身份识别卡中的所述第二解密单元,设置为在所述第二验证单元验证所述第一签名信息正确后,解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;所述用户身份识别卡中的所述第二验证单元,还设置为在所述第二解密单元获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;所述用户身份识别卡中的第二生成单元,设置为在所述第二验证单元验证所述第一随机因子正确后,生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;所述用户身份识别卡中的第二加密单元,设置为在所述第二生成单元生成所述第三随机因子后,通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;所述用户身份识别卡中的所述第二收发单元,设置为在所述第二加密单元获得所述第二密文信息后,将所述第二密文信息发送至所述手机安全模块;所述手机安全模块中的所述第一收发单元,还设置为接收所述第二密文信息;所述手机安全模块中的第一解密单元,设置为在所述第一收发单元接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;所述手机安全模块中的第一生成单元,设置为在所述第一解密单元获得所述第二随机因子以及所述第三随机因子后,根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;所述手机安全模块的所述第一收发单元与所述用户身份识别卡的所述第二收发单元之间通过所述第一生成单元生成的手机安全模块端的协商密钥以及所述第二生成单元生成的所述用户身份识别卡端的协商密钥进行信息的安全传输。
本发明另一方面还提供了一种手机,包括:用户身份识别卡以及手机安全模块;其中,所述手机安全模块中的第一收发单元,设置为将第一认证信息发送至用户身份识别卡,其中,所述第一认证信息至少包括:第一随机因子以及手机安全模块证书;所述用户身份识别卡中的第二收发单元,设置为接收所述第一认证信息;所述用户身份识别卡中的第二验证单元,设置为在所述第二收发单元接收到所述第一认证信息后,验证所述手机安全模块证书的合法性;所述用户身份识别卡中的第二加密单元,设置为在所述第二验证模块验证所述手机安全模块证书合法后,通过所述手机安全模块证书中携带的所述手机安全模块的 公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;所述用户身份识别卡中的第二签名单元,设置为在所述第二加密单元获得所述第一密文信息后,对所述第一密文信息进行签名,获得第一签名信息;所述用户身份识别卡中的所述第二收发单元,还设置为将第二认证信息发送至所述手机安全模块,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述用户身份识别卡证书;所述手机安全模块中的所述第一收发单元,设置为接收所述第二认证信息;所述手机安全模块中的第一验证单元,设置为在所述第一收发单元接收到所述第二认证信息后,验证所述用户身份识别卡证书的合法性;所述手机安全模块中的所述第一验证单元,还设置为在验证所述用户身份识别卡证书合法后,验证所述第一签名信息的正确性;所述手机安全模块中的第一解密单元,设置为在所述第一验证单元验证所述第一签名信息正确后,解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;所述手机安全模块中的所述第一验证单元,还设置为在所述第一解密单元获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;所述手机安全模块中的第一生成单元,设置为在所述第一验证单元验证所述第一随机因子正确后,生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;所述手机安全模块中的第一加密单元,还设置为在所述第一生成单元生成所述第三随机因子后,通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;所述手机安全模块中的所述第一收发单元,还设置为将所述第一加密单元获得的所述第二密文信息发送至所述用户身份识别卡;所述用户身份识别卡中的所述第二收发单元,还设置为接收所述第二密文信息;所述用户身份识别卡中的第二解密单元,设置为在所述第二收发单元接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;所述用户身份识别卡中的第二生成单元,设置为根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;所述手机安全模块中的所述第一收发单元与所述用户身份识别卡中的所述第二收发单元之间通过所述第一生成单元生成的手机安全模块端的协商密钥以及所述第二生成单元生成的所述用户身份识别卡中的端的协商密钥进行信息的安全传输。
此外,所述手机安全模块中的获取单元,设置为获取待传输信息;所述用户身份识别卡中的第二签名单元,设置为对所述待传输信息进行签名,获得第二签名信息;所述手机安全模块中的外发单元,设置为至少将所述第二签名信息外发。
此外,所述手机安全模块中的获取单元,设置为获取待传输信息;所述用户身份识别卡中的所述第二签名单元,还设置为对所述待传输信息进行签名,获得第二签名信息;所述手机安全模块中的外发单元,设置为至少将所述第二签名信息外发。
此外,所述手机安全模块中的所述第一加密单元,还设置为通过所述手机安全模块端的协商密钥对所述获取单元获取的待传输信息进行加密,获得第三密文信息;所述手机安全模块中的所述第一收发单元,还设置为将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息;所述用户身份识别卡中的所述第二收发单元,设置为接收所述第一处理信息;所述用户身份识别卡中的所述第二解密单元,还设置为在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得待传输信息;所述用户身份识别卡中的所述第二签名单元,还设置为在所述第二解密单元获得所述待传输信息后,对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡中的所述第二加密单元,还设置为通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息;所述用户身份识别卡中的所述第二收发单元,还设置为在所述第二加密单元获得所述第四密文后,将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息;所述手机安全模块中的所述第一收发单元,还设置为接收所述第二处理信息;所述手机安全模块中的所述第一解密单元,还设置为在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;所述手机安全模块中的外发单元,设置为在所述第一解密单元获得所述第二签名信息后,至少将所述第二签名信息外发。
此外,所述手机安全模块中的所述第一校验计算单元,设置为通过所述手机安全模块端的协商密钥对所述获取单元获取的待传输信息进行校验计算,获得第一校验信息;所述手机安全模块中的所述第一收发单元,设置为将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述待传输信息和所述第一校验信息;所述用户身份识别卡中的所述第二收发单元,还设置为接收所述第一处理信息;所述用户身份识别卡中的所述第二验证单元,还设置为在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;所述用户身份识别卡中的所述第二签名单元,还设置为在所述第二验证单元对所述第一处理信息验证通过后,对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡中的第二校验计算单元,设置为通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行校验计算,获得第二校验信息;所述用户身份识别卡中的所述第二收发单元,还设置为将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第二签名信息和所述第二校验信息;所述手机安全模块中的所述第一收发单元,还设置为接收所述第二处理信息;所述手机安全模块中的所述第一验证单元,还设置为在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;所述手 机安全模块中外发单元,设置为在所述第一验证单元对所述第二处理信息验证通过后,至少将所述第二签名信息外发。
此外,所述手机安全模块中的所述第一加密单元,还设置为通过所述手机安全模块端的协商密钥对所述获取单元获取的所述待传输信息进行加密,获得第三密文信息,以及所述手机安全模块中的第一校验计算单元,设置为对所述第三密文信息进行校验计算,获得第一校验信息;所述手机安全模块中的所述第一收发单元,还设置为将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息和所述第一校验信息;所述用户身份识别卡中的第二收发单元,还设置为接收所述第一处理信息;所述用户身份识别卡中的所述第二验证单元,还设置为在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;所述用户身份识别卡中的所述第二解密单元,还设置为在所述第二验证单元对所述第一处理信息验证通过后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得所述待传输信息;所述用户身份识别卡中的所述第二签名单元,还设置为在所述第二解密单元获得所述待传输信息后,对所述待传输信息进行签名,获得第二签名信息;所述用户身份识别卡中的所述第二加密单元,还设置为在所述第二签名单元获得所述第二签名信息后,通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息,以及所述用户身份识别卡中的第二校验计算单元,设置为对所述第四密文信息进行校验计算,获得第二校验信息;所述用户身份识别卡中的所述第二收发单元,还设置为将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息和所述第二校验信息;所述手机安全模块中的所述第一收发单元,还设置为接收所述第二处理信息;所述手机安全模块中的所述第一验证单元,还设置为在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;所述手机安全模块中的所述第一解密单元,还设置为在所述第一验证单元对所述第二处理信息验证通过后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;所述手机安全模块中的外发单元,还设置为在所述第一解密单元获得所述第二签名信息后,至少将所述第二签名信息外发。
此外,所述手机安全模块中的提取单元,设置为提取所述待传输信息中的关键信息;所述手机安全模块中的控制单元,设置为控制手机显示屏显示所述提取单元提取出的待传输信息中的关键信息;所述手机安全模块中的接收单元,设置为接收手机键盘输出的确认指令,并在接收到所述手机键盘输出的确认指令后,通知所述第一收发单元执行所述手机安全模块将第一处理信息发送至所述用户身份识别卡。
此外,所述第三随机因子为所述用户身份识别卡的所述第二生成单元根据所述第一随 机因子和所述第二随机因子生成的,或者所述第三随机因子是所述用户身份识别卡中的所述第二生成单元随机生成的。
此外,所述手机安全模块为独立于手机CPU之外的模块,或者所述手机安全模块设置在所述手机CPU中的安全区域。
由上述本发明提供的技术方案可以看出,通过本发明的基于协商密钥的数据处理方法以及本发明的手机,可以使手机能够安全执行网上银行业务和/或机密信息传输。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。
图1为本发明实施例1提供的基于协商密钥的数据处理方法的流程图;
图2为本发明实施例1提供的手机的结构示意图;
图3为本发明实施例2提供的基于协商密钥的数据处理方法的流程图;以及
图4为本发明实施例2提供的手机的结构示意图。
具体实施方式
下面结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明的保护范围。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或数量或位置。
下面将结合附图对本发明实施例作进一步地详细描述。
本发明的基于协商密钥的数据处理方法是基于手机实现的,该手机至少包括一个具备安全功能的用户身份识别卡,以及一个手机安全模块。
其中,用户身份识别卡可以为如下任一种卡片:SIM(Subscriber Identity Module,客户识别模块)卡、UIM(User Identity Module)卡、USIM卡、PIM卡等,以上的卡片均在现有的功能的基础上,拓展了安全功能,以配合本发明的手机安全模块实现本发明的功能。
该手机安全模块可以设置为独立于手机CPU之外的单独的模块,也可以设置为在手机CPU中的安全区域,以保证该手机安全模块可以实现的独立的安全功能,例如:手机安全模块可以独立进行安全的身份认证功能,以及进行显示的安全控制,保证显示内容的真实性等。
此外,第三方CA还对用户身份识别卡颁发了经过CA认证的证书,同时第三方CA还对手机安全模块也颁发了经过CA认证的证书,以保证双方可以验证对方身份的合法性,提高安全性。
实施例1
图1出示了本发明实施例1提供的基于协商密钥的数据处理方法的流程图,参见图1,本发明的基于协商密钥的数据处理方法,包括以下步骤S101-步骤S115。
步骤S101,用户身份识别卡将第一认证信息发送至手机安全模块,其中,第一认证信息至少包括:第一随机因子以及用户身份识别卡证书。
具体的,用户身份识别卡预先生成一个第一随机因子,将生成的随机因子和CA颁发给用户身份识别卡的证书一并发送给手机安全模块。通过发送第一随机因子可以保证每次发送的信息均是不同的,防止重放攻击,提高安全性。该第一随机因子可以为用户身份识别卡生成的一个随机数。
步骤S102,手机安全模块接收到第一认证信息后,验证用户身份识别卡证书的合法性。
具体的,手机安全模块接收到用户身份识别卡证书后,对该证书的合法性进行验证。例如:采用CA颁发的CA的公钥对用户身份识别卡证书中CA私钥进行签名的部分进行验签,只有在验签通过后,才验证用户身份识别卡证书合法。
步骤S103,如果手机安全模块验证用户身份识别卡证书合法,则手机安全模块通过用户身份识别卡证书中携带的用户身份识别卡的公钥至少对第一随机因子以及第二随机因子进行加密,获得第一密文信息。
具体的,在手机安全模块验证用户身份识别卡证书合法后,还生成第二随机因子,在生成第二随机因子后,通过用户身份识别卡发来的用户身份识别卡证书中携带的用户身份识别卡的公钥对第一随机因子和第二随机因子进行加密,由此保证第一随机因子和第二随机因子传输的安全性。
其中,第二随机因子可以为一个随机数。
步骤S104,手机安全模块对第一密文信息进行签名,获得第一签名信息。
具体的,在手机安全模块对第一随机因子和第二随机因子进行加密获得第一密文信息后,还至少利用手机安全模块的私钥对第一密文信息进行签名,以保证第一密文信息传输的完整性和不可抵赖性。
当然,本发明并不局限于手机安全模块对第一密文信息进行签名,手机安全模块还可以对第一随机因子和第二随机因子直接进行签名,获得第一签名信息,由此,可以保证第一随机因子和第二随机因子本身的完整性和不可抵赖性。
本发明中,优选选择手机安全模块对第一密文信息进行签名的方案,以保证第一随机因子和第二随机因子的不透明传输。
步骤S105,手机安全模块将第二认证信息发送至用户身份识别卡,其中,第二认证信息至少包括:第一密文信息、第一签名信息以及手机安全模块证书。
步骤S106,用户身份识别卡接收到第二认证信息后,验证手机安全模块证书的合法性。
具体的,用户身份识别卡接收到手机安全模块证书后,对该证书的合法性进行验证。例如:采用CA颁发的CA的公钥对手机安全模块证书中CA私钥进行签名的部分进行验签,只有在验签通过后,才验证手机安全模块证书合法。
步骤S107,如果用户身份识别卡验证手机安全模块证书合法,则用户身份识别卡验证第一签名信息的正确性。
具体的,在用户身份识别卡验证手机安全模块证书合法后,还验证第一签名信息的正确性。此时,用户身份识别卡直接根据接收到的第一密文信息和手机安全模块证书中的手机安全模块的公钥来验证第一签名信息的正确性。
当然,如果手机安全模块是对第一随机因子和第二随机因子进行签名,那么用户身份识别卡则先行解密第一密文,获得第一随机因子和第二随机因子,从而再根据解密出的第一随机因子和第二随机因子以及手机安全模块证书中的手机安全模块的公钥来验证第一签名信息的正确性。
本发明中,优选采用根据第一密文信息和手机安全模块的公钥来验证第一签名信息的正确性。
步骤S108,如果用户身份识别卡验证第一签名信息正确,则用户身份识别卡解密第一密文信息,获得第一随机因子以及第二随机因子。
具体的,用户身份识别卡在验证第一签名信息正确后,通过用户身份识别卡的私钥对第一密文信息进行解密,获得第一随机因子和第二随机因子。由此可以在第一密文信息未被篡改的前提下解密第一密文信息,从而保证获得真实的第一随机因子和第二随机因子。
步骤S109,用户身份识别卡在获得第一随机因子以及第二随机因子后,验证第一随机 因子的正确性。
具体的,只有用户身份识别卡在解密了真实的第一随机因子和第二随机因子后,才验证第一随机因子是否与用户身份识别卡之前生成的第一随机因子是否一致,如果一致,则验证出第一随机因子正确。
步骤S110,如果用户身份识别卡验证第一随机因子正确,则用户身份识别卡生成第三随机因子,并根据第二随机因子以及第三随机因子生成用户身份识别卡端的协商密钥。
具体的,用户身份识别卡验证第一随机因子正确后,生成第三随机因子,并根据第二随机因子和第三随机因子共同生成用户身份识别卡端的协商密钥。其中,该第三随机因子可以为用户身份识别卡根据第一随机因子和第二随机因子生成的,或者第三随机因子是用户身份识别卡随机生成的。该第三随机因子也可以是一个随机数。由此,生成了用户身份识别卡端的协商密钥,以便后续根据该协商密钥与手机安全模块进行信息的安全传输。
步骤S111,用户身份识别卡通过手机安全模块证书中携带的手机安全模块的公钥至少对第二随机因子以及第三随机因子进行加密,获得第二密文信息。
具体的,用户身份识别卡通过手机安全模块证书中携带的手机安全模块的公钥对第二随机因子和第三随机因子进行加密,以便安全传输后续用于生成手机安全模块端的协商密钥的第二随机因子和第三随机因子。
步骤S112,用户身份识别卡将第二密文信息发送至手机安全模块。
步骤S113,手机安全模块接收到第二密文信息后,解密第二密文信息,获得第二随机因子以及第三随机因子。
具体的,手机安全模块通过手机安全模块的私钥对第二密文信息进行解密,获得真实的第二随机因子和第三随机因子。
步骤S114,手机安全模块根据第二随机因子以及第三随机因子生成手机安全模块端的协商密钥。
具体的,手机安全模块在获得真实的第二随机因子和第三随机因子后,根据该第二随机因子和第三随机因子生成手机安全模块端的协商密钥,以便后续根据该协商密钥与用户身份识别卡进行信息的安全传输。
步骤S115,手机安全模块与用户身份识别卡之间通过手机安全模块端的协商密钥以及用户身份识别卡端的协商密钥进行信息的安全传输。
具体的,在手机安全模块生成了手机安全模块端的协商密钥,以及用户身份识别卡生成了用户身份识别卡端的协商密钥后,手机安全模块与用户身份识别卡之间通过两端的协商密钥进行信息的安全传输。
此时,可以通过如下方式一至方式七中之一实现信息的安全传输。
方式一
步骤S116a,手机安全模块获取待传输信息。
具体的,手机安全模块获取待传输信息,该待传输信息可以为需要安全传输的机密信息,也可以为网银中待交易的交易信息。
如果本发明应用于机密信息安全传输中,则待传输信息可以为手机需要输出的机密信息,例如:手机从手机的安全存储区域内获取的机密信息等;
如果本发明应用于网上银行业务中,则待传输信息可以为待执行交易的交易信息,例如:手机通过网上银行客户端获取到的交易账号、交易金额等交易信息。
步骤S117a,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行加密,获得第三密文信息。
具体的,手机安全模块通过其生成的手机安全模块端的协商密钥对待传输信息进行加密,从而使得待传输信息进行不透明传输,保证传输的安全性。此时,协商密钥至少包括一个加密密钥。
步骤S118a,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:第三密文信息。
步骤S119a,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第三密文信息进行解密,获得待传输信息。
具体的,由于待传输信息通过手机安全模块端的协商密钥进行了加密,此时,用户身份识别卡接收到第三密文信息后,通过用户身份识别卡中的协商密钥进行解密,从而获得真实的待传输信息。
步骤S120a,用户身份识别卡对待传输信息进行签名,获得第二签名信息。
具体的,用户身份识别卡在获得了真实的待传输信息后,对该待传输信息进行签名,以保证待传输信息的完整性和不可抵赖性。
步骤S121a,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行加密,获得第四密文信息。
具体的,用户身份识别卡还通过用户身份识别卡端的协商密钥对第二签名信息进行加密,从而保证第二签名信息的不透明传输,提高安全性。
步骤S122a,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第四密文信息。
步骤S123a,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第四密文信息进行解密,获得第二签名信息。
具体的,手机安全模块接收到第四密文信息后,还通过手机安全模块端的协商密钥对 第四密文信息进行解密,获得真实的第二签名信息。由此,手机安全模块与用户身份识别卡之间完成了一次安全的信息交互。
步骤S124a,手机安全模块至少将第二签名信息外发。
具体的,手机安全模块将对待传输信息进行了签名后的第二签名信息外发。
如果本发明应用于机密信息安全传输中,则将签名后的机密信息外发至机密信息提取的装置中等。如果本发明应用于网上银行业务中,则将签名后的交易信息发送至网上银行服务器等。
方式二
步骤S116b,手机安全模块获取待传输信息。
具体的,手机安全模块获取待传输信息,该待传输信息可以为需要安全传输的机密信息,也可以为网银中待交易的交易信息。
如果本发明应用于机密信息安全传输中,则待传输信息可以为手机需要输出的机密信息,例如:手机从手机的安全存储区域内获取的机密信息等。
如果本发明应用于网上银行业务中,则待传输信息可以为待执行交易的交易信息,例如:手机通过网上银行客户端获取到的交易账号、交易金额等交易信息。
步骤S117b,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行校验计算,获得第一校验信息。
具体的,手机安全模块通过其生成的手机安全模块端的协商密钥对待传输信息进行校验计算,从而保证待传输信息的完整性。此时,协商密钥至少包括一个校验计算密钥,该校验计算可以为计算MAC值等任一校验方式。
步骤S118b,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:待传输信息和第一校验信息。
步骤S119b,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第一处理信息进行验证。
具体的,由于待传输信息通过手机安全模块端的协商密钥进行了校验计算,此时,用户身份识别卡接收到待传输信息和第一校验信息后,通过用户身份识别卡中的协商密钥对待传输信息同样进行校验计算,并与第一校验信息进行比较,并在比较一致后,验证通过,从而确保获得的待传输信息未经篡改。
步骤S120b,如果用户身份识别卡对第一处理信息验证通过,则用户身份识别卡对待传输信息进行签名,获得第二签名信息。
具体的,用户身份识别卡在获得了真实的待传输信息后,对该待传输信息进行签名,以保证待传输信息的完整性和不可抵赖性。
步骤S121b,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行校验计算,获得第二校验信息。
具体的,用户身份识别卡还通过用户身份识别卡端的协商密钥对第二签名信息进行校验计算,从而保证第二签名信息的完整性。
步骤S122b,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第二签名信息和第二校验信息。
步骤S123b,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第二处理信息进行验证。
具体的,手机安全模块接收到第二签名信息和第二校验信息后,还通过手机安全模块端的协商密钥对第二签名信息进行校验计算,并与第二校验信息进行比较,并在比较一致后,验证通过,从而确保获得的第二签名信息未经篡改。由此,手机安全模块与用户身份识别卡之间完成了一次安全的信息交互。
步骤S124b,如果手机安全模块对第二处理信息验证通过,则手机安全模块至少将第二签名信息外发。
具体的,手机安全模块将对待传输信息进行了签名后的第二签名信息外发。
如果本发明应用于机密信息安全传输中,则将签名后的机密信息外发至机密信息提取的装置中等。如果本发明应用于网上银行业务中,则将签名后的交易信息发送至网上银行服务器等。
方式三
步骤S116c,手机安全模块获取待传输信息。
具体的,手机安全模块获取待传输信息,该待传输信息可以为需要安全传输的机密信息,也可以为网银中待交易的交易信息。
如果本发明应用于机密信息安全传输中,则待传输信息可以为手机需要输出的机密信息,例如:手机从手机的安全存储区域内获取的机密信息等。
如果本发明应用于网上银行业务中,则待传输信息可以为待执行交易的交易信息,例如:手机通过网上银行客户端获取到的交易账号、交易金额等交易信息。
步骤S117c,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行加密,获得第三密文信息,以及对第三密文信息进行校验计算,获得第一校验信息。
具体的,手机安全模块通过其生成的手机安全模块端的协商密钥对待传输信息进行加密,从而使得待传输信息进行不透明传输,保证传输的安全性。
手机安全模块通过其生成的手机安全模块端的协商密钥对第三密文信息进行校验计算,从而保证地三密文信息的完整性。该校验计算可以为计算MAC值等任一校验方式。
此时,协商密钥至少包括一个加密密钥一个校验计算密钥。
步骤S118c,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
步骤S119c,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第一处理信息进行验证。
具体的,由于第三密文信息通过手机安全模块端的协商密钥进行了校验计算,此时,用户身份识别卡接收到第三密文信息和第一校验信息后,通过用户身份识别卡中的协商密钥对第三密文信息同样进行校验计算,并与第一校验信息进行比较,并在比较一致后,验证通过,从而确保获得的第三密文信息未经篡改。
步骤S120c,如果用户身份识别卡对第一处理信息验证通过,则用户身份识别卡通过用户身份识别卡端的协商密钥对第三密文信息进行解密,获得待传输信息。
具体的,由于待传输信息通过手机安全模块端的协商密钥进行了加密,此时,用户身份识别卡接收到真实的第三密文信息后,通过用户身份识别卡中的协商密钥进行解密,从而获得真实的待传输信息。
步骤S121c,用户身份识别卡对待传输信息进行签名,获得第二签名信息。
具体的,用户身份识别卡在获得了真实的待传输信息后,对该待传输信息进行签名,以保证待传输信息的完整性和不可抵赖性。
步骤S122c,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及对第四密文信息进行校验计算,获得第二校验信息。
具体的,用户身份识别卡还通过用户身份识别卡端的协商密钥对第二签名信息进行加密,从而保证第二签名信息的不透明传输,提高安全性。
用户身份识别卡还通过用户身份识别卡端的协商密钥对第四密文信息进行校验计算,从而保证第四密文信息的完整性。
步骤S123c,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
步骤S124c,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第二处理信息进行验证。
具体的,手机安全模块接收到第四密文信息和第二校验信息后,还通过手机安全模块端的协商密钥对第四密文信息进行校验计算,并与第二校验信息进行比较,并在比较一致后,验证通过,从而确保获得的第四密文信息未经篡改。
步骤S125c,如果手机安全模块对第二处理信息验证通过,则通过手机安全模块端的协商密钥对第四密文信息进行解密,获得第二签名信息。
具体的,手机安全模块在获得了真实的第四密文信息后,还通过手机安全模块端的协商密钥对第四密文信息进行解密,获得真实的第二签名信息。
由此,手机安全模块与用户身份识别卡之间完成了一次安全的信息交互。
步骤S126c,手机安全模块至少将第二签名信息外发。
具体的,手机安全模块将对待传输信息进行了签名后的第二签名信息外发。
如果本发明应用于机密信息安全传输中,则将签名后的机密信息外发至机密信息提取的装置中等。如果本发明应用于网上银行业务中,则将签名后的交易信息发送至网上银行服务器等。
方式四
步骤S116d,手机安全模块获取待传输信息。
步骤S117d,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行加密,获得第三密文信息,以及对第三密文信息进行校验计算,获得第一校验信息。
步骤S118d,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
步骤S119d,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第一处理信息进行验证。
步骤S120d,如果用户身份识别卡对第一处理信息验证通过,则用户身份识别卡通过用户身份识别卡端的协商密钥对第三密文信息进行解密,获得待传输信息。
步骤S121d,用户身份识别卡对待传输信息进行签名,获得第二签名信息。
步骤S122d,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行加密,获得第四密文信息。
步骤S123d,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第四密文信息。
步骤S124d,手机安全模块通过手机安全模块端的协商密钥对第四密文信息进行解密,获得第二签名信息。
步骤S125d,手机安全模块至少将第二签名信息外发。
方式五
步骤S116e,手机安全模块获取待传输信息。
步骤S117d,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行加密,获得第三密文信息,以及对第三密文信息进行校验计算,获得第一校验信息。
步骤S118d,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
步骤S119e,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第一处理信息进行验证。
步骤S120e,如果用户身份识别卡对第一处理信息验证通过,则用户身份识别卡通过用户身份识别卡端的协商密钥对第三密文信息进行解密,获得待传输信息。
步骤S121e,用户身份识别卡对待传输信息进行签名,获得第二签名信息。
步骤S122e,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行校验计算,获得第二校验信息。
步骤S123e,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第二签名信息和第二校验信息。
步骤S124e,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第二处理信息进行验证。
步骤S125e,如果手机安全模块对第二处理信息验证通过,则手机安全模块至少将第二签名信息外发。
方式六
步骤S116f,手机安全模块获取待传输信息。
步骤S117f,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行加密,获得第三密文信息。
步骤S118f,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:第三密文信息。
步骤S119f,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第三密文信息进行解密,获得待传输信息。
步骤S120f,用户身份识别卡对待传输信息进行签名,获得第二签名信息。
步骤S121f,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及对第四密文信息进行校验计算,获得第二校验信息。
步骤S122f,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
步骤S123f,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第二处理信息进行验证。
步骤S124f,如果手机安全模块对第二处理信息验证通过,则通过手机安全模块端的协商密钥对第四密文信息进行解密,获得第二签名信息。
步骤S125f,手机安全模块至少将第二签名信息外发。
方式七
步骤S116g,手机安全模块获取待传输信息。
步骤S117g,手机安全模块通过手机安全模块端的协商密钥对待传输信息进行校验计算,获得第一校验信息。
步骤S118g,手机安全模块将第一处理信息发送至用户身份识别卡,其中,第一处理信息至少包括:待传输信息和第一校验信息。
步骤S119g,用户身份识别卡接收到第一处理信息后,通过用户身份识别卡端的协商密钥对第一处理信息进行验证。
步骤S120g,如果用户身份识别卡对第一处理信息验证通过,则用户身份识别卡对待传输信息进行签名,获得第二签名信息。
步骤S121g,用户身份识别卡通过用户身份识别卡端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及对第四密文信息进行校验计算,获得第二校验信息。
步骤S122g,用户身份识别卡将第二处理信息发送至手机安全模块,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
步骤S123g,手机安全模块接收到第二处理信息后,通过手机安全模块端的协商密钥对第二处理信息进行验证。
步骤S124g,如果手机安全模块对第二处理信息验证通过,则通过手机安全模块端的协商密钥对第四密文信息进行解密,获得第二签名信息。
步骤S125g,手机安全模块至少将第二签名信息外发。
当然,以上方式一至方式七中,对于对每个对密文信息进行校验计算的步骤,均可以采用对密文信息的原文进行校验计算来替代,在获得校验信息和密文信息后,均先行解密获得密文信息的原文,再进行校验信息的验证。只要可以保证密文信息或者密文信息的原文无法被篡改即可。
由此可见,通过本发明的基于协商密钥的数据处理方法,可以使得手机能够安全执行网上银行业务和/或机密信息传输。
另外,在上述任一方式中,在手机安全模块获取待传输信息的步骤之后,在手机安全模块将第一处理信息发送至用户身份识别卡的步骤之前,基于协商密钥的数据处理方法还可以包括如下步骤S1161-S1164。
步骤S1161,手机安全模块提取待传输信息中的关键信息。
具体的,手机安全模块将会提取待传输信息中的关键信息,以显示给用户确认是否是该信息。例如,如果本发明应用于机密信息安全传输中,则手机安全模块可以提取机密信息中的文件名等关键信息,以便用户确认是否需要提取该机密文件进行安全输出。如果本 发明应用于网上银行业务中,则手机安全模块可以提取交易信息中的关键信息,例如交易账号和交易金额等关键信息,以便用户确认该笔交易是否为真实的交易。
步骤S1162,手机安全模块控制手机显示屏显示提取出的待传输信息中的关键信息。
具体的,手机安全模块控制手机的显示屏显示提取出来的关键信息,以便用户确认关键信息的真实性,从而保证待传输信息的真实性。另外,通过手机安全模块控制手机的显示屏显示提取出的关键信息,还可以防止通过手机CPU控制手机显示屏显示关键信息可能被篡改的问题,保证通过手机安全模块控制显示的内容为真实的内容,提高安全性。
步骤S1163,手机安全模块接收手机键盘输出的确认指令。
具体的,当用户确认手机显示屏显示的关键信息无误后,按下手机上的确认键,该确认键可以为手机上设置的硬件按键,也可以为触屏手机的虚拟按键。在手机安全模块接收到手机键盘输出的确认指令后,确认待传输信息的真实性,做好后续安全传输的准备。
步骤S1164,在手机安全模块接收到手机键盘输出的确认指令后,执行手机安全模块将第一处理信息发送至用户身份识别卡的步骤。
具体的,只有经过用户按键确认的待传输信息才被认为是真实的待传输信息,保证了待传输信息的真实性,从而提高了机密信息输出的真实性,和交易信息输出的安全性。
图2出示了本发明实施例1提供的手机的结构示意图,本发明实施例1提供的手机与采用实施例1提供的基于协商密钥的数据处理方法,故在此不再一一赘述。
在此,仅通过本发明的手机一种实现方式进行简单说明,当然,本发明的手机并不局限于图2所示的结构划分,其他类似的结构划分均应属于本发明的保护范围。
参见图2,本发明实施例1提供的手机,包括:手机安全模块10以及用户身份识别卡20。
其中,用户身份识别卡20中的第二收发单元201,设置为将第一认证信息发送至手机安全模块10,其中,第一认证信息至少包括:第一随机因子以及用户身份识别卡20证书。
手机安全模块10中第一收发单元101,设置为接收第一认证信息。
手机安全模块10中的第一验证单元102,设置为在第一收发单元101接收到第一认证信息后,验证用户身份识别卡20证书的合法性。
手机安全模块10中的第一加密单元103,设置为在第一验证单元102验证用户身份识别卡20证书合法后,通过用户身份识别卡20证书中携带的用户身份识别卡20的公钥至少对第一随机因子以及第二随机因子进行加密,获得第一密文信息。
手机安全模块10中的第一签名单元105,设置为对第一加密单元103获得的第一密文信息进行签名,获得第一签名信息。
手机安全模块10中的第一收发单元101,还设置为将第二认证信息发送至用户身份识别卡20,其中,第二认证信息至少包括:第一密文信息、第一签名信息以及手机安全模块10证书。
用户身份识别卡20中的第二收发单元201,还设置为接收第二认证信息。
用户身份识别卡20中的第二验证单元202,设置为在第二收发单元201接收到第二认证信息后,验证手机安全模块10证书的合法性。
用户身份识别卡20中的第二验证单元202,还设置为在验证手机安全模块10证书合法后,验证第一签名信息的正确性。
用户身份识别卡20中的第二解密单元204,设置为在第二验证单元202验证第一签名信息正确后,解密第一密文信息,获得第一随机因子以及第二随机因子。
用户身份识别卡20中的第二验证单元202,还设置为在第二解密单元204获得第一随机因子以及第二随机因子后,验证第一随机因子的正确性。
用户身份识别卡20中的第二生成单元206,设置为在第二验证单元202验证第一随机因子正确后,生成第三随机因子,并根据第二随机因子以及第三随机因子生成用户身份识别卡20端的协商密钥。
用户身份识别卡20中的第二加密单元203,设置为在第二生成单元206生成第三随机因子后,通过手机安全模块10证书中携带的手机安全模块10的公钥至少对第二随机因子以及第三随机因子进行加密,获得第二密文信息。
用户身份识别卡20中的第二收发单元201,设置为在第二加密单元203获得第二密文信息后,将第二密文信息发送至手机安全模块10。
手机安全模块10中的第一收发单元101,还设置为接收第二密文信息。
手机安全模块10中的第一解密单元104,设置为在第一收发单元101接收到第二密文信息后,解密第二密文信息,获得第二随机因子以及第三随机因子。
手机安全模块10中的第一生成单元106,设置为在第一解密单元104获得第二随机因子以及第三随机因子后,根据第二随机因子以及第三随机因子生成手机安全模块10端的协商密钥。
手机安全模块10的第一收发单元101与用户身份识别卡20的第二收发单元201之间通过第一生成单元106生成的手机安全模块10端的协商密钥以及第二生成单元206生成的用户身份识别卡20端的协商密钥进行信息的安全传输。
由此可见,本发明的手机可以安全执行网上银行业务和/或机密信息传输。
另外,手机安全模块10中的获取单元107,设置为获取待传输信息。
用户身份识别卡20中的第二签名单元205,设置为对待传输信息进行签名,获得第二签名信息。
手机安全模块10中的外发单元107,设置为至少将第二签名信息外发。
此时,可以通过如下方式一至方式七之一实现信息的安全传输。
方式一
手机安全模块10中的第一加密单元103,还设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行加密,获得第三密文信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:第三密文信息。
用户身份识别卡20中的第二收发单元201,设置为接收第一处理信息。
用户身份识别卡20中的第二解密单元204,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第三密文信息进行解密,获得待传输信息。
用户身份识别卡20中的第二签名单元205,还设置为在第二解密单元204获得待传输信息后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二加密单元203,还设置为通过用户身份识别卡20端的协商密钥对第二签名信息进行加密,获得第四密文信息。
用户身份识别卡20中的第二收发单元201,还设置为在第二加密单元203获得第四密文后,将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第四密文信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一解密单元104,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第四密文信息进行解密,获得第二签名信息。
手机安全模块10中的外发单元108,设置为在第一解密单元104获得第二签名信息后,至少将第二签名信息外发。
方式二
手机安全模块10中的第一校验计算单元107,设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行校验计算,获得第一校验信息。
手机安全模块10中的第一收发单元101,设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:待传输信息和第一校验信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二验证单元202,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第一处理信息进行验证。
用户身份识别卡20中的第二签名单元205,还设置为在第二验证单元202对第一处理信息验证通过后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二校验计算单元207,设置为通过用户身份识别卡20端的协商密钥对第二签名信息进行校验计算,获得第二校验信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第二签名信息和第二校验信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一验证单元102,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第二处理信息进行验证。
手机安全模块10中外发单元108,设置为在第一验证单元102对第二处理信息验证通过后,至少将第二签名信息外发。
方式三
手机安全模块10中的第一加密单元103,还设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行加密,获得第三密文信息,以及手机安全模块10中的第一校验计算单元107,设置为对第三密文信息进行校验计算,获得第一校验信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二验证单元202,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第一处理信息进行验证。
用户身份识别卡20中的第二解密单元204,还设置为在第二验证单元202对第一处理信息验证通过后,通过用户身份识别卡20端的协商密钥对第三密文信息进行解密,获得待传输信息。
用户身份识别卡20中的第二签名单元205,还设置为在第二解密单元204获得待传输信息后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二加密单元203,还设置为在第二签名单元205获得第二签名信息后,通过用户身份识别卡20端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及用户身份识别卡20中的第二校验计算单元207,设置为对第四密文信息进行校验计算,获得第二校验信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全 模块10,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一验证单元102,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第二处理信息进行验证。
手机安全模块10中的第一解密单元104,还设置为在第一验证单元102对第二处理信息验证通过后,通过手机安全模块10端的协商密钥对第四密文信息进行解密,获得第二签名信息。
手机安全模块10中的外发单元108,还设置为在第一解密单元104获得第二签名信息后,至少将第二签名信息外发。
方式四
手机安全模块10中的第一加密单元103,还设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行加密,获得第三密文信息,以及手机安全模块10中的第一校验计算单元107,设置为对第三密文信息进行校验计算,获得第一校验信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二验证单元202,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第一处理信息进行验证。
用户身份识别卡20中的第二解密单元204,还设置为在第二验证单元202对第一处理信息验证通过后,通过用户身份识别卡20端的协商密钥对第三密文信息进行解密,获得待传输信息。
用户身份识别卡20中的第二签名单元205,还设置为在第二解密单元204获得待传输信息后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二加密单元203,还设置为在第二签名单元205获得第二签名信息后,通过用户身份识别卡20端的协商密钥对第二签名信息进行加密,获得第四密文信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第四密文信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一解密单元104,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第四密文信息进行解密,获得第二签名信息。
手机安全模块10中的外发单元108,还设置为在第一解密单元104获得第二签名信息后,至少将第二签名信息外发。
方式五
手机安全模块10中的第一加密单元103,还设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行加密,获得第三密文信息,以及手机安全模块10中的第一校验计算单元107,设置为对第三密文信息进行校验计算,获得第一校验信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:第三密文信息和第一校验信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二验证单元202,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第一处理信息进行验证。
用户身份识别卡20中的第二解密单元204,还设置为在第二验证单元202对第一处理信息验证通过后,通过用户身份识别卡20端的协商密钥对第三密文信息进行解密,获得待传输信息。
用户身份识别卡20中的第二签名单元205,还设置为在第二解密单元204获得待传输信息后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二校验计算单元207,设置为在第二签名单元205获得第二签名信息后,对第二签名信息进行校验计算,获得第二校验信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第二签名信息和第二校验信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一验证单元102,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第二处理信息进行验证。
手机安全模块10中的外发单元108,还设置为在第一验证单元102对第二处理信息验证通过后,至少将第二签名信息外发。
方式六
手机安全模块10中的第一加密单元103,还设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行加密,获得第三密文信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:第三密文信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二解密单元204,还设置为在第二收发单元201接收到第一 处理信息后,通过用户身份识别卡20端的协商密钥对第三密文信息进行解密,获得待传输信息。
用户身份识别卡20中的第二签名单元205,还设置为在第二解密单元204获得待传输信息后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二加密单元203,还设置为在第二签名单元205获得第二签名信息后,通过用户身份识别卡20端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及用户身份识别卡20中的第二校验计算单元207,设置为对第四密文信息进行校验计算,获得第二校验信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一验证单元102,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第二处理信息进行验证。
手机安全模块10中的第一解密单元104,还设置为在第一验证单元102对第二处理信息验证通过后,通过手机安全模块10端的协商密钥对第四密文信息进行解密,获得第二签名信息。
手机安全模块10中的外发单元108,还设置为在第一解密单元104获得第二签名信息后,至少将第二签名信息外发。
方式七
手机安全模块10中的第一校验计算单元107,设置为通过手机安全模块10端的协商密钥对获取单元107获取的待传输信息进行校验计算,获得第一校验信息。
手机安全模块10中的第一收发单元101,还设置为将第一处理信息发送至用户身份识别卡20,其中,第一处理信息至少包括:待传输信息和第一校验信息。
用户身份识别卡20中的第二收发单元201,还设置为接收第一处理信息。
用户身份识别卡20中的第二验证单元202,还设置为在第二收发单元201接收到第一处理信息后,通过用户身份识别卡20端的协商密钥对第一处理信息进行验证。
用户身份识别卡20中的第二签名单元205,还设置为在第二验证单元202对第一处理信息验证通过后,对待传输信息进行签名,获得第二签名信息。
用户身份识别卡20中的第二加密单元203,还设置为在第二签名单元205获得第二签名信息后,通过用户身份识别卡20端的协商密钥对第二签名信息进行加密,获得第四密文信息,以及用户身份识别卡20中的第二校验计算单元207,设置为对第四密文信息进行校验计算,获得第二校验信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二处理信息发送至手机安全模块10,其中,第二处理信息至少包括:第四密文信息和第二校验信息。
手机安全模块10中的第一收发单元101,还设置为接收第二处理信息。
手机安全模块10中的第一验证单元102,还设置为在第一收发单元101接收到第二处理信息后,通过手机安全模块10端的协商密钥对第二处理信息进行验证。
手机安全模块10中的第一解密单元104,还设置为在第一验证单元102对第二处理信息验证通过后,通过手机安全模块10端的协商密钥对第四密文信息进行解密,获得第二签名信息。
手机安全模块10中的外发单元108,还设置为在第一解密单元104获得第二签名信息后,至少将第二签名信息外发。
当然,以上方式一至方式七中,对于对每个对密文信息进行校验计算时,均可以采用对密文信息的原文进行校验计算来替代,在获得校验信息和密文信息后,均先行解密获得密文信息的原文,再进行校验信息的验证。只要可以保证密文信息或者密文信息的原文无法被篡改即可。
此外,手机安全模块10还可以通过显示待传输信息中的关键信息以供用户确认待传输信息的真实性。
手机安全模块10中的提取单元109,设置为提取待传输信息中的关键信息。
手机安全模块10中的控制单元110,设置为控制手机显示屏显示提取单元提取出的待传输信息中的关键信息。
手机安全模块10中的接收单元111,设置为接收手机键盘输出的确认指令,并在接收到手机键盘输出的确认指令后,通知第一收发单元101执行手机安全模块10将第一处理信息发送至用户身份识别卡20。
另外,第三随机因子为用户身份识别卡20的第二生成单元206根据第一随机因子和第二随机因子生成的,或者第三随机因子是用户身份识别卡20中的第二生成单元206随机生成的。
以及,手机安全模块10可以为独立于手机CPU之外的模块,或者手机安全模块10设置在手机CPU中的安全区域。
实施例2
本实施例2与实施例1的区别在于手机安全模块与用户身份识别卡之间的认证过程以及密钥生成过程为相反的过程,在此不再一一赘述,仅对本实施例2提供的基于协商密钥的数据处理方法以及本实施例2提供的手机进行简单说明。
图3出示本发明实施例2提供的基于协商密钥的数据处理方法的流程图,参见图2,本发明实施例2的基于协商密钥的数据处理方法包括以下步骤S201-步骤S215。
步骤S201,手机安全模块将第一认证信息发送至用户身份识别卡,其中,第一认证信息至少包括:第一随机因子以及手机安全模块证书。
步骤S202,用户身份识别卡接收到第一认证信息后,验证手机安全模块证书的合法性。
步骤S203,如果用户身份识别卡验证手机安全模块证书合法,则用户身份识别卡通过手机安全模块证书中携带的手机安全模块的公钥至少对第一随机因子以及第二随机因子进行加密,获得第一密文信息。
步骤S204,用户身份识别卡对第一密文信息进行签名,获得第一签名信息。
步骤S205,用户身份识别卡将第二认证信息发送至手机安全模块,其中,第二认证信息至少包括:第一密文信息、第一签名信息以及用户身份识别卡证书。
步骤S206,手机安全模块接收到第二认证信息后,验证用户身份识别卡证书的合法性。
步骤S207,如果手机安全模块验证用户身份识别卡证书合法,则手机安全模块验证第一签名信息的正确性。
步骤S208,如果手机安全模块验证第一签名信息正确,则手机安全模块解密第一密文信息,获得第一随机因子以及第二随机因子。
步骤S209,手机安全模块在获得第一随机因子以及第二随机因子后,验证第一随机因子的正确性。
步骤S210,如果手机安全模块验证第一随机因子正确,则手机安全模块生成第三随机因子,并根据第二随机因子以及第三随机因子生成手机安全模块端的协商密钥。
步骤S211,手机安全模块通过用户身份识别卡证书中携带的用户身份识别卡的公钥至少对第二随机因子以及第三随机因子进行加密,获得第二密文信息。
步骤S212,手机安全模块将第二密文信息发送至用户身份识别卡。
步骤S213,用户身份识别卡接收到第二密文信息后,解密第二密文信息,获得第二随机因子以及第三随机因子。
步骤S214,用户身份识别卡根据第二随机因子以及第三随机因子生成用户身份识别卡端的协商密钥。
步骤S215,手机安全模块与用户身份识别卡之间通过手机安全模块端的协商密钥以及用户身份识别卡端的协商密钥进行信息的安全传输。
由此可见,通过本发明的基于协商密钥的数据处理方法,可以使得手机能够安全执行网上银行业务和/或机密信息传输。
在步骤S215中,手机安全模块与用户身份识别卡之间通过手机安全模块端的协商密钥以及用户身份识别卡端的协商密钥进行信息的安全传输的过程与实施例1相同,在此不再赘述。
图4出示了本发明实施例2提供的手机的结构示意图,参见图2,本发明实施例2提供的手机,包括:手机安全模块10以及用户身份识别卡20。
其中,手机安全模块10中的第一收发单元101,设置为将第一认证信息发送至用户身份识别卡20,其中,第一认证信息至少包括:第一随机因子以及手机安全模块10证书。
用户身份识别卡20中的第二收发单元201,设置为接收第一认证信息。
用户身份识别卡20中的第二验证单元202,设置为在第二收发单元201接收到第一认证信息后,验证手机安全模块10证书的合法性。
用户身份识别卡20中的第二加密单元203,设置为在第二验证模块验证手机安全模块10证书合法后,通过手机安全模块10证书中携带的手机安全模块10的公钥至少对第一随机因子以及第二随机因子进行加密,获得第一密文信息。
用户身份识别卡20中的第二签名单元205,设置为在第二加密单元203获得第一密文信息后,对第一密文信息进行签名,获得第一签名信息。
用户身份识别卡20中的第二收发单元201,还设置为将第二认证信息发送至手机安全模块10,其中,第二认证信息至少包括:第一密文信息、第一签名信息以及用户身份识别卡20证书。
手机安全模块10中的第一收发单元101,设置为接收第二认证信息。
手机安全模块10中的第一验证单元102,设置为在第一收发单元101接收到第二认证信息后,验证用户身份识别卡20证书的合法性。
手机安全模块10中的第一验证单元102,还设置为在验证用户身份识别卡20证书合法后,验证第一签名信息的正确性。
手机安全模块10中的第一解密单元104,设置为在第一验证单元102验证第一签名信息正确后,解密第一密文信息,获得第一随机因子以及第二随机因子。
手机安全模块10中的第一验证单元102,还设置为在第一解密单元104获得第一随机因子以及第二随机因子后,验证第一随机因子的正确性。
手机安全模块10中的第一生成单元106,设置为在第一验证单元102验证第一随机因子正确后,生成第三随机因子,并根据第二随机因子以及第三随机因子生成手机安全模块10端的协商密钥。
手机安全模块10中的第一加密单元103,还设置为在第一生成单元106生成第三随机 因子后,通过用户身份识别卡20证书中携带的用户身份识别卡20的公钥至少对第二随机因子以及第三随机因子进行加密,获得第二密文信息。
手机安全模块10中的第一收发单元101,还设置为将第一加密单元103获得的第二密文信息发送至用户身份识别卡20。
用户身份识别卡20中的第二收发单元201,还设置为接收第二密文信息。
用户身份识别卡20中的第二解密单元204,设置为在第二收发单元201接收到第二密文信息后,解密第二密文信息,获得第二随机因子以及第三随机因子。
用户身份识别卡20中的第二生成单元206,设置为根据第二随机因子以及第三随机因子生成用户身份识别卡20端的协商密钥。
手机安全模块10中的第一收发单元101与用户身份识别卡20中的第二收发单元201之间通过第一生成单元106生成的手机安全模块10端的协商密钥以及第二生成单元206生成的用户身份识别卡20中的端的协商密钥进行信息的安全传输。
由此可见,本发明的手机能够安全执行网上银行业务和/或机密信息传输。
手机安全模块10与用户身份识别卡20之间通过第一生成单元106生成的手机安全模块10端的协商密钥以及第二生成单元206生成的用户身份识别卡端20的协商密钥进行信息的安全传输的结构与实施例1相同,在此不再赘述。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在不脱离本发明的原理和宗旨的情况下在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。本发明的范围由所附权利要求及其等同限定。

Claims (18)

  1. 一种基于协商密钥的数据处理方法,其特征在于,包括:
    用户身份识别卡将第一认证信息发送至手机安全模块,其中,所述第一认证信息至少包括:第一随机因子以及用户身份识别卡证书;
    所述手机安全模块接收到所述第一认证信息后,验证所述用户身份识别卡证书的合法性;
    如果所述手机安全模块验证所述用户身份识别卡证书合法,则所述手机安全模块通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;
    所述手机安全模块对所述第一密文信息进行签名,获得第一签名信息;
    所述手机安全模块将第二认证信息发送至所述用户身份识别卡,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述手机安全模块证书;
    所述用户身份识别卡接收到所述第二认证信息后,验证所述手机安全模块证书的合法性;
    如果所述用户身份识别卡验证所述手机安全模块证书合法,则所述用户身份识别卡验证所述第一签名信息的正确性;
    如果所述用户身份识别卡验证所述第一签名信息正确,则所述用户身份识别卡解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;
    所述用户身份识别卡在获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;
    如果所述用户身份识别卡验证所述第一随机因子正确,则所述用户身份识别卡生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;
    所述用户身份识别卡通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;
    所述用户身份识别卡将所述第二密文信息发送至所述手机安全模块;
    所述手机安全模块接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;
    所述手机安全模块根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;
    所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输。
  2. 一种基于协商密钥的数据处理方法,其特征在于,包括:
    手机安全模块将第一认证信息发送至用户身份识别卡,其中,所述第一认证信息至少包括:第一随机因子以及手机安全模块证书;
    所述用户身份识别卡接收到所述第一认证信息后,验证所述手机安全模块证书的合法性;
    如果所述用户身份识别卡验证所述手机安全模块证书合法,则所述用户身份识别卡通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;
    所述用户身份识别卡对所述第一密文信息进行签名,获得第一签名信息;
    所述用户身份识别卡将第二认证信息发送至所述手机安全模块,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述用户身份识别卡证书;
    所述手机安全模块接收到所述第二认证信息后,验证所述用户身份识别卡证书的合法性;
    如果所述手机安全模块验证所述用户身份识别卡证书合法,则所述手机安全模块验证所述第一签名信息的正确性;
    如果所述手机安全模块验证所述第一签名信息正确,则所述手机安全模块解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;
    所述手机安全模块在获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;
    如果所述手机安全模块验证所述第一随机因子正确,则所述手机安全模块生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;
    所述手机安全模块通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;
    所述手机安全模块将所述第二密文信息发送至所述用户身份识别卡;
    所述用户身份识别卡接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;
    所述用户身份识别卡根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;
    所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输。
  3. 根据权利要求1或2所述的方法,其特征在于,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:
    所述手机安全模块获取待传输信息;
    所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行加密,获得第三密文信息;
    所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息;
    所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得待传输信息;
    所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息;
    所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息;
    所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;
    所述手机安全模块至少将所述第二签名信息外发。
  4. 根据权利要求1或2所述的方法,其特征在于,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:
    所述手机安全模块获取待传输信息;
    所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行校验计算,获得第一校验信息;
    所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述待传输信息和所述第一校验信息;
    所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;
    如果所述用户身份识别卡对所述第一处理信息验证通过,则所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行校验计算,获得第二校验信息;
    所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第二签名信息和所述第二校验信息;
    所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;
    如果所述手机安全模块对所述第二处理信息验证通过,则所述手机安全模块至少将所述第二签名信息外发。
  5. 根据权利要求1或2所述的方法,其特征在于,所述手机安全模块与所述用户身份识别卡之间通过所述手机安全模块端的协商密钥以及所述用户身份识别卡端的协商密钥进行信息的安全传输的步骤包括:
    所述手机安全模块获取待传输信息;
    所述手机安全模块通过所述手机安全模块端的协商密钥对所述待传输信息进行加密,获得第三密文信息,以及对所述第三密文信息进行校验计算,获得第一校验信息;
    所述手机安全模块将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息和所述第一校验信息;
    所述用户身份识别卡接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;
    如果所述用户身份识别卡对所述第一处理信息验证通过,则所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得所述待传输信息;
    所述用户身份识别卡对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息,以及对所述第四密文信息进行校验计算,获得第二校验信息;
    所述用户身份识别卡将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息和所述第二校验信息;
    所述手机安全模块接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;
    如果所述手机安全模块对所述第二处理信息验证通过,则通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;
    所述手机安全模块至少将所述第二签名信息外发。
  6. 根据权利要求3至5任一项所述的方法,其特征在于,在所述手机安全模块获取待传输信息的步骤之后,在所述手机安全模块将第一处理信息发送至所述用户身份识别卡的步骤之前,所述方法还包括:
    所述手机安全模块提取所述待传输信息中的关键信息;
    所述手机安全模块控制手机显示屏显示所述提取出的待传输信息中的关键信息;
    所述手机安全模块接收手机键盘输出的确认指令;
    在所述手机安全模块接收到所述手机键盘输出的确认指令后,执行所述手机安全模块将第一处理信息发送至所述用户身份识别卡的步骤。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述第三随机因子为所述用户身份识别卡根据所述第一随机因子和所述第二随机因子生成的,或者所述第三随机因子是所述用户身份识别卡随机生成的。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述手机安全模块为独立于手机CPU之外的模块,或者所述手机安全模块设置在所述手机CPU中的安全区域。
  9. 一种手机,其特征在于,包括:用户身份识别卡以及手机安全模块;其中,
    所述用户身份识别卡中的第二收发单元,用于将第一认证信息发送至手机安全模块,其中,所述第一认证信息至少包括:第一随机因子以及用户身份识别卡证书;
    所述手机安全模块中第一收发单元,用于接收所述第一认证信息;
    所述手机安全模块中的第一验证单元,用于在所述第一收发单元接收到所述第一认证信息后,验证所述用户身份识别卡证书的合法性;
    所述手机安全模块中的第一加密单元,用于在所述第一验证单元验证所述用户身份识别卡证书合法后,通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;
    所述手机安全模块中的第一签名单元,用于对所述第一加密单元获得的所述第一密文信息进行签名,获得第一签名信息;
    所述手机安全模块中的所述第一收发单元,还用于将第二认证信息发送至所述用户身份识别卡,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述手机安全模块证书;
    所述用户身份识别卡中的所述第二收发单元,还用于接收所述第二认证信息;
    所述用户身份识别卡中的第二验证单元,用于在所述第二收发单元接收到所述第二认证信息后,验证所述手机安全模块证书的合法性;
    所述用户身份识别卡中的所述第二验证单元,还用于在验证所述手机安全模块证 书合法后,验证所述第一签名信息的正确性;
    所述用户身份识别卡中的所述第二解密单元,用于在所述第二验证单元验证所述第一签名信息正确后,解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;
    所述用户身份识别卡中的所述第二验证单元,还用于在所述第二解密单元获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;
    所述用户身份识别卡中的第二生成单元,用于在所述第二验证单元验证所述第一随机因子正确后,生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;
    所述用户身份识别卡中的第二加密单元,用于在所述第二生成单元生成所述第三随机因子后,通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;
    所述用户身份识别卡中的所述第二收发单元,用于在所述第二加密单元获得所述第二密文信息后,将所述第二密文信息发送至所述手机安全模块;
    所述手机安全模块中的所述第一收发单元,还用于接收所述第二密文信息;
    所述手机安全模块中的第一解密单元,用于在所述第一收发单元接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;
    所述手机安全模块中的第一生成单元,用于在所述第一解密单元获得所述第二随机因子以及所述第三随机因子后,根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;
    所述手机安全模块的所述第一收发单元与所述用户身份识别卡的所述第二收发单元之间通过所述第一生成单元生成的手机安全模块端的协商密钥以及所述第二生成单元生成的所述用户身份识别卡端的协商密钥进行信息的安全传输。
  10. 一种手机,其特征在于,包括:用户身份识别卡以及手机安全模块;其中,
    所述手机安全模块中的第一收发单元,用于将第一认证信息发送至用户身份识别卡,其中,所述第一认证信息至少包括:第一随机因子以及手机安全模块证书;
    所述用户身份识别卡中的第二收发单元,用于接收所述第一认证信息;
    所述用户身份识别卡中的第二验证单元,用于在所述第二收发单元接收到所述第一认证信息后,验证所述手机安全模块证书的合法性;
    所述用户身份识别卡中的第二加密单元,用于在所述第二验证模块验证所述手机安全模块证书合法后,通过所述手机安全模块证书中携带的所述手机安全模块的公钥至少对所述第一随机因子以及第二随机因子进行加密,获得第一密文信息;
    所述用户身份识别卡中的第二签名单元,用于在所述第二加密单元获得所述第一密文信息后,对所述第一密文信息进行签名,获得第一签名信息;
    所述用户身份识别卡中的所述第二收发单元,还用于将第二认证信息发送至所述手机安全模块,其中,所述第二认证信息至少包括:所述第一密文信息、所述第一签名信息以及所述用户身份识别卡证书;
    所述手机安全模块中的所述第一收发单元,用于接收所述第二认证信息;
    所述手机安全模块中的第一验证单元,用于在所述第一收发单元接收到所述第二认证信息后,验证所述用户身份识别卡证书的合法性;
    所述手机安全模块中的所述第一验证单元,还用于在验证所述用户身份识别卡证书合法后,验证所述第一签名信息的正确性;
    所述手机安全模块中的第一解密单元,用于在所述第一验证单元验证所述第一签名信息正确后,解密所述第一密文信息,获得所述第一随机因子以及所述第二随机因子;
    所述手机安全模块中的所述第一验证单元,还用于在所述第一解密单元获得所述第一随机因子以及所述第二随机因子后,验证所述第一随机因子的正确性;
    所述手机安全模块中的第一生成单元,用于在所述第一验证单元验证所述第一随机因子正确后,生成第三随机因子,并根据所述第二随机因子以及所述第三随机因子生成所述手机安全模块端的协商密钥;
    所述手机安全模块中的第一加密单元,还用于在所述第一生成单元生成所述第三随机因子后,通过所述用户身份识别卡证书中携带的所述用户身份识别卡的公钥至少对所述第二随机因子以及所述第三随机因子进行加密,获得第二密文信息;
    所述手机安全模块中的所述第一收发单元,还用于将所述第一加密单元获得的所述第二密文信息发送至所述用户身份识别卡;
    所述用户身份识别卡中的所述第二收发单元,还用于接收所述第二密文信息;
    所述用户身份识别卡中的第二解密单元,用于在所述第二收发单元接收到所述第二密文信息后,解密所述第二密文信息,获得所述第二随机因子以及所述第三随机因子;
    所述用户身份识别卡中的第二生成单元,用于根据所述第二随机因子以及所述第三随机因子生成所述用户身份识别卡端的协商密钥;
    所述手机安全模块中的所述第一收发单元与所述用户身份识别卡中的所述第二收发单元之间通过所述第一生成单元生成的手机安全模块端的协商密钥以及所述第二生成单元生成的所述用户身份识别卡中的端的协商密钥进行信息的安全传输。
  11. 根据权利要求9所述的手机,其特征在于,
    所述手机安全模块中的获取单元,用于获取待传输信息;
    所述用户身份识别卡中的第二签名单元,用于对所述待传输信息进行签名,获得第二签名信息;
    所述手机安全模块中的外发单元,用于至少将所述第二签名信息外发。
  12. 根据权利要求10所述的手机,其特征在于,
    所述手机安全模块中的获取单元,用于获取待传输信息;
    所述用户身份识别卡中的所述第二签名单元,还用于对所述待传输信息进行签名,获得第二签名信息;
    所述手机安全模块中的外发单元,用于至少将所述第二签名信息外发。
  13. 根据权利要求11或12所述的手机,其特征在于,
    所述手机安全模块中的所述第一加密单元,还用于通过所述手机安全模块端的协商密钥对所述获取单元获取的待传输信息进行加密,获得第三密文信息;
    所述手机安全模块中的所述第一收发单元,还用于将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息;
    所述用户身份识别卡中的所述第二收发单元,用于接收所述第一处理信息;
    所述用户身份识别卡中的所述第二解密单元,还用于在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得待传输信息;
    所述用户身份识别卡中的所述第二签名单元,还用于在所述第二解密单元获得所述待传输信息后,对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡中的所述第二加密单元,还用于通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息;
    所述用户身份识别卡中的所述第二收发单元,还用于在所述第二加密单元获得所述第四密文后,将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息;
    所述手机安全模块中的所述第一收发单元,还用于接收所述第二处理信息;
    所述手机安全模块中的所述第一解密单元,还用于在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;
    所述手机安全模块中的外发单元,用于在所述第一解密单元获得所述第二签名信息后,至少将所述第二签名信息外发。
  14. 根据权利要求11或12所述的手机,其特征在于,
    所述手机安全模块中的所述第一校验计算单元,用于通过所述手机安全模块端的协商密钥对所述获取单元获取的待传输信息进行校验计算,获得第一校验信息;
    所述手机安全模块中的所述第一收发单元,用于将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述待传输信息和所述第一校验信息;
    所述用户身份识别卡中的所述第二收发单元,还用于接收所述第一处理信息;
    所述用户身份识别卡中的所述第二验证单元,还用于在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;
    所述用户身份识别卡中的所述第二签名单元,还用于在所述第二验证单元对所述第一处理信息验证通过后,对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡中的第二校验计算单元,用于通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行校验计算,获得第二校验信息;
    所述用户身份识别卡中的所述第二收发单元,还用于将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第二签名信息和所述第二校验信息;
    所述手机安全模块中的所述第一收发单元,还用于接收所述第二处理信息;
    所述手机安全模块中的所述第一验证单元,还用于在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;
    所述手机安全模块中外发单元,用于在所述第一验证单元对所述第二处理信息验证通过后,至少将所述第二签名信息外发。
  15. 根据权利要求11或12所述的手机,其特征在于,
    所述手机安全模块中的所述第一加密单元,还用于通过所述手机安全模块端的协商密钥对所述获取单元获取的所述待传输信息进行加密,获得第三密文信息,以及所述手机安全模块中的第一校验计算单元,用于对所述第三密文信息进行校验计算,获得第一校验信息;
    所述手机安全模块中的所述第一收发单元,还用于将第一处理信息发送至所述用户身份识别卡,其中,所述第一处理信息至少包括:所述第三密文信息和所述第一校验信息;
    所述用户身份识别卡中的第二收发单元,还用于接收所述第一处理信息;
    所述用户身份识别卡中的所述第二验证单元,还用于在所述第二收发单元接收到所述第一处理信息后,通过所述用户身份识别卡端的协商密钥对所述第一处理信息进行验证;
    所述用户身份识别卡中的所述第二解密单元,还用于在所述第二验证单元对所述第一处理信息验证通过后,通过所述用户身份识别卡端的协商密钥对所述第三密文信息进行解密,获得所述待传输信息;
    所述用户身份识别卡中的所述第二签名单元,还用于在所述第二解密单元获得所述待传输信息后,对所述待传输信息进行签名,获得第二签名信息;
    所述用户身份识别卡中的所述第二加密单元,还用于在所述第二签名单元获得所述第二签名信息后,通过所述用户身份识别卡端的协商密钥对所述第二签名信息进行加密,获得第四密文信息,以及所述用户身份识别卡中的第二校验计算单元,用于对所述第四密文信息进行校验计算,获得第二校验信息;
    所述用户身份识别卡中的所述第二收发单元,还用于将第二处理信息发送至所述手机安全模块,其中,所述第二处理信息至少包括:所述第四密文信息和所述第二校验信息;
    所述手机安全模块中的所述第一收发单元,还用于接收所述第二处理信息;
    所述手机安全模块中的所述第一验证单元,还用于在所述第一收发单元接收到所述第二处理信息后,通过所述手机安全模块端的协商密钥对所述第二处理信息进行验证;
    所述手机安全模块中的所述第一解密单元,还用于在所述第一验证单元对所述第二处理信息验证通过后,通过所述手机安全模块端的协商密钥对所述第四密文信息进行解密,获得所述第二签名信息;
    所述手机安全模块中的外发单元,还用于在所述第一解密单元获得所述第二签名信息后,至少将所述第二签名信息外发。
  16. 根据权利要求11至15任一项所述的手机,其特征在于,
    所述手机安全模块中的提取单元,用于提取所述待传输信息中的关键信息;
    所述手机安全模块中的控制单元,用于控制手机显示屏显示所述提取单元提取出的待传输信息中的关键信息;
    所述手机安全模块中的接收单元,用于接收手机键盘输出的确认指令,并在接收到所述手机键盘输出的确认指令后,通知所述第一收发单元执行所述手机安全模块将第一处理信息发送至所述用户身份识别卡。
  17. 根据权利要求9至16任一项所述的手机,其特征在于,所述第三随机因子为 所述用户身份识别卡的所述第二生成单元根据所述第一随机因子和所述第二随机因子生成的,或者所述第三随机因子是所述用户身份识别卡中的所述第二生成单元随机生成的。
  18. 根据权利要求9至17任一项所述的手机,其特征在于,所述手机安全模块为独立于手机CPU之外的模块,或者所述手机安全模块设置在所述手机CPU中的安全区域。
PCT/CN2015/070554 2014-01-27 2015-01-12 一种基于协商密钥的数据处理方法和手机 WO2015109958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410040326.7 2014-01-27
CN201410040326.7A CN103746802B (zh) 2014-01-27 2014-01-27 一种基于协商密钥的数据处理方法和手机

Publications (1)

Publication Number Publication Date
WO2015109958A1 true WO2015109958A1 (zh) 2015-07-30

Family

ID=50503793

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070554 WO2015109958A1 (zh) 2014-01-27 2015-01-12 一种基于协商密钥的数据处理方法和手机

Country Status (2)

Country Link
CN (1) CN103746802B (zh)
WO (1) WO2015109958A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132154A (zh) * 2019-12-26 2020-05-08 飞天诚信科技股份有限公司 一种协商会话密钥的方法及系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746802B (zh) * 2014-01-27 2017-07-25 天地融科技股份有限公司 一种基于协商密钥的数据处理方法和手机
CN103944715B (zh) * 2014-04-25 2017-09-19 天地融科技股份有限公司 一种基于协商密钥的数据处理方法
CN106156677B (zh) * 2015-11-10 2018-11-30 天地融科技股份有限公司 身份证读卡方法和系统
CN108243402B (zh) * 2015-12-09 2021-06-01 Oppo广东移动通信有限公司 一种读写智能卡的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925428A (zh) * 2006-09-28 2007-03-07 北京理工大学 通过相邻监督对网络非法节点进行检测的方法
CN101686127A (zh) * 2008-09-24 2010-03-31 北京创原天地科技有限公司 一种新型的USBKey安全调用方法和USBKey装置
CN103002442A (zh) * 2012-12-20 2013-03-27 邱华 无线局域网密钥安全分发方法
CN203278851U (zh) * 2013-03-06 2013-11-06 上海阳扬电子科技有限公司 一种带有无线通信功能的加密认证设备
CN103746802A (zh) * 2014-01-27 2014-04-23 天地融科技股份有限公司 一种基于协商密钥的数据处理方法和手机

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925428A (zh) * 2006-09-28 2007-03-07 北京理工大学 通过相邻监督对网络非法节点进行检测的方法
CN101686127A (zh) * 2008-09-24 2010-03-31 北京创原天地科技有限公司 一种新型的USBKey安全调用方法和USBKey装置
CN103002442A (zh) * 2012-12-20 2013-03-27 邱华 无线局域网密钥安全分发方法
CN203278851U (zh) * 2013-03-06 2013-11-06 上海阳扬电子科技有限公司 一种带有无线通信功能的加密认证设备
CN103746802A (zh) * 2014-01-27 2014-04-23 天地融科技股份有限公司 一种基于协商密钥的数据处理方法和手机

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132154A (zh) * 2019-12-26 2020-05-08 飞天诚信科技股份有限公司 一种协商会话密钥的方法及系统

Also Published As

Publication number Publication date
CN103746802B (zh) 2017-07-25
CN103746802A (zh) 2014-04-23

Similar Documents

Publication Publication Date Title
US20240007308A1 (en) Confidential authentication and provisioning
CN110337797B (zh) 用于执行双因素认证的方法
US9838205B2 (en) Network authentication method for secure electronic transactions
CN109150548B (zh) 一种数字证书签名、验签方法及系统、数字证书系统
US9231925B1 (en) Network authentication method for secure electronic transactions
RU2710897C2 (ru) Способы безопасного генерирования криптограмм
AU2014258980B2 (en) Providing digital certificates
US9197420B2 (en) Using information in a digital certificate to authenticate a network of a wireless access point
CN103440444B (zh) 电子合同的签订方法
WO2015161689A1 (zh) 一种基于协商密钥的数据处理方法
WO2019020051A1 (zh) 一种安全认证的方法及装置
CN108234115B (zh) 信息安全的验证方法、装置和系统
CN103020825B (zh) 一种基于软体客户端的安全支付认证方法
WO2018127081A1 (zh) 一种加密密钥获取方法及系统
US20180219688A1 (en) Information Transmission Method and Mobile Device
WO2015158172A1 (zh) 一种用户身份识别卡
EP2961094A1 (en) System and method for generating a random number
WO2014107977A1 (zh) 密钥保护方法和系统
JP2015526784A (ja) 問い合わせ型トランザクションによる強化された2chk認証セキュリティ
WO2015135398A1 (zh) 一种基于协商密钥的数据处理方法
US10404475B2 (en) Method and system for establishing a secure communication tunnel
CN103747012A (zh) 网络交易的安全验证方法、装置及系统
WO2015109958A1 (zh) 一种基于协商密钥的数据处理方法和手机
WO2014201907A1 (zh) 电子签名方法及系统
CN104424446A (zh) 一种安全认证和传输的方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15740763

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15740763

Country of ref document: EP

Kind code of ref document: A1