文件名称:Java.III.DataSigning
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Java allows configuring multiple JCE providers, and looks up requested algorithms by name. This example shows generating RSA signatures with variable digests, and verification of the signed text by the means of RSA public key.
An explanation of the example:
1. Class DataSigning reads the specified file, and creates its digest
2. A unique RSA key pair is created, and the public key is stored with ".key" extension
3. The digest of the text file is signed with the private key
4. During verification, the previously stored public key is retrieved from the file
5. The signature is read from the file
6. The signature is checked, using the public key and newly computed digest of the text
An explanation of the example:
1. Class DataSigning reads the specified file, and creates its digest
2. A unique RSA key pair is created, and the public key is stored with ".key" extension
3. The digest of the text file is signed with the private key
4. During verification, the previously stored public key is retrieved from the file
5. The signature is read from the file
6. The signature is checked, using the public key and newly computed digest of the text
相关搜索: JCE
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DataSigning.java
execute.bat
InvalidSignatureException.java
Java.III.DataSigning.txt
execute.bat
InvalidSignatureException.java
Java.III.DataSigning.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
