Apache CXF API

org.apache.cxf.rs.security.xml
Class XmlSigOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.rs.security.xml.AbstractXmlSecOutInterceptor
          extended by org.apache.cxf.rs.security.xml.XmlSigOutInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class XmlSigOutInterceptor
extends AbstractXmlSecOutInterceptor


Field Summary
static String DEFAULT_ENV_PREFIX
           
static QName DEFAULT_ENV_QNAME
           
static String DETACHED_SIG
           
static String ENVELOPED_SIG
           
static String ENVELOPING_SIG
           
 
Constructor Summary
XmlSigOutInterceptor()
           
 
Method Summary
protected  Document processDocument(Message message, Document doc)
           
 void setDigestAlgorithm(String algo)
           
 void setEnvelopeName(String expandedName)
           
 void setEnvelopeQName(QName name)
           
 void setKeyInfoMustBeAvailable(boolean use)
           
 void setSignatureAlgorithm(String algo)
           
 void setSignatureProperties(SignatureProperties props)
           
 void setStyle(String style)
           
 
Methods inherited from class org.apache.cxf.rs.security.xml.AbstractXmlSecOutInterceptor
handleMessage
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENVELOPED_SIG

public static final String ENVELOPED_SIG
See Also:
Constant Field Values

ENVELOPING_SIG

public static final String ENVELOPING_SIG
See Also:
Constant Field Values

DETACHED_SIG

public static final String DETACHED_SIG
See Also:
Constant Field Values

DEFAULT_ENV_PREFIX

public static final String DEFAULT_ENV_PREFIX
See Also:
Constant Field Values

DEFAULT_ENV_QNAME

public static final QName DEFAULT_ENV_QNAME
Constructor Detail

XmlSigOutInterceptor

public XmlSigOutInterceptor()
Method Detail

setSignatureProperties

public void setSignatureProperties(SignatureProperties props)

setStyle

public void setStyle(String style)

setKeyInfoMustBeAvailable

public void setKeyInfoMustBeAvailable(boolean use)

setSignatureAlgorithm

public void setSignatureAlgorithm(String algo)

setDigestAlgorithm

public void setDigestAlgorithm(String algo)

processDocument

protected Document processDocument(Message message,
                                   Document doc)
                            throws Exception
Specified by:
processDocument in class AbstractXmlSecOutInterceptor
Throws:
Exception

setEnvelopeName

public void setEnvelopeName(String expandedName)

setEnvelopeQName

public void setEnvelopeQName(QName name)

Apache CXF API

Apache CXF