﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-心无尘土-随笔分类-DRM, 网络安全，security</title><link>http://www.cnitblog.com/Yama/category/2100.html</link><description>一段平凡的日子，一段流逝的岁月</description><language>zh-cn</language><lastBuildDate>Fri, 30 Sep 2011 00:01:30 GMT</lastBuildDate><pubDate>Fri, 30 Sep 2011 00:01:30 GMT</pubDate><ttl>60</ttl><item><title>DRM(SuperDistribution)探究之三：如何通过可移动存储设备来进行MIDlet suites的超分  </title><link>http://www.cnitblog.com/Yama/archive/2006/10/19/18118.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Thu, 19 Oct 2006 02:02:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/10/19/18118.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/18118.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/10/19/18118.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/18118.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/18118.html</trackback:ping><description><![CDATA[1.机制<br />    Between two devices a MIDlet suite(as a MIDlet message or a DCF file) is <b>saved to</b> and then <b>read from</b> the RMSD.<br /><br />2.流程<br />①The user of the sending device selects the suite to be placed on the RMSD<br />②The device makes a decision on the format to be used for superdistribution<br />③The suite is placed to the RMSD(as a MIDlet Message or as a DCF file)<br />④The user of the sending device passes the RMSD to the user of the receiving device<br />⑤The user of the receiving device inserts the RMSD into the device and <b>uses the device UI access the suite</b>(as a MIDlet Message or as a DCF file)<br />⑥The suite is installed on the receiving device<br /><img src ="http://www.cnitblog.com/Yama/aggbug/18118.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-10-19 10:02 <a href="http://www.cnitblog.com/Yama/archive/2006/10/19/18118.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM(SuperDistribution)探究之二：超分的发送与接受</title><link>http://www.cnitblog.com/Yama/archive/2006/10/17/18064.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Tue, 17 Oct 2006 09:01:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/10/17/18064.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/18064.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/10/17/18064.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/18064.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/18064.html</trackback:ping><description><![CDATA[1.超分的对象<br />  OMA Superdistribution is allowed only for the content that was deliverd using OMA separate delivery method unless the DCF containing the jar file was received in a DRM message without rights.也就是说只有一般的separate才可以支持超分，而特殊的Forword-lock的separate不支持。<br /><br />2.发送过程<br />    ①Presence of the JAD file is checked.<br />    ②If the JAD file is present and contains the jar file's digital signature and the device contains the rights object to access the JAR in the DCF, the integrity of the JAR file is checked before sending the suite. if the integrity check fails, the suite is not sent.An error message is shown to the user.问题在于没有rights的话就没有必要管，但是现在有rights的就是安装完成的，必然是正确的，所以是多此一举。还有就是如果错误的话，什么样的错误信息给用户.既然错误了,为什么不删除既有的文件<br />    ③If the JAD file is missing, only t<a href="">.</a>he DCF file with the JAR file inside is sent from the device and wrap to midlet message is ignored.只有DCF没有Jad的话，就不用专门作MIDletMessage，而直接传dcf，如果单独的dcf不被支持的话，可以不用考虑单独传送dcf的情况。但是一般的jadjar也是可以用superdistribution的，所以jad和jar需要作成特殊的midletmessage,用jar代替dcf.还有一般的单独jar,是不是就是传送单独的jar文件了。<br />    ④JAD and DCF are placed to the container JAR file.Plain structure is used, the JAD and DCF are placed to in the root of the container JAR file(no folders). Three manifest attribute are placed to the manifest of the container Jar file.  <br />    ⑤The name of container JAR file is the value of MIDlet-Name attribute in the JAD file. The extension is jar<br />    ⑥A superdistributed MIDlet suite may not work on the other device due to multiple reasons.Therefore, the user of the sending device has to be notified about this risk.This is done by displaying an appropriate prompt before sending of a suite.  简单的说，就是超分的时候需要开始时候给用户提示信息。加个确认对话框的说<br />    ⑦通过蓝牙或者红外等技术超分的时候，如果对方不支持接受MIDletsuites的话有必要在发送端给用户错误信息的提示。<br /><br />3.接受过程<br />    ①支持的类型MIDlet Message和DCF file with the only JAR file inside.<br />    ②安装：The user has a possibility to install a MIDlet suite contained in the received DCF file or MIDlet message.<br />    ③In here, suite installation is understood as a process resulting in ability of the user to run MIDlets from the suite.This process includes MIDP verifications, possible acquisition of rights,etc, <b>MIDP installation status reporting and deletion notification are not done for Surperdistribution suites</b>.这部分<br />感觉也很怪，毕竟作为安装来说不发送安装报告是违反midp2.0文档的，同时现在从菜单来取得权力的安装和这种非常类似，如果该安装不用发送状态报告的话，getrights是不是也不用发送呢？？疑惑！！！！<br /><br /><br /><br /><br /><br /><br /><br /><img src ="http://www.cnitblog.com/Yama/aggbug/18064.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-10-17 17:01 <a href="http://www.cnitblog.com/Yama/archive/2006/10/17/18064.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM(SuperDistribution)探究之一：MIDlet Message</title><link>http://www.cnitblog.com/Yama/archive/2006/10/16/18032.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Mon, 16 Oct 2006 08:00:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/10/16/18032.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/18032.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/10/16/18032.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/18032.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/18032.html</trackback:ping><description><![CDATA[
		<br />    MIDlet Message是超分（SuperDistribution）中间出现的最重要的概念之一。它定义了MIDlet suites在超分时候的传输格式。<br />    1.在OMA的Implementation Best Practices for OMA DRM v1.0 protected MIDlets的文档5.3章里面明确的指出<br />[<b>It is a JAR file that contains a JAD file and a JAR file in the DCF</b>].<br />    2.The container JAR file is created as per the ZIP archive format specification and also the JAR file specification.<b>Compression is not used for container JAR file.</b>也就是说做成无压缩的jar文件，但是zip的格式必须遵循。<br />    3.The container JAR file is always contains <b>exactly one JAD file</b> and <b>exactly one JAR file in the DCF file</b>.<br />    4.The MIME type of the container JAR file is application/java-archive.好像这条对于实装没有什么用。<br />    5.The manifest of the JAR file(named "<b>manifest.mf</b>") is placed to the <b>META-INF</b> directory.值得注意的是用Sun的jar工具作出来的jar都是自动把manifest.mf变成了大写MANIFEST.MF。而OMA的文档里面特别将说明和例子里面的manifest.mf都用的是小写。不知道有何用意。总之，准备用[该部分的作成时候用小写写入，读入文件的时候无论大小写都可以接受]的方案来实现。<br />    6.The manifest file contains the following attributes.<br />        <b>Distribution-Package: x.y(</b>Midlet Message的版本号，对于本文档而言是1.0<b>)<br />      Distribution-Descriptor-Filename: xxx.jad(</b>The name of the jad file with the full path inside the container jar file感觉全路径是废话，因为在message文件里面jad没有上部文件夹<b>)<br />      Distribution-Content-Filename: xxx.dcf(</b>The name of the jar file in the DCF<b>)<br />    </b>7.When creating MIDlet message, JAD and DCF files are placed to the <b>root of the container JAR file</b>, not in any folders.<br />    8.Names of JAD and DCF files inside the MIDletMessage can be obtained from<b>上面的两属性</b><br />    9.The software that deals with unpacking of MIDlet Message should <b>support any order of files</b>.也就是说读取文件的时候不能按顺序解析。需要找寻索引得到文件名，然后对应解析.<br />    10.Note, that t<b>he MIDlet Message format can also be used </b>for forwarding of MIDlet suites that are <b>not OMA DRM protected</b>.(if the device allows so).文件变成manifest,jad,jar的格式？？？<br />    11.<b>Note also, the MIDlet Message format is not intended for delivery of MIDlet suites OTA</b>.也就是说在现行的midp对应的jar直接安装里面要能够分析出来这种情况的文件，而不能导致异常的出现。<br /><br /><br /><img src ="http://www.cnitblog.com/Yama/aggbug/18032.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-10-16 16:00 <a href="http://www.cnitblog.com/Yama/archive/2006/10/16/18032.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM环境搭建</title><link>http://www.cnitblog.com/Yama/archive/2006/04/03/8660.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Mon, 03 Apr 2006 07:19:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/04/03/8660.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/8660.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/04/03/8660.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/8660.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/8660.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/04/03/8660.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/8660.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-04-03 15:19 <a href="http://www.cnitblog.com/Yama/archive/2006/04/03/8660.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM实装前式样问题点二之Combined delivery篇 </title><link>http://www.cnitblog.com/Yama/archive/2006/03/24/8063.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Fri, 24 Mar 2006 11:26:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/24/8063.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/8063.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/24/8063.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/8063.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/8063.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/24/8063.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/8063.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-24 19:26 <a href="http://www.cnitblog.com/Yama/archive/2006/03/24/8063.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM实装前式样问题点一之Forward-lock篇 </title><link>http://www.cnitblog.com/Yama/archive/2006/03/24/8062.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Fri, 24 Mar 2006 11:09:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/24/8062.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/8062.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/24/8062.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/8062.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/8062.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="margin-left: 18pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<b>
						<span style="font-size: 14pt;" lang="EN-US">1．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">           
</span></span>
				</b>
				<!--[endif]-->
				<b>
						<span style="font-size: 14pt;" lang="EN-US">Forward-lock method<o:p></o:p></span>
				</b>
		</p>
		<p class="MsoNormal" style="margin-left: 11.05pt; text-align: left; text-indent: 7.4pt;" align="left">
				<!--[if !supportLists]-->
				<span style="font-family: Symbol;" lang="EN-US">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">        
</span></span>
				<!--[endif]-->
				<span style="" lang="EN-US">Jar file wrapped into the DRM message.(a message
containing a media object and optional rights object)<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="text-align: left; text-indent: 42pt;" align="left">
				<span style="" lang="EN-US">-&gt;<b>MIDlet-Jar-Url</b></span>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">里面指向的是</span>
				</b>
				<span style="" lang="EN-US">DRM
message(Jar)<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 18pt; text-align: left; text-indent: 24pt;" align="left">
				<span style="" lang="EN-US">-&gt;</span>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">对于用户来说下载户过程和没有保护的下载一样</span>
				</b>
				<span style="" lang="EN-US">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 11.05pt; text-align: left; text-indent: 7.4pt;" align="left">
				<!--[if !supportLists]-->
				<span style="font-family: Symbol;" lang="EN-US">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">        
</span></span>
				<!--[endif]-->
				<span style="" lang="EN-US">In case when the JAD file is present / If there is
no JAD file available<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 42pt; text-align: left;" align="left">
				<span style="" lang="EN-US">-&gt;<b>JAD</b></span>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">文件存在的</span>
				</b>
				<b>
						<span style="" lang="EN-US">case<o:p></o:p></span>
				</b>
		</p>
		<p class="MsoNormal" style="margin-left: 81pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<span style="" lang="EN-US">1．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>
				<!--[endif]-->
				<span style="font-family: SimSun;" lang="ZH-CN">通过应用程序下载</span>
				<span style="" lang="EN-US">JAD<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 81pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<span style="" lang="EN-US">2．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>
				<!--[endif]-->
				<span style="font-family: SimSun;" lang="ZH-CN">如果用户愿意下载</span>
				<span style="" lang="EN-US">MIDlet Suite,</span>
				<span style="font-family: SimSun;" lang="ZH-CN">通过</span>
				<span style="" lang="EN-US">MIDlet-Jar-URL</span>
				<span style="font-family: SimSun;" lang="ZH-CN">找到</span>
				<span style="" lang="EN-US">DRM Message</span>
				<span style="font-family: SimSun;" lang="ZH-CN">。</span>
				<span style="" lang="EN-US">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="margin-left: 42pt; text-align: left;" align="left">
				<b>
						<span style="" lang="EN-US">-&gt;</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">没有</span>
				</b>
				<b>
						<span style="" lang="EN-US">JAD</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">文件的</span>
				</b>
				<b>
						<span style="" lang="EN-US">case<o:p></o:p></span>
				</b>
		</p>
		<p class="MsoNormal" style="margin-left: 81pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<span style="" lang="EN-US">1．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>
				<!--[endif]-->
				<span style="font-family: SimSun;" lang="ZH-CN">立刻开始下载</span>
				<span style="" lang="EN-US">DRM Message<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 63pt; text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 42pt; text-align: left;" align="left">
				<b>
						<span style="" lang="EN-US">-&gt;DRM
message</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">：</span>
				</b>
				<b>
						<span style="color: red;" lang="EN-US">application/vnd.oma.drm.message</span>
				</b>
				<b>
						<span style="" lang="EN-US"> MIME type<o:p></o:p></span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 11.05pt; text-align: left; text-indent: 7.4pt;" align="left">
				<!--[if !supportLists]-->
				<span style="font-family: Symbol;" lang="EN-US">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">        
</span></span>
				<!--[endif]-->
				<span style="" lang="EN-US">After download message, the process continues as in
MIDP OTA download<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 42pt; text-align: left;" align="left">
				<span style="" lang="EN-US">-&gt;<b>JAD
file</b></span>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">的</span>
				</b>
				<b>
						<span style="" lang="EN-US">MIDlet-Jar-Size</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">一直是和</span>
				</b>
				<b>
						<span style="" lang="EN-US">JAR file</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">的大小比较，而不是和</span>
				</b>
				<b>
						<span style="" lang="EN-US">DRM message</span>
				</b>
				<b>
						<span style="font-family: SimSun;" lang="ZH-CN">的大小比较。</span>
				</b>
				<span style="font-family: SimSun;" lang="ZH-CN">（取大小的时候不是取下载包大小，而是从</span>
				<span style="" lang="EN-US">message</span>
				<span style="font-family: SimSun;" lang="ZH-CN">中间提出</span>
				<span style="" lang="EN-US">Jar</span>
				<span style="font-family: SimSun;" lang="ZH-CN">后看大小）</span>
				<span style="" lang="EN-US">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 11.05pt; text-align: left; text-indent: 7.4pt;" align="left">
				<!--[if !supportLists]-->
				<span style="font-family: Symbol;" lang="EN-US">·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">        
</span></span>
				<!--[endif]-->
				<span style="" lang="EN-US">MIDP installation status reporting is also done as
normal but need a new code<o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 42pt; text-align: left;" align="left">
				<span style="" lang="EN-US">-&gt;<b>Non-Acceptable
Content 503</b><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 81pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<span style="" lang="EN-US">1．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>
				<!--[endif]-->
				<span style="font-family: SimSun;" lang="ZH-CN">检查取得的</span>
				<span style="" lang="EN-US">DRM message</span>
				<span style="font-family: SimSun;" lang="ZH-CN">的有效性（设备解析不了的时候无效）</span>
				<span style="" lang="EN-US">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="margin-left: 81pt; text-align: left; text-indent: -18pt;" align="left">
				<!--[if !supportLists]-->
				<span style="" lang="EN-US">2．<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>
				<!--[endif]-->
				<span style="font-family: SimSun;" lang="ZH-CN">解析原则参考</span>
				<span style="" lang="EN-US">DRM Content
Format</span>
				<span style="font-family: SimSun;" lang="ZH-CN">（解析函数什么地方？？？）</span>
				<span style="" lang="EN-US">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="margin-left: 18.45pt; text-align: left;" align="left">
				<span style="" lang="EN-US">
						<!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span>
		</p>
<img src ="http://www.cnitblog.com/Yama/aggbug/8062.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-24 19:09 <a href="http://www.cnitblog.com/Yama/archive/2006/03/24/8062.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI 5 CA模式产生背景和基本原理</title><link>http://www.cnitblog.com/Yama/archive/2006/03/21/7920.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Tue, 21 Mar 2006 12:08:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/21/7920.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7920.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/21/7920.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7920.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7920.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 证书就是证明密钥拥有者身份的凭证。<br>而CA就是公开的，可以发行证书的机关。用户也可以从他那里获取你可以信任的证书，还可以知道要作废的证书&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/21/7920.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7920.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-21 20:08 <a href="http://www.cnitblog.com/Yama/archive/2006/03/21/7920.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI temp X509</title><link>http://www.cnitblog.com/Yama/archive/2006/03/20/7829.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Mon, 20 Mar 2006 10:31:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/20/7829.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 要点<br>证书就是为了证明公开钥发行者是真的&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/20/7829.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7829.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-20 18:31 <a href="http://www.cnitblog.com/Yama/archive/2006/03/20/7829.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DRM(Digital Rights Management)</title><link>http://www.cnitblog.com/Yama/archive/2006/03/20/7800.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Mon, 20 Mar 2006 02:36:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/20/7800.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7800.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/20/7800.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7800.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7800.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: DRM的基本概念以及关于DRM在便携式设备（主要指手机）上关于J2ME的MIDP下载部分的DRM实现注意点&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/20/7800.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7800.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-20 10:36 <a href="http://www.cnitblog.com/Yama/archive/2006/03/20/7800.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI 4 数字签名</title><link>http://www.cnitblog.com/Yama/archive/2006/03/17/7719.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Fri, 17 Mar 2006 07:52:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/17/7719.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7719.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/17/7719.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7719.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7719.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 数字签名和认证方面概述<br><br>BTW:<br>有在做关于DRM方面的人么，有兴趣可以探讨一下互相的领域，<br>我最近要做关于手机方面的drm处理，具体来说是关于Implementation Best practices for OMA DRM protected MIDLets.&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/17/7719.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7719.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-17 15:52 <a href="http://www.cnitblog.com/Yama/archive/2006/03/17/7719.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI 3 安全哈希函数</title><link>http://www.cnitblog.com/Yama/archive/2006/03/17/7713.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Fri, 17 Mar 2006 05:41:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/17/7713.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7713.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/17/7713.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7713.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7713.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 欲哭无泪阿，这篇文章我总共写了3次，每次都不小心忘了保存。<br>看来hash函数的确是带着诅咒来到世界，要不然从md4到md5都被人破的光光，号称标准的sha-1也危及四伏<br>我们的世界究竟什么才是安全。电子签名起码看上去不是那么可怕，所以的技术防的是君子而不是小人。<br>也许不久的明天，网络上看到的每一个需要你信息的地方都有人在潜伏着，我们透明的活着&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/17/7713.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7713.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-17 13:41 <a href="http://www.cnitblog.com/Yama/archive/2006/03/17/7713.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI 2 加密算法</title><link>http://www.cnitblog.com/Yama/archive/2006/03/16/7662.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Thu, 16 Mar 2006 03:26:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/16/7662.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7662.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/16/7662.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7662.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7662.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Symmetric cryptography和Public Key Cryptography的概述<br>技术方面的总揽<br>然后以此为基础,探讨数字签名等&nbsp;&nbsp;<a href='http://www.cnitblog.com/Yama/archive/2006/03/16/7662.html'>阅读全文</a><img src ="http://www.cnitblog.com/Yama/aggbug/7662.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-16 11:26 <a href="http://www.cnitblog.com/Yama/archive/2006/03/16/7662.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PKI 1 概要</title><link>http://www.cnitblog.com/Yama/archive/2006/03/15/7645.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Wed, 15 Mar 2006 07:47:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/15/7645.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7645.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/15/7645.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7645.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7645.html</trackback:ping><description><![CDATA[<br>PKI &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Yama于20060315<br>&nbsp;&nbsp;&nbsp; Public Key Infrastructure<br>&nbsp;&nbsp;&nbsp; 公开密钥基础设施<br>&nbsp;&nbsp;&nbsp; 公開鍵基盤<br><br><strong>基础</strong><br>它是公开密钥理论和技术上发展的综合安全平台.<br>1。CA (Certificate Authority) 认证中心<br>&nbsp;&nbsp;&nbsp; 负责产生，分配并且管理数字证书的可信赖的第三方权威机构。<br>&nbsp;&nbsp;&nbsp; 采用分级机构，上级认证中心负责签发和管理下级认证中心的证书，最下一级直接面向最终用户<br><br>2。数字证书<br>&nbsp;&nbsp;&nbsp; 由认证中心发放并且认证中心数字签名的，包含公开密钥拥有者及其相关消息的文件，可以用来证明数字证书持有者的真实身份。<br>&nbsp;&nbsp;&nbsp; 采用公开密钥体制。每个用户自己设定私钥，用它解密和验证数字签名。同时设定公钥并有本人公开，用于加密和验证签名。发送机密文件时，发送方使用接受方的公钥加密，接受方用自己的私钥解密。<br>&nbsp;&nbsp;&nbsp; <br><br><strong>网络的广泛性和开放性,也就决定了它的安全隐患性.<br>常见安全性问题及其解决手段<br></strong>1.盗听　盗聴<br>&nbsp; 解决方法-&gt;网络上流通数据加密<br><br>2.违法访问　不正アクセス<br>&nbsp;&nbsp; 手段<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a.用词典工具对正常用户进行暴力破解<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; b.利用服务器中的安全漏洞<br>&nbsp;&nbsp; 解决方法-&gt;防火墙，及对服务器中重要数据加密保存<br><br>3.伪装 なりすまし<br>&nbsp; 方式<br>&nbsp;&nbsp;&nbsp; &nbsp; a.正规用户情报盗听后，利用得到的认证情报<br>&nbsp; &nbsp;&nbsp;&nbsp; b.假冒电子邮件的发件人名字<br>&nbsp; 解决方法-&gt;加强认证方法，增加数字签名<br><br>4.篡改 改竄<br>&nbsp; 解决方法-&gt;增加数字签名<br>
<br>
5.否认 否認<br>&nbsp; 解决方法-&gt;确认发生在有当事人认证和数字签名的环境<br><br><strong>功能</strong><br>1。暗号化 Encryption 加密<br>2。デジタル署名 Digital Signature 数字签名<br><br><strong>目的</strong><br>1。Confidentiality 守秘性<br>2。Authentication 认证<br>3。Integrity 完整性<br>4。Non-Repudiation 否認防止<br><font face="verdana, arial, helvetica" size="2"><br></font>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Yama于20060315<br> <img src ="http://www.cnitblog.com/Yama/aggbug/7645.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-15 15:47 <a href="http://www.cnitblog.com/Yama/archive/2006/03/15/7645.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SSL入门</title><link>http://www.cnitblog.com/Yama/archive/2006/03/09/7422.html</link><dc:creator>Yama的家</dc:creator><author>Yama的家</author><pubDate>Thu, 09 Mar 2006 07:55:00 GMT</pubDate><guid>http://www.cnitblog.com/Yama/archive/2006/03/09/7422.html</guid><wfw:comment>http://www.cnitblog.com/Yama/comments/7422.html</wfw:comment><comments>http://www.cnitblog.com/Yama/archive/2006/03/09/7422.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/Yama/comments/commentRss/7422.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/Yama/services/trackbacks/7422.html</trackback:ping><description><![CDATA[<STRONG>1</STRONG><BR>SSL(Server Socket Layer)<BR>-&gt;RFC2246标准化：TLS (Transport Layer Security)<BR><BR><STRONG>2</STRONG><BR>简单说SSL就是用不对称加密技术实现会话双方之间信息的安全传递。<BR>建立SSL安全连接使用<A href="https://ip:port/">https://ip:port/</A>的方式，不同于http协议<BR><BR><STRONG>3<BR></STRONG>https安全连接的建立：本地浏览器与Web Server间身份认证及密钥交换的握手过程<BR>&nbsp;&nbsp;&nbsp;1。本地浏览器-〉服务器<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;（SSL版本号，加密设置参数，session有关数据及其他一些必要消息）<BR>&nbsp;&nbsp;&nbsp;2。服务器-〉本地浏览器<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;（SSL版本号，加密设置参数，session有关数据及其他一些必要消息<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;服务器的证书<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果需要用户身份认证，发出要求让本地浏览器提供用户证书）<BR>&nbsp;&nbsp;&nbsp;3。本地<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检查服务器证明书<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;失败：不能建立SSL连接<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;成功：继续<BR>&nbsp;&nbsp;&nbsp;4。本地为会话生成pre-master secret<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本地-〉服务器<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;（用服务器公钥加密的pre-master secret）<BR>&nbsp;&nbsp;&nbsp;5。本地-〉服务器<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;见2最后，如果需要，客户端还要对另外一些数据签名后和客户端证书一起发送给服务器<BR>&nbsp;&nbsp;&nbsp;6。同上，见2最后，如果需要鉴别客户身份。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检查签署客户身份的CA是否可信<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不在信任列表-〉结束本次会话<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检查通过-〉服务器用私钥解密收到的pre-master secret，并通过算法生成本次会话的master&nbsp;secret<BR>&nbsp;&nbsp;&nbsp;7。双方都用该master secret生成本次会话的会话密钥（对称密钥），握手结束后一直用该密钥传递消息<BR>&nbsp;&nbsp;&nbsp;8。客户端-〉服务器<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通知服务器，客户端已完成本次SSL握手<BR>&nbsp;&nbsp;&nbsp;9。服务器-〉客户端<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通知客户端，服务器已完成本次SSL握手<BR>&nbsp;&nbsp;&nbsp;10。会话建立，通话用对称密钥加解密<BR>&nbsp;&nbsp;&nbsp;<img src ="http://www.cnitblog.com/Yama/aggbug/7422.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/Yama/" target="_blank">Yama的家</a> 2006-03-09 15:55 <a href="http://www.cnitblog.com/Yama/archive/2006/03/09/7422.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>