package com.security.rsa; import java.security.Key;import java.security.KeyFactory;import java.security.KeyPair;import java.security.KeyPairGenerator;...
分类:
编程语言 时间:
2014-11-01 17:45:11
阅读次数:
213
WCF Security 主要包括 "Transfer Security"、"Access Control"、"Auditing" 几个部分。 1. Transfer SecurityTransfer Security 主要包括三个方面: "消息完整性(Message Integrity)"、"消息...
分类:
其他好文 时间:
2014-10-31 23:39:42
阅读次数:
315
可能遇到的问题: 错误: java.security.cert.CertificateException: No name matching localhost found 原因: keystore里没有名字为localhost的信息 解决方法: 使用keytool创建public-private ...
分类:
其他好文 时间:
2014-10-31 18:44:24
阅读次数:
182
"鉴于SSL 3.0最新发现的漏洞,为了保护用户,APNS决定在下周三也就是10月29号起开始停止对SSL 3.0的支持。所有仅支持SSL 3.0的推送服务需要更换为TLS以确保推送服务能够正常运行,同时支持了SSL 3.0和TLS的服务不会受到此次更新的影响。(下午我们公司所有的推送服务立马停止了)...
分类:
移动开发 时间:
2014-10-31 10:16:57
阅读次数:
227
package com.test; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.KeyManagementException; import j...
分类:
Web程序 时间:
2014-10-30 22:51:35
阅读次数:
374
/// /// .net系统的MD5加密方法/// /// /// public string MD5System(string strIN){ return strIN.IsNullOrEmpty() ? "" : System.Web.Security.FormsAuthentication.H...
分类:
Web程序 时间:
2014-10-30 22:17:32
阅读次数:
204
POJ 3654 & ZOJ 2936 & HDU 2723 Electronic Document Security(模拟)...
分类:
其他好文 时间:
2014-10-30 21:00:34
阅读次数:
296
载入类
我们看看之前的文章,这一节就从SimpleWrapper的loadServlet讲起。
SimpleWrapper.java如下(省略了try catch及其他部分代码)
public Servlet loadServlet() throws ServletException {
...
String actualClass = servletClass;...
分类:
其他好文 时间:
2014-10-30 17:16:50
阅读次数:
133
//经过dns查询后的结果会缓存起来,成功结果永久缓存,失败结果会缓存10s,通过下面的方法设置成功和失败的缓存时间 // 0为不缓存,-1为永不过期,其它单位为s Security.setProperty("networkaddress.cache.ttl", "10"); Secur...
分类:
编程语言 时间:
2014-10-30 10:54:37
阅读次数:
207
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; ...
分类:
Web程序 时间:
2014-10-29 16:10:40
阅读次数:
146