新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> XML与数字内容安全(DRM,XrML,RDD, MPEG-21, XACML), XML传输的安全, 基于XML的签名,基于XML的加密
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - 高级XML应用『 XML安全 』 → 在运行 apache xml security包里的加密例子时遇到如下问题 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 6702 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 在运行 apache xml security包里的加密例子时遇到如下问题 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     sunrisefe 美女呀,离线,快来找我吧!
      
      
      等级:大二(研究汇编)
      文章:63
      积分:271
      门派:GOOGLEBBS.NET
      注册:2004/9/2

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给sunrisefe发送一个短消息 把sunrisefe加入好友 查看sunrisefe的个人资料 搜索sunrisefe在『 XML安全 』的所有贴子 点击这里发送电邮给sunrisefe  引用回复这个贴子 回复这个贴子 查看sunrisefe的博客楼主
    发贴心情 在运行 apache xml security包里的加密例子时遇到如下问题

    when i run the  \xml-security-bin-1_2_1\xml-security-1_2_1\src_samples\org\apache\xml\security\samples\encryption\Encrypter.java error occured:  
    **************************************the error as follows*************************************************
    org.apache.xml.security.encryption.XMLEncryptionException: Cannot find any provider supporting DESedeWrap Original Exception was java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESedeWrap
     at org.apache.xml.security.encryption.XMLCipher.getInstance(Unknown Source)
     at src.Encrypter.main(Encrypter.java:183)
    java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESedeWrap
     at javax.crypto.Cipher.getInstance(DashoA6275)
     at org.apache.xml.security.encryption.XMLCipher.getInstance(Unknown Source)
     at src.Encrypter.main(Encrypter.java:183)
    Exception in thread "main"
    *************************************the error end****************************************

    so dear all friends,can you tell me the exact reason? thank you in advance!


       收藏   分享  
    顶(0)
      




    ----------------------------------------------
    A man who has the knowledge but lacks the power to clearly express himself is no better off than if he had never any idea at all.

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2006/3/1 17:29:00
     
     sunrisefe 美女呀,离线,快来找我吧!
      
      
      等级:大二(研究汇编)
      文章:63
      积分:271
      门派:GOOGLEBBS.NET
      注册:2004/9/2

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给sunrisefe发送一个短消息 把sunrisefe加入好友 查看sunrisefe的个人资料 搜索sunrisefe在『 XML安全 』的所有贴子 点击这里发送电邮给sunrisefe  引用回复这个贴子 回复这个贴子 查看sunrisefe的博客2
    发贴心情 
    关注ING

    ----------------------------------------------
    A man who has the knowledge but lacks the power to clearly express himself is no better off than if he had never any idea at all.

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2006/3/3 8:37:00
     
     sunrisefe 美女呀,离线,快来找我吧!
      
      
      等级:大二(研究汇编)
      文章:63
      积分:271
      门派:GOOGLEBBS.NET
      注册:2004/9/2

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给sunrisefe发送一个短消息 把sunrisefe加入好友 查看sunrisefe的个人资料 搜索sunrisefe在『 XML安全 』的所有贴子 点击这里发送电邮给sunrisefe  引用回复这个贴子 回复这个贴子 查看sunrisefe的博客3
    发贴心情 
    自己来回答。答案如下:
    我用的是xml-security-bin-1_2_1, JDK刚开始用的是1.42的,找了半天才发现可能是版本的问题,结果我把JDK的版本换成1.40后就没有报那样的错误了。 谢谢大家

    ----------------------------------------------
    A man who has the knowledge but lacks the power to clearly express himself is no better off than if he had never any idea at all.

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2006/3/3 11:24:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML安全 』的所有贴子 点击这里发送电邮给Google AdSense  访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/4/30 18:19:28

    本主题贴数3,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    78.125ms