| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_22) on Thu Jan 19 13:48:14 EST 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| CryptoCoverageUtil (Apache CXF Bundle Jar 2.3.9 API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="CryptoCoverageUtil (Apache CXF Bundle Jar 2.3.9 API)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CryptoCoverageUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageChecker.XPathExpression.html" title="class in org.apache.cxf.ws.security.wss4j"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="CryptoCoverageUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.cxf.ws.security.wss4j</FONT> |
| <BR> |
| Class CryptoCoverageUtil</H2> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>CryptoCoverageUtil</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| Utility to enable the checking of WS-Security signature / WS-Security |
| encryption coverage based on the results of the WSS4J signature/encryption |
| processor. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A></B></CODE> |
| |
| <BR> |
| Differentiates which part of an element to check for cryptographic coverage.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A></B></CODE> |
| |
| <BR> |
| Differentiates which type of cryptographic coverage to check for.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html#checkBodyCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)">checkBodyCoverage</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope)</CODE> |
| |
| <BR> |
| Checks that the references provided refer to the |
| signed/encrypted SOAP body element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html#checkCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.util.Map, java.util.Collection, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)">checkCoverage</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> namespaces, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> xPaths, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope)</CODE> |
| |
| <BR> |
| Checks that the references provided refer to the required |
| signed/encrypted elements as defined by the XPath expressions in <code>xPaths</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html#checkCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.util.Map, java.lang.String, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)">checkCoverage</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> namespaces, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xPath, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope)</CODE> |
| |
| <BR> |
| Checks that the references provided refer to the required |
| signed/encrypted elements as defined by the XPath expression in <code>xPath</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html#checkHeaderCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.lang.String, java.lang.String, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)">checkHeaderCoverage</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> namespace, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope)</CODE> |
| |
| <BR> |
| Checks that the references provided refer to the required |
| signed/encrypted SOAP header element(s) matching the provided name and |
| namespace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html#reconcileEncryptedSignedRefs(java.util.Collection, java.util.Collection)">reconcileEncryptedSignedRefs</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> signedRefs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> encryptedRefs)</CODE> |
| |
| <BR> |
| Inspects the signed and encrypted content in the message and accurately |
| resolves encrypted and then signed elements in <code>signedRefs</code>.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="reconcileEncryptedSignedRefs(java.util.Collection, java.util.Collection)"><!-- --></A><H3> |
| reconcileEncryptedSignedRefs</H3> |
| <PRE> |
| public static void <B>reconcileEncryptedSignedRefs</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> signedRefs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> encryptedRefs)</PRE> |
| <DL> |
| <DD>Inspects the signed and encrypted content in the message and accurately |
| resolves encrypted and then signed elements in <code>signedRefs</code>. |
| Entries in <code>signedRefs</code> that correspond to an encrypted element |
| are resolved to the decrypted element and added to <code>signedRefs</code>. |
| The original reference to the encrypted content remains unaltered in the |
| list to allow for matching against a requirement that xenc:EncryptedData |
| and xenc:EncryptedKey elements be signed. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>signedRefs</CODE> - references to the signed content in the message<DD><CODE>encryptedRefs</CODE> - references to the encrypted content in the message</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkBodyCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)"><!-- --></A><H3> |
| checkBodyCoverage</H3> |
| <PRE> |
| public static void <B>checkBodyCoverage</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope) |
| throws org.apache.ws.security.WSSecurityException</PRE> |
| <DL> |
| <DD>Checks that the references provided refer to the |
| signed/encrypted SOAP body element. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - the soap message containing the signature/encryption and content<DD><CODE>refs</CODE> - the refs to the data extracted from the signature/encryption<DD><CODE>type</CODE> - the type of cryptographic coverage to check for<DD><CODE>scope</CODE> - the scope of the cryptographic coverage to check for, defaults |
| to element |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.ws.security.WSSecurityException</CODE> - if there is an error evaluating the coverage or the body is not |
| covered by the signature/encryption.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkHeaderCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.lang.String, java.lang.String, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)"><!-- --></A><H3> |
| checkHeaderCoverage</H3> |
| <PRE> |
| public static void <B>checkHeaderCoverage</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> namespace, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope) |
| throws org.apache.ws.security.WSSecurityException</PRE> |
| <DL> |
| <DD>Checks that the references provided refer to the required |
| signed/encrypted SOAP header element(s) matching the provided name and |
| namespace. If <code>name</code> is null, all headers from <code>namespace</code> |
| are inspected for coverage. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - the soap message containing the signature/encryption and content<DD><CODE>refs</CODE> - the refs to the data extracted from the signature/encryption<DD><CODE>namespaces</CODE> - the namespace of the header(s) to check for coverage<DD><CODE>name</CODE> - the local part of the header name to check for coverage, may be null<DD><CODE>type</CODE> - the type of cryptographic coverage to check for<DD><CODE>scope</CODE> - the scope of the cryptographic coverage to check for, defaults |
| to element |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.ws.security.WSSecurityException</CODE> - if there is an error evaluating the coverage or a header is not |
| covered by the signature/encryption.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.util.Map, java.lang.String, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)"><!-- --></A><H3> |
| checkCoverage</H3> |
| <PRE> |
| public static void <B>checkCoverage</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> namespaces, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xPath, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope) |
| throws org.apache.ws.security.WSSecurityException</PRE> |
| <DL> |
| <DD>Checks that the references provided refer to the required |
| signed/encrypted elements as defined by the XPath expression in <code>xPath</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - the soap message containing the signature/encryption and content<DD><CODE>refs</CODE> - the refs to the data extracted from the signature/encryption<DD><CODE>namespaces</CODE> - the prefix to namespace mapping, may be <code>null</code><DD><CODE>xPath</CODE> - the XPath expression<DD><CODE>type</CODE> - the type of cryptographic coverage to check for<DD><CODE>scope</CODE> - the scope of the cryptographic coverage to check for, defaults |
| to element |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.ws.security.WSSecurityException</CODE> - if there is an error evaluating an XPath or an element is not |
| covered by the signature/encryption.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="checkCoverage(javax.xml.soap.SOAPMessage, java.util.Collection, java.util.Map, java.util.Collection, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType, org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope)"><!-- --></A><H3> |
| checkCoverage</H3> |
| <PRE> |
| public static void <B>checkCoverage</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/soap.SOAPMessage.html" title="class or interface in javax.xml">javax.xml.soap.SOAPMessage</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><org.apache.ws.security.WSDataRef> refs, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> namespaces, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> xPaths, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageType.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageType</A> type, |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j">CryptoCoverageUtil.CoverageScope</A> scope) |
| throws org.apache.ws.security.WSSecurityException</PRE> |
| <DL> |
| <DD>Checks that the references provided refer to the required |
| signed/encrypted elements as defined by the XPath expressions in <code>xPaths</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - the soap message containing the signature/encryption and content<DD><CODE>refs</CODE> - the refs to the data extracted from the signature/encryption<DD><CODE>namespaces</CODE> - the prefix to namespace mapping, may be <code>null</code><DD><CODE>xPaths</CODE> - the collection of XPath expressions<DD><CODE>type</CODE> - the type of cryptographic coverage to check for<DD><CODE>scope</CODE> - the scope of the cryptographic coverage to check for, defaults |
| to element |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.ws.security.WSSecurityException</CODE> - if there is an error evaluating an XPath or an element is not |
| covered by the signature/encryption.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CryptoCoverageUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageChecker.XPathExpression.html" title="class in org.apache.cxf.ws.security.wss4j"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.CoverageScope.html" title="enum in org.apache.cxf.ws.security.wss4j"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/cxf/ws/security/wss4j/CryptoCoverageUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="CryptoCoverageUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Apache CXF |
| </BODY> |
| </HTML> |