1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.6">
<meta name="Forrest-skin-name" content="pelt">
<title>Java Interoperability</title>
<link type="text/css" href="../skin/basic.css" rel="stylesheet">
<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
<link type="text/css" href="../skin/profile.css" rel="stylesheet">
<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
</head>
<body onload="init()">
<script type="text/javascript">ndeSetTextSize();</script>
<div id="top">
<!--+
|breadtrail
+-->
<div class="breadtrail">
<a href="http://www.apache.org/">apache</a> > <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
</div>
<!--+
|header
+-->
<div class="header">
<!--+
|start group logo
+-->
<div class="grouplogo">
<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a>
</div>
<!--+
|end group logo
+-->
<!--+
|start Project Logo
+-->
<div class="projectlogo">
<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a>
</div>
<!--+
|end Project Logo
+-->
<!--+
|start Search
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">
<input name="Search" value="Search" type="submit">
</form>
</div>
<!--+
|end search
+-->
<!--+
|start Tabs
+-->
<ul id="tabs">
<li>
<a class="base-not-selected" href="../index.html">Home</a>
</li>
<li class="current">
<a class="base-selected" href="../Java/index.html">Java</a>
</li>
<li>
<a class="base-not-selected" href="../c/index.html">C++</a>
</li>
</ul>
<!--+
|end Tabs
+-->
</div>
</div>
<div id="main">
<div id="publishedStrip">
<!--+
|start Subtabs
+-->
<div id="level2tabs"></div>
<!--+
|end Endtabs
+-->
<script type="text/javascript" language="JavaScript"><!--
document.write("Published: " + document.lastModified);
// --></script>
</div>
<!--+
|breadtrail
+-->
<div class="breadtrail">
</div>
<!--+
|start Menu, mainarea
+-->
<!--+
|start Menu
+-->
<div id="menu">
<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div>
<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
<div class="menuitem">
<a title="" href="../Java/index.html">Index</a>
</div>
<div class="menuitem">
<a title="" href="../Java/installation.html">Installation</a>
</div>
<div class="menuitem">
<a title="" href="../Java/examples.html">Examples</a>
</div>
<div class="menuitem">
<a title="" href="../Java/faq.html">FAQs</a>
</div>
<div class="menuitem">
<a title="" href="../Java/api.html">API Docs</a>
</div>
<div class="menupage">
<div class="menupagetitle">Interoperability</div>
</div>
<div class="menuitem">
<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a>
</div>
<div class="menuitem">
<a title="" href="../Java/resolver.html">Resolvermania</a>
</div>
</div>
<div id="credit"></div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
<!--+
|alternative credits
+-->
</div>
<!--+
|end Menu
+-->
<!--+
|start content
+-->
<div id="content">
<div id="skinconf-txtlink"></div>
<h1>Java Interoperability</h1>
<a name="N1000D"></a><a name="Problems"></a>
<h2 class="h3">Problems</h2>
<div class="section">
<p>In Version v1.0.4, there is one test case which fails (interop test
for exclusive c14n). This is related to very esoteric node sets (The Y4
test vector from
<a class="external" href="http://www.w3.org/Signature/2002/02/01-exc-c14n-interop.html">
the interop matrix
</a>).
</p>
</div>
<a name="N1001B"></a><a name="Interoperability+issues"></a>
<h2 class="h3">Interoperability issues</h2>
<div class="section">
<p>
As it can be seen on the
<a class="external" href="http://www.w3c.org/Signature">working group homepage</a>,
there are some interoperability reports, namely for
<a class="external" href="http://www.w3.org/Signature/2000/10/10-c14n-interop.html">
Canonical XML
</a>,
<a class="external" href="http://www.w3.org/Signature/2002/02/01-exc-c14n-interop.html">
Exclusive Canonical XML
</a>
and
<a class="external" href="http://www.w3.org/TR/xmldsig-core/2001/04/05-xmldsig-interop.html">
XML Signature
</a>.
</p>
<p>
Interoperability depends heavily on test vectors, this means that
implementation A has to check whether the signatures from
implementation B can be verified. For this purpose, we have a
collection of different test vectors in our <span class="codefrag">data/</span>
directory. The directory includes test vectors from
</p>
<ul>
<li>
<a class="external" href="http://www.baltimore.com/keytools/xml/index.html">
Baltimore KeyTools XML</a>
</li>
<li>
<a class="external" href="http://jcewww.iaik.at/products/ixsil/index.php">IAIK IXSIL</a>
</li>
<li>
<a class="external" href="http://www.rsasecurity.com/products/bsafe/certj.html">
RSA Security Cert-J</a>
</li>
<li>The vectors from the
<a class="external" href="http://www.alphaworks.ibm.com/tech/xmlsecuritysuite">
IBM alphaWorks XML Security suite
</a> could not been included in this distribution because of
licensing issues. For some reasons which I do not understand, they
copyrighted their test signatures which they have bundled with
xss4j. If you want to include interop testing against IBM in your
unit tests, simply do the following:
Download <span class="codefrag">xss4j-20030127.zip</span> from the
<a class="external" href="http://www.alphaworks.ibm.com/aw.nsf/download/xmlsecuritysuite">
alphaWorks download page
</a>.
Copy all files from the <span class="codefrag">xss4j-20030127.zip#/xss4j/data</span>
directory into the
<span class="codefrag">xml-security/data/com/ibm/xss4j-20030127/</span>
directory. If the
<a target="_top" href="api/org/apache/xml/security/test/InteropTest.html">
Interop
</a> class finds these files, the
<span class="codefrag">org.apache.xml.security.test.interop.IBMTest</span> class is
also executed during unit interop tests.
</li>
</ul>
</div>
</div>
<!--+
|end content
+-->
<div class="clearboth"> </div>
</div>
<div id="footer">
<!--+
|start bottomstrip
+-->
<div class="lastmodified">
<script type="text/javascript"><!--
document.write("Last Published: " + document.lastModified);
// --></script>
</div>
<div class="copyright">
Copyright © 2002-2005 The Apache Software Foundation.</div>
<!--+
|end bottomstrip
+-->
</div>
</body>
</html>
|