Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java Security  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 我用jbuilder开发加密程序,为什么加密的函数都不能用呢?
snowting





发贴: 15
积分: 0
于 2004-10-19 17:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
JCE中包括了许多加密的函数,为什么我用JBUILDER编程都不能用呢?我应该怎么办呢?完全没办法工作。请高手给予指导。急!!!


作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
kavinwang

现实版流氓兔

版主


发贴: 529
积分: 38
于 2004-10-19 22:10 user profilesend a private message to usersend email to kavinwangsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
怎么可能?说详细点!


作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
snowting





发贴: 15
积分: 0
于 2004-10-20 09:01 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我用的开发工具是jbuilder9.0+jboss,我引用了import java.security.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import java.io.*;
但我却完全不能使用加密的库函数如JCE中的加密类,使用就会报错(如:unreported exception java.security.NoSuchAlgorithmException;must be caught or declared to the thrown at line 34)。
我不知是哪出了问题特向你求教。这一关过不了,我完全没法继续我的程序。
现在非常苦恼。如果知道,请赐教,非常感谢!



作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
kavinwang

现实版流氓兔

版主


发贴: 529
积分: 38
于 2004-10-20 13:18 user profilesend a private message to usersend email to kavinwangsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你怎么多处发同一个内容的帖子呀,这样不好。


作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
snowting





发贴: 15
积分: 0
于 2004-10-20 16:16 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
没办法,急需答案。我的程序完全没办法继续。着急中……


作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
menzy



版主


发贴: 754
积分: 113
于 2004-10-21 08:39 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
注意:


unreported exception java.security.NoSuchAlgorithmException;must be caught or declared to the thrown at line 34

表示你的问题不在于spi,而在于你没有用try...catch捕获runtime exception



作者 Re:我用jbuilder开发加密程序,为什么加密的函数都不能用呢? [Re:snowting]
snowting





发贴: 15
积分: 0
于 2004-10-21 09:10 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常感谢!



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923