主权项 |
1. A method for negotiating encryption information, comprising:
a Telephony Control Point, TCP, obtaining information about encryption capabilities of a first device and information about encryption capabilities of a second device; the TCP determining encryption information applicable to the first device and the second device according to the information about encryption capabilities of the first device and the information about encryption capabilities of the second device; and the TCP sending the encryption information to the first device and the second device, wherein the encryption information serves as a basis for encrypting and/or decrypting data streams between the first device and the second device; wherein the first device is a Telephony Client, TC and the second device is a Telephony Server, TS; or the first device is a TS and the second device is a TC; and the TCP is authorized by the TC and the TS; the encryption information comprises an encryption algorithm and a key; and the encryption algorithm and the key serve as a basis for a sender of a data stream to encrypt the data stream to be sent, and serve as a basis for a receiver of the data stream to decrypt the received data stream, wherein the sender is the first device and the receiver is the second device, or the sender is the second device and the receiver is the first device. |