Author: coheigea
Date: Tue Aug  6 10:24:02 2019
New Revision: 1864498

URL: http://svn.apache.org/viewvc?rev=1864498&view=rev
Log:
Missing files

Added:
    
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html
    
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html
    
webservices/website/wss4j/xref-test/org/apache/wss4j/dom/message/SignatureWSS651Test.html

Added: 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html
URL: 
http://svn.apache.org/viewvc/webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html?rev=1864498&view=auto
==============================================================================
--- 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html
 (added)
+++ 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html
 Tue Aug  6 10:24:02 2019
@@ -0,0 +1,304 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_212) on Tue Aug 06 11:14:18 IST 2019 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>SignatureWSS651Test (Apache WSS4J 2.3.0-SNAPSHOT Test API)</title>
+<meta name="date" content="2019-08-06">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="SignatureWSS651Test (Apache WSS4J 
2.3.0-SNAPSHOT Test API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":9,"i1":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SignatureWSS651Test.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/wss4j/dom/message/SignatureTest.html" 
title="class in org.apache.wss4j.dom.message"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/wss4j/dom/message/SignedBSTTest.html" 
title="class in org.apache.wss4j.dom.message"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/wss4j/dom/message/SignatureWSS651Test.html"
 target="_top">Frames</a></li>
+<li><a href="SignatureWSS651Test.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.wss4j.dom.message</div>
+<h2 title="Class SignatureWSS651Test" class="title">Class 
SignatureWSS651Test</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.wss4j.dom.message.SignatureWSS651Test</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">SignatureWSS651Test</span>
+extends <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></pre>
+<div class="block">Test signing with an existing wsu namespace defined with a 
different prefix to "wsu"</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html#SignatureWSS651Test--">SignatureWSS651Test</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a 
href="javascript:show(1);">Static Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html#cleanup--">cleanup</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html#testSignedTimestamp--">testSignedTimestamp</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></h3>
+<code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="SignatureWSS651Test--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>SignatureWSS651Test</h4>
+<pre>public&nbsp;SignatureWSS651Test()
+                    throws <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="cleanup--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>cleanup</h4>
+<pre>@AfterAll
+public static&nbsp;void&nbsp;cleanup()
+                              throws <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="testSignedTimestamp--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>testSignedTimestamp</h4>
+<pre>@Test
+public&nbsp;void&nbsp;testSignedTimestamp()
+                               throws <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SignatureWSS651Test.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/wss4j/dom/message/SignatureTest.html" 
title="class in org.apache.wss4j.dom.message"><span 
class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/wss4j/dom/message/SignedBSTTest.html" 
title="class in org.apache.wss4j.dom.message"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/wss4j/dom/message/SignatureWSS651Test.html"
 target="_top">Frames</a></li>
+<li><a href="SignatureWSS651Test.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2019 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

Added: 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html
URL: 
http://svn.apache.org/viewvc/webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html?rev=1864498&view=auto
==============================================================================
--- 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html
 (added)
+++ 
webservices/website/wss4j/testapidocs/org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html
 Tue Aug  6 10:24:02 2019
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_212) on Tue Aug 06 11:14:19 IST 2019 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Uses of Class org.apache.wss4j.dom.message.SignatureWSS651Test (Apache 
WSS4J 2.3.0-SNAPSHOT Test API)</title>
+<meta name="date" content="2019-08-06">
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Uses of Class 
org.apache.wss4j.dom.message.SignatureWSS651Test (Apache WSS4J 2.3.0-SNAPSHOT 
Test API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html" 
title="class in org.apache.wss4j.dom.message">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html"
 target="_top">Frames</a></li>
+<li><a href="SignatureWSS651Test.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.wss4j.dom.message.SignatureWSS651Test" 
class="title">Uses of 
Class<br>org.apache.wss4j.dom.message.SignatureWSS651Test</h2>
+</div>
+<div class="classUseContainer">No usage of 
org.apache.wss4j.dom.message.SignatureWSS651Test</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html" 
title="class in org.apache.wss4j.dom.message">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/wss4j/dom/message/class-use/SignatureWSS651Test.html"
 target="_top">Frames</a></li>
+<li><a href="SignatureWSS651Test.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2019 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

Added: 
webservices/website/wss4j/xref-test/org/apache/wss4j/dom/message/SignatureWSS651Test.html
URL: 
http://svn.apache.org/viewvc/webservices/website/wss4j/xref-test/org/apache/wss4j/dom/message/SignatureWSS651Test.html?rev=1864498&view=auto
==============================================================================
--- 
webservices/website/wss4j/xref-test/org/apache/wss4j/dom/message/SignatureWSS651Test.html
 (added)
+++ 
webservices/website/wss4j/xref-test/org/apache/wss4j/dom/message/SignatureWSS651Test.html
 Tue Aug  6 10:24:02 2019
@@ -0,0 +1,140 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>SignatureWSS651Test xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a 
href="../../../../../../testapidocs/org/apache/wss4j/dom/message/SignatureWSS651Test.html">View
 Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em 
class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) 
under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em 
class="jxr_javadoccomment"> * or more contributor license agreements. See the 
NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em 
class="jxr_javadoccomment"> * distributed with this work for additional 
information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em 
class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses 
this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em 
class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 
(the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em 
class="jxr_javadoccomment"> * "License"); you may not use this file except in 
compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em 
class="jxr_javadoccomment"> * with the License. You may obtain a copy of the 
License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em 
class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em 
class="jxr_javadoccomment"> * <a 
href="http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em 
class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em 
class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in 
writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em 
class="jxr_javadoccomment"> * software distributed under the License is 
distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em 
class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em 
class="jxr_javadoccomment"> * KIND, either express or implied. See the License 
for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em 
class="jxr_javadoccomment"> * specific language governing permissions and 
limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em 
class="jxr_javadoccomment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em 
class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong 
class="jxr_keyword">package</strong> org.apache.wss4j.dom.message;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong 
class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.common.WSEncryptionPart;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.common.crypto.Crypto;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.wss4j.common.crypto.CryptoFactory;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.common.util.XMLUtils;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.dom.WSConstants;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.SOAPUtil;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.wss4j.dom.common.SecurityTestUtil;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">import</strong> org.apache.wss4j.dom.engine.WSSConfig;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.wss4j.dom.engine.WSSecurityEngine;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.wss4j.dom.handler.WSHandlerResult;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong 
class="jxr_keyword">import</strong> org.junit.jupiter.api.AfterAll;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong 
class="jxr_keyword">import</strong> org.junit.jupiter.api.Test;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong 
class="jxr_keyword">import</strong> org.w3c.dom.Document;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <em 
class="jxr_javadoccomment"> * Test signing with an existing wsu namespace 
defined with a different prefix to "wsu"</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em 
class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a 
href="../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html">SignatureWSS651Test</a>
 {
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
org.slf4j.Logger LOG =
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>          
org.slf4j.LoggerFactory.getLogger(SignatureWSS651Test.<strong 
class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
String SAMPLE_SOAP_MSG_WSU_NS =
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>          <span 
class="jxr_string">"&lt;?xml version=\&quot;1.0\&quot; 
encoding=\&quot;UTF-8\&quot;?&gt;"</span>
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          + <span 
class="jxr_string">"&lt;SOAP-ENV:Envelope "</span>
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          +   <span 
class="jxr_string">"xmlns:SOAP-ENV=\&quot;http://schemas.xmlsoap.org/soap/envelope/\&quot;
 "</span>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          +   <span 
class="jxr_string">"xmlns:xsd=\&quot;http://www.w3.org/2001/XMLSchema\&quot; 
"</span>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          +   <span 
class="jxr_string">"xmlns:xsi=\&quot;http://www.w3.org/2001/XMLSchema-instance\&quot;
 "</span>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          +   <span 
class="jxr_string">"xmlns:u=\&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\&quot;
 "</span>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          +   <span 
class="jxr_string">"&gt;"</span>
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          +   <span 
class="jxr_string">"&lt;SOAP-ENV:Body&gt;"</span>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          +       <span 
class="jxr_string">"&lt;add 
xmlns=\&quot;http://ws.apache.org/counter/counter_port_type\&quot;&gt;";</span>
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          +           
<span class="jxr_string">"&lt;value 
xmlns=\&quot;\&quot;&gt;15&lt;/value&gt;"</span>
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          +       <span 
class="jxr_string">"&lt;/add&gt;"</span>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          +   <span 
class="jxr_string">"&lt;/SOAP-ENV:Body&gt;"</span>
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          + <span 
class="jxr_string">"&lt;/SOAP-ENV:Envelope&gt;"</span>;
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>  
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>      <strong 
class="jxr_keyword">private</strong> WSSecurityEngine secEngine = <strong 
class="jxr_keyword">new</strong> WSSecurityEngine();
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>      <strong 
class="jxr_keyword">private</strong> Crypto crypto;
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>  
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      @AfterAll
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> 
<strong class="jxr_keyword">void</strong> cleanup() <strong 
class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          
SecurityTestUtil.cleanup();
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      }
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong 
class="jxr_keyword">public</strong> <a 
href="../../../../../org/apache/wss4j/dom/message/SignatureWSS651Test.html">SignatureWSS651Test</a>()
 <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          
WSSConfig.init();
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          crypto = 
CryptoFactory.getInstance();
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>      }
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>  
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      @Test
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testSignedTimestamp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          Document doc 
= SOAPUtil.toSOAPPart(SAMPLE_SOAP_MSG_WSU_NS);
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          WSSecHeader 
secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader(doc);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          
secHeader.insertSecurityHeader();
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          
WSSecTimestamp timestamp = <strong class="jxr_keyword">new</strong> 
WSSecTimestamp(secHeader);
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>          
timestamp.setTimeToLive(300);
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          
timestamp.build();
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>  
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>          
WSSecSignature builder = <strong class="jxr_keyword">new</strong> 
WSSecSignature(secHeader);
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          
builder.setUserInfo(<span 
class="jxr_string">"16c73ab6-b892-458f-abf5-2f875f74882e"</span>, <span 
class="jxr_string">"security"</span>);
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>  
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          <em 
class="jxr_comment">// builder.setAddInclusivePrefixes(false);</em>
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>  
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          
WSEncryptionPart encP =
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>              <strong 
class="jxr_keyword">new</strong> WSEncryptionPart(
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>                  <span 
class="jxr_string">"Timestamp"</span>,
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>                  
WSConstants.WSU_NS,
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>                  <span 
class="jxr_string">""</span>);
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>          
builder.getParts().add(encP);
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>  
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          
builder.prepare(crypto);
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>  
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          
List&lt;javax.xml.crypto.dsig.Reference&gt; referenceList =
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>              
builder.addReferencesToSign(builder.getParts());
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> 
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>         
builder.computeSignature(referenceList, false, <strong 
class="jxr_keyword">null</strong>);
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> 
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         String 
outputString = XMLUtils.prettyDocumentToString(doc);
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> 
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong 
class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>             
LOG.debug(<span class="jxr_string">"After Signing...."</span>);
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>             
LOG.debug(outputString);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         }
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> 
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>         verify(doc);
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> 
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>         Document 
doc2 = SOAPUtil.toSOAPPart(outputString);
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>         
verify(doc2);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>     }
+<a class="jxr_linenumber" name="L115" href="#L115">115</a> 
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>     <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> <em 
class="jxr_javadoccomment">     * Verifies the soap envelope.</em>
+<a class="jxr_linenumber" name="L118" href="#L118">118</a> <em 
class="jxr_javadoccomment">     * This method verifies all the signature 
generated.</em>
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> <em 
class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> <em 
class="jxr_javadoccomment">     * @param env soap envelope</em>
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> <em 
class="jxr_javadoccomment">     * @throws java.lang.Exception Thrown when there 
is a problem in verification</em>
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> <em 
class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>     <strong 
class="jxr_keyword">private</strong> WSHandlerResult verify(Document doc) 
<strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>         <strong 
class="jxr_keyword">return</strong> secEngine.processSecurityHeader(doc, 
<strong class="jxr_keyword">null</strong>, <strong 
class="jxr_keyword">null</strong>, crypto);
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>     }
+<a class="jxr_linenumber" name="L126" href="#L126">126</a> 
+<a class="jxr_linenumber" name="L127" href="#L127">127</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2004&#x2013;2019 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</div>
+</body>
+</html>


Reply via email to