文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.