清单2 表示对清单1中modifyRequest和addRequest子元素进行加密的结果
<batchRequest xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="urn:oasis:names:tc:DSML:2:0:core">
<EncryptedData Type=”http://www.w3.org/2001/04/xmlenc#Element”
xmlns=” http://www.w3.org/2001/04/xmlenc”>
<CipherData><CipherValue>C86B12D79</CipherValue></CipherData>
</EncryptedData>
<delRequest dn="CN=Lisi,OU=HR,DC=Testdomain,DC=Com">
<control>...</control>
<control>...</control>
</delRequest>
<searchRequest>
<control>...</control>
...
</searchRequest>
</batchRequest>
清单3为对清单1中batchRequest元素进行加密的结果。
<EncryptedData xmlns=” http://www.w3.org/2001/04/xmlenc”>
Type=”http://www.isi.edu/in-notes/iana/assignments/media-types/text/xml”
<CipherData><CipherValue>C86B12D79</CipherValue></CipherData>
</EncryptedData>
清单4为对清单1中batchRequest元素进行签名的结果。
<Signature xmlns=”http://www.w3.org/2000/09/xmldsig#”>
<SignedInfo>
<CanonicalizationMethod Algorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315”/>
<SignatureMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#dsa-sha1”/>
<Reference URI=”#batchRequest”>
<Transforms>
<Transform Algorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315”/>
</Transforms>
<DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1”/>
<DigestValue>p26wx3rvEP00vKtMup4NcdUv5jil=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>MC0CFFrVLtRlk=…</ SignatureValue>
<KeyInfo>
<KeyValue>
<DSAKeyValue>
<p>…</p><Q>…</Q><G>…</G><Y>…</Y>
< /DSAKeyValue>
</KeyValue>
</KeyInfo>
<object>
<SignatureProperties>
<SignatureProperty Id="AMadeUpTimeStamp" >
<timestamp xmlns="http://www.ietf.org/rfc1889.txt";>
<date>20020305</date>
<time>12:55:34:34</time>
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说计算机DSML及其加密与签名(3)在线全文阅读。