5543eb9de8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824563 13f79535-47bb-0310-9956-ffa450edef68
56 lines
2.2 KiB
XML
Executable File
56 lines
2.2 KiB
XML
Executable File
<?xml version='1.0'?>
|
|
<!DOCTYPE Signature SYSTEM "xmldsig-core-schema.dtd" [
|
|
<!ENTITY dsig "http://www.w3.org/2000/09/xmldsig#">
|
|
<!ENTITY % SignatureProperty.ANY '| ts:timestamp'>
|
|
<!ELEMENT ts:timestamp (#PCDATA)>
|
|
<!ATTLIST ts:timestamp
|
|
xmlns:ts CDATA #FIXED 'http://www.example.org/rfc/rfcxxxx.txt'>
|
|
<!ATTLIST Signature
|
|
xmlns:xsi CDATA #FIXED 'http://www.w3.org/2001/XMLSchema-instance'
|
|
xsi:schemaLocation CDATA #REQUIRED>
|
|
]>
|
|
<Signature Id="MyFirstSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.w3.org/2000/09/xmldsig#
|
|
xmldsig-core-schema.xsd">
|
|
<SignedInfo>
|
|
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/WD-xml-c14n-20000710">
|
|
</CanonicalizationMethod>
|
|
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa">
|
|
</SignatureMethod>
|
|
<Reference URI="http://www.w3.org/TR/xml-stylesheet/">
|
|
<Transforms>
|
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>
|
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#null"/>
|
|
</Transforms>
|
|
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
|
|
</DigestMethod>
|
|
<DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue>
|
|
</Reference>
|
|
<Reference URI="http://www.w3.org/TR/REC-xml-names/">
|
|
<Transforms>
|
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>
|
|
</Transforms>
|
|
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
|
|
</DigestMethod>
|
|
<DigestValue>UrXLDLBIta6skoV5/A8Q38GEw44=</DigestValue>
|
|
</Reference>
|
|
</SignedInfo>
|
|
<SignatureValue>MC0CFFrVLtRlkMc3Daon4BqqnkhCOlEaAhUAk8pH1iRNK+q1I+sisDTz2TFEALE=</SignatureValue>
|
|
<KeyInfo>
|
|
<KeyValue>
|
|
<DSAKeyValue>
|
|
<P>...</P><Q>...</Q><G>...</G><Y>...</Y>
|
|
</DSAKeyValue>
|
|
</KeyValue>
|
|
</KeyInfo>
|
|
<Object>
|
|
<SignatureProperties>
|
|
<SignatureProperty Target="#MyFirstSignature">
|
|
<ts:timestamp xmlns:ts="http://www.example.org/rfc/rfcxxxx.txt">
|
|
this is a test of the mixed content model</ts:timestamp>
|
|
</SignatureProperty>
|
|
</SignatureProperties>
|
|
</Object>
|
|
</Signature>
|