主权项 |
1. A method for establishing a wireless connection, the method comprising:
receiving a selection of a network using a first name broadcast by a wireless access point; obtaining, by a processor unit, a digital certificate having a second name from the wireless access point; determining, by the processor unit, whether the digital certificate is valid; determining, by the processor unit, whether the second name in the digital certificate matches the first name broadcast by the wireless access point; and responsive to the digital certificate being valid and the second name in the digital certificate matching the first name broadcast by the wireless access point, establishing, by the processor unit, the wireless connection to the wireless access point, wherein the step of establishing, by the processor unit, the wireless connection to the wireless access point comprises: generating, by the processor unit, a session key for the wireless connection using the digital certificate responsive to the digital certificate being valid and the second name in the digital certificate matching the first name broadcast by the wireless access point; and exchanging, by the processor unit, information with a server using the session key to encrypt and decrypt the information. |