摘要 |
Provided are a method and apparatus for achieving encrypted communications, which are used for achieving a secure session between a calling UE and a called UE in an IP multimedia subsystem (IMS) architecture, so as to prevent a session message from being eavesdropped in a session process. The method of the present invention comprises: receiving, by a network-side device, first authentication information sent by a UE, and according to the first authentication information, conducting authentication on an encrypted module of the UE; generating a transmission key corresponding to the UE and second authentication information, encrypting the transmission key using an initial key corresponding to the UE, and sending the second authentication information and the encrypted transmission key to the UE; and generating a session key for encrypting a session message transmitted between a calling UE and a called UE, encrypting the session key using the transmission key corresponding to a calling UE and sending the encrypted session key to the calling UE, and encrypting the session key using the transmission key corresponding to the called UE and sending the encrypted session key to the called UE. |