首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(1) | 引用(0) | 阅读1116次
200803100 PKCS cer 证书

200803100 PKCS cer 证书
http://www.shengfang.org

PKCS 全称是 Public-Key Cryptography Standards ,是由 RSA 实验室与其它安全系统开发商为促进公钥密码的发展而制订的一系列标准,PKCS 目前共发布过 15 个标准。常用的有:
           PKCS#7 Cryptographic Message Syntax Standard
           PKCS#10 Certification Request Standard
           PKCS#12 Personal Information Exchange Syntax Standard
 
X.509是常见通用的证书格式。所有的证书都符合为Public Key Infrastructure (PKI) 制定的 ITU-T X509 国际标准。
 
PKCS#7 常用的后缀是: .P7B .P7C .SPC
PKCS#12 常用的后缀有: .P12 .PFX
X.509 DER 编码(ASCII)的后缀是: .DER .CER .CRT
X.509 PAM 编码(Base64)的后缀是: .PEM .CER .CRT

在OpenSSL的工具集中,一般可以使用 -outform -inform 指定 DER 还是 PAM 格式。例如:
openssl x509 -in Cert.pem -inform PEM -out cert.der -outform DER
 
OpenSSL 中 PEM 到 PKCS#12 的转换,参考命令:
openssl pkcs12 -export -in Cert.pem -out Cert.p12 -inkey key.pem
 
OpenSSL 中 PKCS#12 到 PEM 的转换,可参考:
openssl pkcs12 -in Cert.p12 -out Key.pem
openssl x509 -in Key.pem -text -out Cert.pem


http://blog.csdn.net/tsimgsong/archive/2007/12/19/1954404.aspx
http://zxjgoodboy.blog.sohu.com/71003540.html
cer后缀的证书文件有两种编码-->DER二进制编码或者BASE64编码(也就是.pem)

p7b一般是证书链,里面包括1到多个证书
pfx是指以pkcs#12格式存储的证书和相应私钥。

在Security编程中,有几种典型的密码交换信息文件格式:
DER-encoded certificate: .cer, .crt
PEM-encoded message: .pem
PKCS#12 Personal Information Exchange: .pfx, .p12
PKCS#10 Certification Request: .p10
PKCS#7 cert request response: .p7r
PKCS#7 binary message: .p7b

.cer/.crt是用于存放证书,它是2进制形式存放的,不含私钥。
.pem跟crt/cer的区别是它以Ascii来表示。
pfx/p12用于存放个人证书/私钥,他通常包含保护密码,2进制方式
p10是证书请求
p7r是CA对证书请求的回复,只用于导入
p7b以树状展示证书链(certificate chain),同时也支持单个证书,不含私钥。

http://5233studio.bokee.com/3264715.html
openssl之pkcs7之3 signed-data内容类型的编码解码- -
signed内容类型由任意类型的内容和数字签名组成。任何类型的内容能够同时被任意数量的签名者签名。

签名数据的产生过程有如下几步:

1. 对于每一个签名者,他用消息摘要算法计算出摘要值 。

2. 对于每一个签名者,消息摘要和相关的信息用自己的私钥加密。

3. 对于每一个签名者,把加密的消息摘要和其他的签名者特定信息放入signer_info值中。每个 签名者的证书、crl等也在这一步被收集进来。

4. 把所有签名者的信息摘要算法、他们的signer_info值和内容一起放进sign值中。

http://msdn.microsoft.com/msdnmag/issues/07/03/NETSecurity/default.aspx?loc=zx/&print=true
運用 .NET Framework 2.0 在應用程式中支援憑證

http://msdn2.microsoft.com/zh-cn/magazine/cc163454.aspx

http://my.donews.com/singingsilence/category/web-service/

http://xmlrpc-c.sourceforge.net/doc/

http://www.xml-rpc.net/
XML-RPC.NET

http://www.cnblogs.com/Dah/archive/2007/04/02/697312.html
给自己的Blog程序添加对Windows Live Writer的支持

http://hi.baidu.com/%D6%D3%B2%FD%CA%D9/blog/item/d4ce25a49a64c0f69052eeaa.html
SOAP的我的理解就是http+xml,http是传输协议rpc,而xml就是传输的内容采用xml格式.
SOAP有一个服务定义文件就是wsdl文件,wsdl文件定义了服务是什么,怎样调用服务,服务位置.

http://topic.csdn.net/t/20030120/10/1374935.html
¥¥¥¥求C语言书写的HTTP报头结构¥¥¥

http://www.genivia.com/Products/gsoap/tutorialmain.html
How to develop a SOAP/XML Web Service with gSOAP

xmlrpc-c的编译

下载xmlrpc-c-1.03.06,用winzip解压,
 进入windows目录,修改transport_config_win32.h(改为使用curl)
 运行windows\ConfigureWin32.bat
 用vc打开xmlrpc.dsw,将xmlrpc_curl_transport.c 移出工程,然后再加入工程(vc6' bug)
 修改第669行为:
 pthread_create(threadP, NULL, (pthread_func)threadRoutine, (void*)rpcP);
 修改773行为:
 createThread(envP,(void * (*)(void *)) &doAsyncRpc, rpcP, &rpcP->thread);

 http://hi.baidu.com/ccnupq/blog/item/512347a91fe04dff1f17a255.html
 linux下的socket通信(TCP)

 http://hi.baidu.com/citygala%5Ftec/blog/item/36bcc45044e54360853524ca.html
 详细介绍如何使用gSoap开发WEB服务C/C++客户端

http://hi.baidu.com/deityz/blog/item/3f332ad9875289ed38012f22.html
 gsoap中文文档(转)

http://www.linux.com/base/ldp/howto/XML-RPC-HOWTO/xmlrpc-howto-ruby.html
12. Using XML-RPC with Ruby

http://www.linux.org/docs/ldp/howto/XML-RPC-HOWTO/xmlrpc-howto-c.html
8. Using XML-RPC with C and C++

http://blog.21ic.com/more.asp?name=good02xaut&id=9178
Build uClibc for ARM

http://fjt2001.spaces.live.com/blog/cns!47866A8E6DFA4189!112.entry
uClibc.config

http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/docs/uclibc.org/FAQ.html?rev=7450
 uClibc Frequently Asked Questions (FAQ)

 It might be worth having a look at ICE from http://www.zeroc.com/.


There is both a GPL and a proprietary license available. It is cross platform and there is an embedded version available.

I am currently working on a project which uses soap, and it works quit well, but it is pretty big

-rwxr-xr-x    1 root     root       579412 Mar 10 04:37 XXXXX

Plus it needs expat, and ssl:

# ls -l libexpat.so.0.5.0 libssl.so.0 libcrypto.so.0
-rwxr-xr-x    1 root     root      1001728 Mar 10 04:37 libcrypto.so.0

-rwxr-xr-x 1 root root 111884 Mar 10 04:37 libexpat.so. 0.5.0

-rwxr-xr-x    1 root     root       185336 Mar 10 04:37 libssl.so.0

This is on an arm platform with mmu, so using shared libraries is easy.

http://www.ucdot.org/article.pl?sid=05/09/15/2322255&mode=thread
uClinux and C++ on m68k

http://szricky.blog.hexun.com/5590998_d.html
如何获得uClinux的交叉编译工具 

http://hri.sourceforge.net/tools/arm-elf-gcc.html
Cross-compiler Environment for Linux

http://www.ipodlinux.org/Toolchain

http://www.360doc.com/showWeb/0/0/872364.aspx
ViewML交叉编译
ViewML : Open source web browser for embedded linux system

http://www.moon-soft.com/doc/42153.htm
Arm-elf编译工具链的编译及Minigui

http://www.mail-archive.com/uclinux-dev at uclinux dot org/msg00284.html
Compiling problems with STLport 5.0 in uClinux dist 200060803

  
Simple HTTP Client without 'libcurl' or 'libwww'
http://www.ucdot.org/articles/07/09/11/0411252.shtml

http://www.vlight.org/bbs/printthread.php?f=5&t=284
 使用gsoap 用c++编写linux下的webservice客户端程序

 http://www.ckacka.com/wordpress/?p=4
 构建从x86到ARM的交叉编译工具链

 http://www.cnblogs.com/Jingu-st/archive/2006/03/23/356677.html
 介绍委托和事件

 http://www.cnblogs.com/xiaomi7732/archive/2008/01/01/1022083.html
 DAAB中,通过Oracle存储过程返回数据集

 http://www.cnblogs.com/birdshover/archive/2008/01/18/1043749.html
 ASP.Net MVC框架配置与分析



字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/200803100PKCScer.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1228632164

2008年12月7日14:42星期日  [Info资料] 追踪此文的RSS
sleepingwit在 2008年6月23日14:46星期一 评论:
实在是太感谢了

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1887
在线: 15||用户: 2579 [列表]
今日:631||到访:2931349
Rss:||评论:1609

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8