文件名称:11

  • 所属分类:
  • 加密解密
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 70kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 熊**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

完成基于公钥证书的非对称密钥分配工作

说明:

(1)作为通讯的双方A和B,都有一个共同信赖的第三方CA,由CA为每个人生成公钥证书和相应的私钥并分发给A、B。

(2)A和B分别将自己的公钥证书提供给对方后,分别在本地验证对方公钥证书是否可靠(假定A、B已经获得CA的公钥),然后A用B的公钥加密一个数据X(整型,可自己定义,比如100)并发送给B,B用自己的私钥解密后得到数据X,然后按协商好的函数F(比如F(X)=2*X)计算得到F(X),再利用A的公钥加密后发送给A;A在本地用自己的私钥解密后得到F(x),在同本地计算得到的F(X)进行对比,如果一致,说明公钥分配成功。

(3)A用B的公钥对一图象文件(test_pig.bmp)进行加密并发送给B,B收到后解密,对比原图象看是否一致,并记录整个加密/解密的所用时间T1;-Complete the asymmetric public key certificate-based key distribution work

Descr iption:

(1) as the communication of both A and B, have a common trusted third party CA, the CA generates a public key certificate for each person and the corresponding private key and distributed to A, B.

(2) A and B respectively to provide their own public key certificates to each other both in the local verify the reliability of each other s public key certificate (assuming A, B has received CA s public key), then A with B s public key encryption 1 the data X (integer, can be their own definition, such as 100) and send it to B, B with their own private key decrypted by the data X, and then consult a good function by F (eg F (X) = 2* X) calculated F (X), then encrypted using A s public key sent to A A locally with their own private key to decrypt obtained F (x), calculated with the local F (X) are compared, if the same descr iption Successful public-key distribution.

(3) A with B s public key on an
相关搜索: send
private
key
证书

(系统自动生成,下载前可以参看下载内容)

下载文件列表

公钥证书的非对称密钥分配\.project

........................\.classpath

........................\CAServer.java

........................\MyCertificate.java

........................\ObjectTransformUtil.java

........................\User.java

........................\ClientJFrame.java

........................\Secure.java

........................\RSAUtil.java

........................\test-1.txt

........................\encrypt_result.dat

........................\decrypt_result.html

........................\encrypt_prikeymsg_ca.txt

........................\encrypt_prikeymsg_client.txt

........................\prikeymsg_ca.txt

........................\prikeymsg_client.txt

........................\prikeymsg_ca_object.txt

........................\ClientJFrameB.java

........................\ImagePanel.java

........................\test_pig.png

........................\image.txt

........................\image1.txt

........................\TypeTransform.java

........................\TypeTransform.class

........................\Secure.class

........................\RSAUtil.class

........................\ObjectTransformUtil.class

........................\MyCertificate.class

........................\ImagePanel.class

........................\ClientJFrameB$3.class

........................\ClientJFrameB$2.class

........................\ClientJFrameB$User.class

........................\ClientJFrameB$1.class

........................\ClientJFrameB.class

........................\ClientJFrameB$User$UserCommunicating.class

........................\ClientJFrameB$Communicate.class

........................\ClientJFrame$3.class

........................\ClientJFrame$User$UserCommunicating.class

........................\ClientJFrame.class

........................\ClientJFrame$2.class

........................\ClientJFrame$1.class

........................\ClientJFrame$Communicate.class

........................\ClientJFrame$User.class

........................\CAServer.class

........................\CAServer$CAServerUtil.class

........................\CAServer$1.class

........................\CAServer$2.class

........................\CAServer$CAThread.class

公钥证书的非对称密钥分配

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org