一种认证方法、系统、客户端设备和服务器技术方案

技术编号:4172666 阅读:267 留言:0更新日期:2012-04-11 18:40
本发明专利技术公开了一种认证方法、系统、客户端设备和服务器,属于通信领域。所述方法包括:第二通信方接收第一通信方的连接请求,将自身的公钥发送给所述第一通信方;接收所述第一通信方发送的用户信息,所述用户信息包括所述第一通信方根据与所述第二通信方的共享秘密和所述公钥生成的第一认证信息;在本地查找预存的所述第一通信方的共享秘密,根据所述共享秘密和自身的公钥生成第二认证信息;判断所述第二认证信息和所述第一认证信息是否一致,如果是,确认所述第一通信方合法。所述系统包括:第一通信方和第二通信方。本发明专利技术通过比较认证信息能够确认第一通信方的身份是否合法,有效地防御中间人攻击。

Authentication method, system, client device and server

The invention discloses an authentication method, a system, a client device and a server, belonging to the field of communication. The method includes: receiving a first communication second communication connection request, sends the public key to the first communication side; receiving the first communication send the user information, the user information comprises a first communication based on the first authentication information and the second party secret sharing and communication the public key generation; secret sharing in local search stored in the first communication side, according to the second generation public key authentication information sharing secret and their own judgment; the second authentication information and the first authentication information is consistent, if it is confirmed, the first communication side legitimate. The system comprises a first communication side and a second communication party. By comparing authentication information, the invention can confirm whether the identity of the first communication party is legitimate and effectively defend the middleman attack.

【技术实现步骤摘要】

【技术保护点】
一种认证方法,其特征在于,所述方法包括:    第二通信方接收第一通信方的连接请求,将自身的公钥发送给所述第一通信方;    接收所述第一通信方发送的用户信息,所述用户信息包括所述第一通信方根据与所述第二通信方的共享秘密和所述公钥生成的第一认证信息;    在本地获取与所述第一通信方的共享秘密,根据与所述第一通信方的共享秘密和自身的公钥生成第二认证信息;    判断所述第二认证信息和所述第一认证信息是否一致,如果是,确认所述第一通信方合法。

【技术特征摘要】

【专利技术属性】
技术研发人员:任亮
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:94[中国|深圳]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1