org.apache.camel.dataformat.xmlsecurity
Class XMLSecurityDataFormat

java.lang.Object
  extended by org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat
All Implemented Interfaces:
DataFormat

public class XMLSecurityDataFormat
extends Object
implements DataFormat


Constructor Summary
XMLSecurityDataFormat()
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, byte[] passPhrase)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, byte[] passPhrase, String xmlCipherAlgorithm)
           
 
Method Summary
 byte[] getPassPhrase()
           
 String getSecureTag()
           
 boolean getSecureTagContents()
           
 String getXmlCipherAlgorithm()
           
 boolean isSecureTagContents()
           
 void marshal(Exchange exchange, Object graph, OutputStream stream)
           
 void setPassPhrase(byte[] passPhrase)
           
 void setSecureTag(String secureTag)
           
 void setSecureTagContents(boolean secureTagContents)
           
 void setXmlCipherAlgorithm(String xmlCipherAlgorithm)
           
 Object unmarshal(Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSecurityDataFormat

public XMLSecurityDataFormat()

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             byte[] passPhrase)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             byte[] passPhrase,
                             String xmlCipherAlgorithm)
Method Detail

marshal

public void marshal(Exchange exchange,
                    Object graph,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface DataFormat
Throws:
Exception

unmarshal

public Object unmarshal(Exchange exchange,
                        InputStream stream)
                 throws Exception
Specified by:
unmarshal in interface DataFormat
Throws:
Exception

getXmlCipherAlgorithm

public String getXmlCipherAlgorithm()

setXmlCipherAlgorithm

public void setXmlCipherAlgorithm(String xmlCipherAlgorithm)

getPassPhrase

public byte[] getPassPhrase()

setPassPhrase

public void setPassPhrase(byte[] passPhrase)

getSecureTag

public String getSecureTag()

setSecureTag

public void setSecureTag(String secureTag)

isSecureTagContents

public boolean isSecureTagContents()

getSecureTagContents

public boolean getSecureTagContents()

setSecureTagContents

public void setSecureTagContents(boolean secureTagContents)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.