2014年5月30日

利用openssl完成自签发证书步骤--精华版

摘要: #CentOS 7 CA目录 cd /etc/pki/CA #建立 demoCA 目录结构mkdir -p ./demoCA/{private,newcerts}touch ./demoCA/index.txtecho 01 > ./demoCA/serial #生成 CA 的 RSA 密钥对ope 阅读全文

posted @ 2014-05-30 16:18 陈兜兜 阅读(846) 评论(0) 推荐(0)

(备忘)openssl的证书格式转换

摘要: PKCS 全称是Public-KeyCryptography Standards ,是由 RSA 实验室与其它安全系统开发商为促进公钥密码的发展而制订的一系列标准,PKCS 目前共发布过15 个标准。 常用的有:PKCS#7 Cryptographic Message Syntax Standar... 阅读全文

posted @ 2014-05-30 16:09 陈兜兜 阅读(521) 评论(0) 推荐(0)

(备忘)Java数据类型中String、Integer、int相互间的转换

摘要: 1.Integer转换成int的方法Integer i; int k = i.intValue();即Integer.intValue();2.int转换成Integerint i;Integer it = new Integer(i);3.String转换成int的方法String str = "... 阅读全文

posted @ 2014-05-30 16:03 陈兜兜 阅读(193) 评论(0) 推荐(0)

导航