PKCS #7(加密消息语法标准) 格式允许将证书及证书路径中的所有证书从一台计算机传输到另一台计算机或可移动媒体。PKCS #7 文件通常使用 .p7b 扩展且与 ITU-T X.509 标准兼容。PKCS #7 允许一些属性(例如,反签名)与签名相关,而一些属性(例如,签名时间)可与消息内容一起验证。
JAR规范: http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html,其中关于.RSA,.DSA文件的描述:
Digital Signatures
A digital signature is a signed version of the .SF signature file. These are binary files not intended to be interpreted by humans.
Digital signature files have the same filenames as the .SF files but different extensions. The extension varies depending on the type of digital signature.
.RSA (PKCS7 signature, MD5 + RSA) .DSA (PKCS7 signature, DSA)
可以看到,JAR标准使用了PKCS #7存储加密消息.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17131144/viewspace-592240/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/17131144/viewspace-592240/