The present invention relates to the communication field, in particular to a method and a system for transmitting delay media information in an IP (Internet Protocol) multimedia subsystem.
In a technology specification of a media security of an IMS (IP multimedia subsystem), security requirement of transmitting delay media information to a media mailbox of a receiving party is proposed. This occurs generally in the case that a sending party (referred to as user A) sends media information to a receiving party (referred to as user B), while the user B is currently in an offline state (many reasons will result in the offline of user B, for example, user B is powered off, user B does not log in, or user B is not in a service area, etc.). Because user B is unreachable, a key negotiation mechanism for both parties being online can not be used in this case. Therefore, a KMS (key management server) must be introduced as a credible third party to realize that the both communication parties acquire a shared media key in an asynchronous manner.
user A (UE-A) and user B (UE-B) respectively are the sending party and the receiving party of the media information;
the KMS realizes the functions of key management and distribution as a credible third party;
a P-CSCF (proxy-call session control function) and an S-CSCF (service-call session control function) are network elements of the IMS network.
Reference is made to related document for the detail of other network elements in
The specific solution for performing key negotiation and assignment by employing the architecture of
Step 301: UE-A and the KMS employ GBA (General Bootstrapping Architecture) to negotiate with each other to acquire a shared key Ka.
If the GBA manner can not be employed, UE-A can employ other bootstrapping (authentication) manners to negotiate with the KMS to acquire the shared key Ka.
Step 302, the mailbox server of UE-B and the KMS can employ manners such as GBA, TLS (Transport Layer Security), IPSec (Internet Protocol Security), etc. to negotiate with each other to acquire a shared key Km.
Step 303, UE-A sends a call request (INVITE message) to UE-B through the IMS network, wherein the call request contains the following parameters: ID-A (the identifier of UE-A), ID-B (the identifier of UE-B), and Ea (ID-A, ID-B).
In the above, Ea (ID-A, ID-B) is a cipher text acquired by encrypting ID-A, ID-B with the shared key Ka.
Step 304, the IMS network forwards the call request of UE-A to the mailbox server of UE-B.
Step 305, the mailbox server of UE-B sends a media key acquisition request to the KMS after receiving the call request from UE-A, wherein the request contains the following parameters: ID-A, ID-B, Ea(ID-A, ID-B), and Em (ID-A, ID-B).
In the above, Em (ID-A, ID-B) is the cipher text acquired by encrypting ID-A, ID-B with the shared key Km.
Step 306, the KMS decrypts Ea(ID-A, ID-B) and Em (ID-A, ID-B) respectively using Ka and Km, and verifies whether the decrypted ID-A and ID-B are consistent with the plain text of ID-A and ID-B, if they are consistent (authentication is passed), the KMS generates a media key K.
One media key can be uniquely generated by using the above media key K.
Step 307, the KMS acquires Ea(K) by encrypting the media key K with Ka, and sends a media key acquisition response containing Ea(K) to the mailbox server of UE-B.
Step 308, the mailbox server of UE-B sends, after receiving Ea(K), a call answer (200OK message) containing Ea(K) to UE-A.
Step 309, the IMS network sends the 200OK message containing Ea(K) to UE-A, and UE-A acquires the media key K by decrypting Ea(K).
After the above flow is ended, UE-A acquires the media key K, while the mailbox server of UE-B can not acquire the media key K, thus an end-to-end security is ensured.
After logging in, UE-B firstly needs to acquire from the mailbox server of UE-B the security parameters, which contains ID-A, ID-B and Ea(ID-A, ID-B), to acquire the delay media information from UE-A according to the above security parameters and further interact with the KMS to acquire the media key.
Step 401, UE-B and the KMS employ the GBA to negotiate with each other to acquire a shared key Kb.
If the GBA manner can not be employed, UE-B can employ other authentication manners to negotiate with the KMS to acquire the shared key Kb.
Step 402, UE-B sends to the mailbox server a delay media information request, which contains the identifier (ID-B) of UE-B.
Step 403, the mailbox server returns to UE-B a delay media information response, which contains security parameters as follows: ID-A, ID-B and Ea(ID-A, ID-B).
Step 404, UE-B sends a media key acquisition request to the KMS, wherein the request contains the following parameters: ID-A, ID-B, Ea(ID-A, ID-B), Eb(ID-A, ID-B).
In the above, Eb (ID-A, ID-B) is the cipher text acquired by encrypting ID-A, ID-B with the shared key Kb.
Step 405, the KMS respectively decrypts Ea(ID-A, ID-B) and Eb (ID-A, ID-B) with Ka and Kb, and verifies whether the decrypted ID-A and ID-B are consistent with the plain text of ID-A and ID-B, if they are consistent, the KMS retrieves the media key K generated in Step 306.
Step 406, the KMS acquires Eb(K) by encrypting the media key K with Kb and sends a media key acquisition response containing Eb(K) to UE-B.
Hereto, UE-B acquires the media key K, and can decrypt the encrypted media information acquired from the mailbox server by using the media key K, so that the end-to-end security can be realized.
It can be concluded from above description that the current IMS delay media solution has the following shortcomings:
(1) the KMS needs to store the media key generated by itself, which will result in a statefulness problem of the KMS (i.e., the problem that the KMS can not bear the excessive storage load);
(2) during the negotiation of the media key, there are not generated and issued the shared key of the mailbox server between UE-A and UE-B, and the shared key between UE-B and the mailbox server of UE-B, thus the mailbox server of UE-B, as an intermediate node, is easily subjected to a denial-of-service-attack.
The present invention aims at overcoming the shortcoming of the prior art by providing a method and a system for transmitting delay media information in an IP multimedia subsystem, so that the KMS does not need to store and maintain the media key generated by the KMS, and a shared key between the sending party of the media information and the mailbox server of the receiving party of the media information can be generated during the media key negotiation procedure.
In order to solve the above problem, the present invention provides a method for transmitting delay media information in an IP multimedia subsystem, and the method includes:
a sending party of media information sending key generating parameters which are at least partly encrypted to a mailbox server of a receiving party of the media information, and the mailbox server storing the key generating parameters which are at least partly encrypted and sending the key generating parameters which are at least partly encrypted to a key management server (KMS);
the KMS decrypting, with a shared key Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted and which are sent by the mailbox server, to acquire all the key generating parameters, generating a media key Ke2e and an integrity transmission key Ke2m by using all the key generating parameters acquired, sending the Ke2e and the Ke2m to the sending party, and sending the Ke2m to the mailbox server, wherein the Ka is the shared key between the sending party and the KMS;
the sending party sending media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party acquiring from the mailbox server the key generating parameters which are at least partly encrypted, and sending to the KMS the key generating parameters which are at least partly encrypted;
the KMS decrypting, with the Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted and which are sent by the receiving party, to acquire all the key generating parameters, generating the Ke2e by using all the key generating parameters acquired, and sending the generated Ke2e to the receiving party; and the receiving party acquiring from the mailbox server the media information which is encrypted with the Ke2e by the sending party, and decrypting the acquired media information with the Ke2e.
Above method can also include the following features:
after decrypting parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted and which are sent by the mailbox server, to acquire all the key generating parameters, the KMS further generating an integrity transmission key Km2e by using all the key generating parameters, and sending the Km2e to the mailbox server;
after decrypting parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted and which are sent by the receiving party to acquire all the key generating parameters, the KMS further generating the Km2e by using the key generating parameters, and sending the generated Km2e to the receiving party;
wherein the receiving party acquires, by using the Km2e, from the mailbox server the media information which is encrypted with the Ke2e by the sending party.
Above method also includes the following features:
before the step of sending the Ke2e and the Ke2m to the sending party, the KMS encrypting the Ka with a private key Kkms, and sending the encrypted Ka to the mailbox server for storing;
when the receiving party acquiring from the mailbox server the key generating parameters which are at least partly encrypted and sending to the KMS the key generating parameters which are at least partly encrypted, the mailbox server also sending the encrypted Ka to the receiving party, and the receiving party sending the encrypted Ka to the KMS; and the KMS decrypting, after receiving the encrypted Ka, the encrypted Ka with the Kkms to acquire the Ka.
Above method also includes the following features:
the sending party employs the following way to send the key generating parameters which are at least partly encrypted to the KMS: the sending party carries in a call request message the key generating parameters which are at least partly encrypted to send to the mailbox server the key generating parameters which are at least partly encrypted, wherein the call request message contains identifiers of the sending party and the receiving party; the mailbox server stores the key generating parameters which are at least partly encrypted, carries in a media key acquisition request message the key generating parameters which are at least partly encrypted to send to the KMS the key generating parameters which are at least partly encrypted, wherein the media key acquisition request message contains identifiers of the sending party, the receiving party and the mailbox server;
After receiving the media key acquisition request message the KMS verifies the identifiers of the sending party, the receiving party and the mailbox server, and generates the media key and the integrity transmission key only if the verification is passed.
Above method also includes the following features:
the KMS employs the following way to send the Ke2e and Ke2m to the sending party:
the KMS encrypting the Ke2e and Ke2m generated by the KMS with the Ka, and sending the encrypted Ke2e and Ke2m to the mailbox server;
the mailbox server carrying the encrypted Ke2e and Ke2m in a call answer message to send the encrypted Ke2e and Ke2m to the sending party; and
the sending party decrypting the encrypted Ke2e and Ke2m with the Ka to acquire the Ke2e and the Ke2m.
Above method also includes the following features. The parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted comprises: a timestamp and/or a random number generated by the sending party.
The present invention also provides a method for transmitting delay media information in an IP multimedia system, and the method includes:
a key management server (KMS) generating, after receiving a ticket acquisition request sent by a sending party of media information, a media key Ke2e and an integrity transmission key Ke2m, encrypting the Ke2e and the Ke2m with a shared key Ka between the KMS and the sending party, and sending a ticket and the Ke2e and Ke2m encrypted with the Ka to the receiving party, wherein the ticket contains the Ke2e and the Ke2m encrypted with a private key of the KMS;
the sending party sending the ticket to a mailbox server of a receiving party of the media information, the mailbox server storing the ticket and sending the ticket to the KMS; the KMS performing decryption with the private key to acquire the Ke2m contained in the ticket, and sending the acquired Ke2m to the mailbox server;
the sending party sending media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party acquiring the ticket from the mailbox server, and sending the acquired ticket to the KMS; the KMS performing decryption with the private key to acquire the Ke2e contained in the ticket, and sending the acquired Ke2e to the receiving party;
the receiving party acquiring from the mailbox server the media information encrypted with the Ke2e by the sending party, and decrypting the acquired media information with the Ke2e.
The above method also includes the following features:
before sending the ticket and the Ke2e and Ke2m encrypted with the Ka to the receiving party, the KMS generates an integrity transmission key Km2e, encrypts the Km2e with the private key and then carries the encrypted Km2e in the ticket;
after receiving the ticket sent from the mailbox server, the KMS performs decryption with the private key to acquire the Km2e contained in the ticket, and sends the acquired Km2e to the mailbox server;
after receiving the ticket sent by the receiving party, the KMS performs decryption with the private key to acquire the Km2e contained in the ticket, and sends the acquired Km2e to the receiving party;
wherein the receiving party acquires, by using the Km2e, from the mailbox server the media information encrypted with the Ke2e by the sending party.
The present invention also provides a KMS of supporting a transmission of delay media information in an IP multimedia subsystem, and the KMS is configured to:
after receiving key generating parameters which are at least partly encrypted and which are sent by a mailbox server of a receiving party, decrypt, with a shared key Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted, to acquire all the key generating parameters, generate a media key Ke2e and an integrity transmission key Ke2m by using all the key generating parameters acquired, send the Ke2e and the Ke2m to the sending party, and send the Ke2m to the mailbox server; and after receiving the key generating parameters which are at least partly encrypted and which are sent by the receiving party, decrypt, with the Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters which are at least partly encrypted, to acquire all the key generating parameters, generate the Ke2e by using all the key generating parameters acquired, and send the generated Ke2e to the receiving party;
wherein the Ka is the shared key between the sending party and the KMS.
The present invention also provides a system for transmitting delay media information in an IP multimedia subsystem, and the system includes: a sending party of media information, a receiving party of the media information, a key management server (KMS) and a mailbox server of the receiving party of the media information;
the sending party is configured to send key generating parameters to the mailbox server
the mailbox server is configured to store the key generating parameters and send the key generating parameters to the KMS;
the KMS is configured to, after receiving the key generating parameters which are sent by a mailbox server of a receiving party, decrypt, with a shared key Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters, generate a media key Ke2e and an integrity transmission key Ke2m by using the key generating parameters, send the Ke2e and the Ke2m to the sending party, and send the Ke2m to the mailbox server, wherein the Ka is the shared key between the sending party and the KMS;
the sending party is also configured to send media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party is configured to acquire from the mailbox server the key generating parameters, and send the key generating parameters to the KMS;
the KMS is also configured to, after receiving the key generating parameters which are sent by the receiving party, decrypt, with the Ka, parameter(s), which is encrypted with the Ka, in the key generating parameters, generate the Ke2e by using the key generating parameters, and send the Ke2e to the receiving party;
the receiving party is also configured to acquire from the mailbox server the media information which is encrypted with the Ke2e by the sending party, and decrypt the acquired media information with the Ke2e.
The present invention also provides a KMS of supporting a transmission of delay media information in an IP multimedia subsystem, and the KMS is configured to:
after receiving a ticket acquisition request, generate a media key Ke2e and an integrity transmission key Ke2m, encrypt the Ke2e and the Ke2m with a shared key Ka between the KMS and a sending party, and send a ticket and the Ke2e and Ke2m encrypted with the Ka to the receiving party, wherein the ticket contains the Ke2e and the Ke2m encrypted with a private key of the KMS;
after receiving the ticket sent by the mailbox server, perform decryption with the private key to acquire the Ke2m contained in the ticket, and send the acquired Ke2m to the mailbox server; and
after receiving the ticket sent by the sending party, perform decryption with the private key to acquire the Ke2e contained in the ticket, and send the acquired Ke2e to the receiving party.
The present invention also provides a system for transmitting delay media information in an IP multimedia subsystem, and the system includes: a sending party of media information, a receiving party of the media information, a key management server (KMS) and a mailbox server of the receiving party of the media information;
the sending party is configured to send a ticket acquisition request to the KMS;
the KMS is configured to, after receiving the ticket acquisition request, generate a media key Ke2e and an integrity transmission key Ke2m, encrypt the Ke2e and the Ke2m with a shared key Ka between the KMS and the sending party, and send a ticket and the Ke2e and Ke2m encrypted with the Ka to the receiving party, wherein the ticket contains the Ke2e and the Ke2m encrypted with a private key of the KMS;
the sending party is also configured to send the ticket to the mailbox server;
the mailbox server is configured to store the ticket and send the ticket to the KMS;
the KMS is also configured to, after receiving the ticket sent by the mailbox server, perform decryption with the private key to acquire the Ke2m contained in the ticket, and send the acquired Ke2m to the mailbox server;
the sending party is also configured to send media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party is configured to acquire the ticket from the mailbox server, and send the acquired ticket to the KMS;
the KMS is also configured to, after receiving the ticket sent by the sending party, perform decryption with the private key to acquire the Ke2e contained in the ticket, and send the acquired Ke2e to the receiving party;
the receiving party is also configured to acquire from the mailbox server the media information encrypted with the Ke2e by the sending party, and decrypt the acquired media information with the Ke2e.
In summary, compared with the prior art, the present invention establishes an end-to-end security association between the sending party and the receiving party of the media information to encrypt the media information between them, without any need for the KMS to store the media key; at the same time, the security association is also established between the sending party and the mailbox server of the receiving party, and between the mailbox server of the receiving party and the receiving party, to perform an integrity protection and a mutual authentication between them, thus the security transmission of the IMS delay media information can be realized.
The core idea of the present invention is that when generating a media key material Ke2e shared by the sending party (UE-A) of the media information and the receiving party (UE-B) of the media information, the KMS also generates an integrity transmission key material Ke2m shared by UE-A and the mailbox server of UE-B, and an integrity transmission key material Km2e shared by UE-B and the mailbox server of UE-B, sends the Ke2m to UE-A and the mailbox server of UE-B, and sends the Km2e to UE-B and the mailbox server of UE-B.
The above media key material can be media key itself, or UE-A and UE-B can generate a same media key based on the above media key material and other parameters. Hereinafter, media key material and media key are indicated with a general name of media key.
Similarly, the above integrity transmission key material can be integrity transmission key itself, or UE-A/UE-B and the mailbox server of UE-B can generate a same media key based on the above integrity transmission key material and other parameters. Hereinafter, integrity transmission key material and integrity transmission key are indicated with a general name of integrity transmission key.
The present invention will be detailed in connection with drawings and embodiments.
Step 501, UE-A and the KMS employ a GBA to negotiate to acquire a shared key Ka.
If the GBA manner can not be employed, UE-A can employ other bootstrapping (authentication) manners to negotiate with the KMS to acquire the shared key Ka.
Step 502, the mailbox server of UE-B and the KMS can employ manners such as GBA, TLS, IPSec, etc. to negotiate with each other to acquire a shared key Km.
The sequential order of Step 501 and Step 502 is not limited.
Step 503, UE-A generates a random number Ra.
Step 504, UE-A sends a call request (for example, INVITE message) to UE-B through the IMS network, wherein the call request contains the following parameters: ID-A, ID-B, and Ea (Ra, ID-A, ID-B).
In the above, Ea(Ra, ID-A, ID-B) is a cipher text acquired by encrypting Ra, ID-A, and ID-B with the shared key Ka.
Step 505, the IMS network forwards the call request of UE-A to the mailbox server of UE-B.
Step 506, the mailbox server of UE-B sends a media key acquisition request to the KMS after receiving the call request from UE-A, wherein the request contains the following parameters: ID-A, ID-B, Ea(Ra, ID-A, ID-B), and Em (ID-A, ID-Bm).
In the above, ID-Bm is the identifier of the mailbox server of UE-B, Em (ID-A, ID-Bm) is a cipher text acquired by encrypting ID-A, ID-Bm with the shared key Km.
Step 507, the KMS decrypts Ea(Ra, ID-A, ID-B) with Ka, and verifies whether the decrypted ID-A and ID-B are consistent with the plain text of ID-A and ID-B; decrypts Em(ID-A, ID-Bm) with Km, and verifies whether the decrypted ID-A is consistent with the plain text of ID-A, and verifies whether ID-Bm is the identifier of the mailbox server corresponding to ID-B; if the above verifications are all passed (i.e., the ID-A and ID-B acquired by decryption are consistent with the plain text of ID-A and ID-B, and ID-Bm is the identifier of the mailbox server corresponding to ID-B), the parameters acquired through decryption, such as Ra, ID-A and so on are employed to generate a media key Ke2e, and integrity transmission keys Ke2m and Km2e independent from each other, through a media key derivation function (KDF).
In the above, the integrity transmission key Ke2m is the shared key between UE-A and the mailbox server of UE-B; and the integrity transmission key Km2e is the shared key between the mailbox server of UE-B and UE-B.
Step 508, the KMS encrypts the random number Ra, Ke2e and Ke2m with Ka to acquire Ea(Ra, Ke2e,Ke2m); encrypts the Ke2m and Km2e with Km to acquire Em(Ke2m,Km2e); encrypts Ka with a private key Kkms of the KMS to acquire Ekms(Ka); and carries Ea(Ra, Ke2e, Ke2m), Em(Ke2m, Km2e) and Ekms(Ka) in a media key acquisition response and sends the media key acquisition response to the mailbox server of UE-B.
After sending Ekms(Ka) to the mailbox server of UE-B, the KMS can delete Ka.
Step 509, after receiving Ea(Ra, Ke2e, Ke2m), Em(Ke2m, Km2e) and Ekms(Ka), the mailbox server of UE-B sends a call answer (for example, 200OK message) containing Ea(Ra, Ke2e, Ke2m) to UE-A through the IMS network; stores Ekms(Ka) and previously received ID-A, ID-B, Ea(Ra, ID-A, ID-B) together; and acquires Ke2m and Km2e by decryption.
Step 510, the IMS network sends the 200OK message containing Ea(Ra, Ke2e, Ke2m) to UE-A, and UE-A acquires the media key Ke2e and the integrity transmission key Ke2m through decrypting Ea(Ra, Ke2e, Ke2m).
Step 511, after acquiring the media key Ke2e, UE-A can securely send media information to the mailbox server of UE-B by using the media key Ke2e. Because the mailbox server of UE-B can not acquire the media key Ke2e, the end-to-end security is ensured.
Moreover, UE-A and the mailbox server of UE-B can utilize the integrity transmission key Ke2m shared by the both parties to realize the mutual authentication and secure data transmission between UE-A and the mailbox server of UE-B. For example, UE-A can employ Ke2m to encrypt ID-A, and send the cipher text after the encryption together with the media information to the mailbox server of UE-B. The mailbox server of UE-B decrypts the above cipher text with Ke2m and compare the decryption result with ID-A. If they are consistent, UE-A is considered as a validated user.
After logging in, UE-B firstly needs to acquire from its mailbox server the security parameters, which include ID-A, ID-B, Ea(ID-A, ID-B) and Ekms(Ka). It can be concluded from these security parameters that there is delay media information from UE-A, thus UE-B interacts with the KMS to acquire the media key.
Step 601, UE-B and the KMS employs the GBA to negotiate to acquire the shared key Kb.
If the GBA manner can not be employed, UE-B can employ other bootstrapping (authentication) manners to negotiate with the KMS to acquire the shared key Kb.
Step 602, UE-B sends a delay media information request to the mailbox server, wherein the request contains the identifier ID-B of UE-B.
Step 603, the mailbox server returns a delay media message response to UE-B, wherein the response contains the following parameters: ID-A, ID-B, Ekms(Ka), Ea(Ra, ID-A, ID-B).
Step 604, UE-B generates a random number Rb.
Step 605, UE-B sends a media key acquisition request to the KMS, wherein the request contains the following parameters: ID-A, ID-B, Ea (Ra, ID-A, ID-B), Ekms(Ka), Eb(Rb, ID-A, ID-B).
In the above, Eb(Rb, ID-A, ID-B) is a cipher text acquired by encrypting Ra, ID-A, ID-B with the shared key Kb.
Step 606, the KMS decrypts Ekms(Ka) with Kkms to acquire Ka; decrypts Ea(Ra, ID-A, ID-B) and Eb(Rb, ID-A, ID-B) with Ka and Kb respectively, and verifies whether the decrypted ID-A and ID-B are consistent with the plain text of ID-A and ID-B; if above verifications are passed (i.e., the ID-A and ID-B acquired by decryption are consistent with the plain text of ID-A and ID-B), the KMS utilizes the random number Ra and ID-A acquired by decryption, to regenerate a media key Ke2e and an integrity transmission key Km2e through a media key derivation function (KDF).
Step 607, the KMS encrypts the random number Rb, the media key Ke2e and the integrity transmission key Km2e with Kb to acquire Eb(Rb, Ke2e, Km2e), and sends a media key acquisition response containing Eb(Rb, Ke2e, Km2e) to UE-B.
Hereto, UE-B can acquire the media key Ke2e and the integrity transmission key Km2e through decrypting Eb(Rb, Ke2e, Km2e), and decrypt the encrypted media information acquired from the mailbox server with the media key Ke2e, thus the end-to-end security is realized. Moreover, the integrity transmission key Km2e can be utilized between UE-B and the mailbox server to realize mutual authentication and security transmission of data between the two parties.
As seen from the above description, in virtue of the method of the present invention, during the process of generation and issue of the media key Ke2e, the KMS also generates the integrity transmission key Ke2m shared between UE-A and the mailbox server of UE-B and the integrity transmission key Km2e shared between the mailbox server of UE-B and UE-B. Moreover, as shown in
According to the basic principle of the present invention, above embodiment also includes various alternatives, for example:
(I) in the above embodiment, the KMS encrypts the shared key Ka with Kkms and then sends the encrypted Ka to the mailbox server of UE-B; UE-B acquires the encrypted Ka and returns the encrypted Ka to the KMS; the KMS performs decryption with Kkms to acquire Ka. In other embodiments of the present invention, the KMS can store the shared key Ka. Certainly, when this technical solution is employed, the KMS needs to increase operations for storing and maintaining the shared key Ka, which increases the storage and process load of the KMS.
(II) in the above embodiment, the KMS utilizes the random number Ra generated by UE-A and ID-A as the key generating parameters, to generate Ke2e, Ke2m and Km2e (wherein the random number Ra is transmitted in an encryption way, and stored in the mailbox server of UE-B), at the same time, the random number Ra is also used as the parameter for preventing replay attack. In other embodiments of the present invention, other parameters generated by the user, or the random number Ra together with other parameters can also be used as the key generating parameters to generate Ke2e, Ke2m and Km2e. Certainly, in order to ensure the secure transmission and storage of the key generating parameters, at least one of the key generating parameters needs to be encrypted with Ka and then is transmitted to and stored in the mailbox server, wherein the parameter(s) generally is the random number generated by UE-A, and/or other parameter(s) having a random number property (for example, timestamp, etc.).
(III) in the above embodiment, after generating the media key and the integrity transmission key, the KMS respectively employs the key shared with UE-A and UE-B to encrypt the media key and the integrity transmission key, and then sends the encrypted media key and integrity transmission key respectively to UE-A and UE-B. In other embodiments of the present invention, the KMS may also employ other secure manners to send the media key and the integrity transmission key.
(IV) in the above embodiment, when generating the media key Ke2e, the KMS also generates the integrity transmission keys Ke2m and Km2e. In other embodiments of the present invention, if there is an integrity protection solution between the mailbox server of the receiving party and the receiving party, Km2e is not required to be generated.
The above idea of the present invention can also be applied to a ticket-based system (TBS) to realize the above key distribution process.
Step 801, UE-A and the KMS employ the GBA to negotiate to acquire the shared key Ka.
If the GBA manner can not be employed, UE-A may employ other bootstrapping (authentication) manners to negotiate with the KMS to acquire the shared key Ka.
Step 802, the mailbox server of UE-B and the KMS may employ manners such as GBA, TLS, IPSec, etc. to negotiate with each other to acquire the shared key Km.
The sequential order of Step 801 and Step 802 is not limited herein.
Step 803, UE-A sends a ticket acquisition request to the KMS, wherein the request contains ID-A and ID-B.
Step 804, the KMS generates the media key Ke2e, the integrity transmission key Ke2m and the integrity transmission key Km2e, and stores Ke2e, Ke2m, and Km2e in a ticket encrypted using the private key of the KMS, then carries the ticket and Ea(Ke2e, Ke2m) in a ticket acquisition response and sends the ticket acquisition response to UE-A.
Moreover, the ticket also contains parameters, such as ID-A and ID-B encrypted using the private key of the KMS.
Step 805, UE-A performs decryption with Ka to acquire Ke2e and Ke2m, and sends the ticket to the mailbox server of UE-B.
Step 806, after acquiring the ticket, mailbox server of UE-B submits the ticket to the KMS.
Step 807, after receiving the ticket, the KMS finds that the ticket is sent by the mailbox server and then extracts Ke2m and Km2e from the ticket, and then encrypts Ke2m and Km2e with the shared key Km between the KMS and the mailbox server, to acquire Em(Ke2m, Km2e), and sends Em(Ke2m, Km2e) to the mailbox server.
Step 808, after acquiring the media key Ke2e, UE-A can utilize the media key Ke2e to securely send media information to the mailbox server of UE-B. Because the mailbox server of UE-B can not acquire the media key Ke2e, it is realized to ensure the end-to-end security.
Moreover, UE-A and the mailbox server of UE-B can utilize the integrity transmission key Ke2m shared by the both parties to realize the mutual authentication and secure data transmission between UE-A and the mailbox server of UE-B.
After logging in, UE-B needs to acquire the ticket from its mailbox server to find out that there is delay media information from UE-A, and utilizes the ticket to acquire the media key Ke2e from the KMS.
Step 901, UE-A and the KMS employs the GBA to negotiate to acquire the shared key Kb.
If the GBA manner can not be employed, UE-B can employ other bootstrapping (authentication) manners to negotiate with the KMS to acquire the shared key Kb.
Step 902, UE-B sends a delay media information request to the mailbox server, wherein the request contains the identifier ID-B of UE-B.
Step 903, the mailbox server returns a delay media information response to UE-B, wherein the response contains the ticket.
Step 904, UE-B sends a media key acquisition request to the KMS, wherein the request contains ID-A, ID-B and the above ticket.
Step 905, the KMS decrypts the received ticket with its private key to acquire an end-to-end media key Ke2e and verifies the identity of UE-B, if the identity of UE-B accord with the identity of the receiving party of the media information defined in the ticket, then encrypts Ke2e and Km2e with Kb to acquire Eb(Ke2e, Km2e), and carries Eb(Ke2e, Km2e) in a media key acquisition response to send it to UE-B.
Hereto, UE-B can acquire the media key Ke2e and the integrity transmission key Km2e by decrypting Eb(Ke2e, Km2e), and decrypt the encrypted media information acquired from the mailbox server with the media key Ke2e, thus end-to-end security is realized. Moreover, the integrity transmission key Km2e can be employed between UE-B and the mailbox server to realize mutual authentication and secure data transmission between them.
the sending party is configured to send key generating parameters which are at least partly encrypted to the mailbox server, and the mailbox server stores the key generating parameters which are at least partly encrypted and sends the key generating parameters which are at least partly encrypted to the KMS;
the KMS is configured to decrypt, with Ka, parameter(s) encrypted with the Ka in the key generating parameters which are at least partly encrypted, generate a media key Ke2e and an integrity transmission key Ke2m by using all the key generating parameters, send the Ke2e and the Ke2m to the sending party, and send the Ke2m to the mailbox server;
the sending party is also configured to send media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party is configured to acquire from the mailbox server the key generating parameters which are at least partly encrypted, and send to the KMS the key generating parameters which are at least partly encrypted;
the KMS is also configured to, after receiving the key generating parameters which are at least partly encrypted sent by the receiving party, decrypt, with the Ka, parameter(s) encrypted with the Ka in the key generating parameters which are at least partly encrypted, regenerate the Ke2e by using all the key generating parameters, and send the generated Ke2e to the receiving party; and
the receiving party is also configured to acquire from the mailbox server the media information which is encrypted with the Ke2e by the sending party, and decrypt the acquired media information with the Ke2e.
Moreover, after receiving the key generating parameters which are at least partly encrypted sent by the mailbox server and decrypting the parameter(s) encrypted with the Ka therein, the KMS also generates the integrity transmission key Km2e by using all the key generating parameters, and sends the Km2e to the mailbox server. After receiving the key generating parameters which are at least partly encrypted sent by the receiving party and decrypting the parameter(s) encrypted with the Ka therein, the KMS also generate the Km2e by using all the key generating parameters, and sends the Km2e to the receiving party. The receiving party acquires from the mailbox server the media information encrypted with Ke2e by the sending party, by using the Km2e, and decrypts the acquired media information with the Ke2e.
Furthermore, the above network elements can also realize the following functions:
the sending party is configured to send a ticket acquisition request to the KMS;
the KMS is configured to, after receiving a ticket acquisition request, generate a media key Ke2e and an integrity transmission key Ke2m, encrypt the Ke2e and the Ke2m with a shared key Ka between the KMS and a sending party, and send a ticket and the Ke2e and Ke2m encrypted with the Ka to the receiving party, wherein the ticket contains the Ke2e and the Ke2m encrypted with a private key of the KMS;
the sending party is also configured to send the ticket to the mailbox server;
the mailbox server is configured to store the ticket and send the ticket to the KMS;
the KMS is also configured to, after receiving the ticket sent by the mailbox server, perform decryption with the private key to acquire the Ke2m contained in the ticket, and send the acquired Ke2m to the mailbox server;
the sending party is configured to send media information encrypted with the Ke2e to the mailbox server by using the Ke2m;
the receiving party is configured to acquire the ticket from the mailbox server, and send the acquired ticket to the KMS;
the KMS is also configured to, after receiving the ticket sent by the sending party, perform decryption with the private key to acquire the Ke2e contained in the ticket, and send the acquired Ke2e to the receiving party;
the receiving party is also configured to acquire from the mailbox server the media information encrypted with the Ke2e by the sending party, and decrypt the acquired media information with the Ke2e.
The specific function of each network element and the message interactive relationship among individual network elements can be found in the description made to the method embodiments shown in
Compared with the prior art, the present invention establishes an end-to-end security association between the sending party and the receiving party of the media information to encrypt the media information between them, without any need for the KMS to store the media key; at the same time, the security association is also established between the sending party and the mailbox server of the receiving party, and between the mailbox server of the receiving party and the receiving party, to perform an integrity protection and a mutual authentication between them, thus the security transmission of the IMS delay media information can be realized.
Number | Date | Country | Kind |
---|---|---|---|
200910151034.X | Jun 2009 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2010/071185 | 3/22/2010 | WO | 00 | 9/23/2011 |