org.apache.xml.security.stax.ext
Class OutboundXMLSec

java.lang.Object
  extended by org.apache.xml.security.stax.ext.OutboundXMLSec

public class OutboundXMLSec
extends Object

Outbound Streaming-XML-Security An instance of this class can be retrieved over the XMLSec class

Version:
$Revision: 1355448 $ $Date: 2012-06-29 16:38:18 +0100 (Fri, 29 Jun 2012) $
Author:
$Author: coheigea $

Constructor Summary
OutboundXMLSec(XMLSecurityProperties securityProperties)
           
 
Method Summary
 XMLStreamWriter processOutMessage(OutputStream outputStream, String encoding)
          This method is the entry point for the incoming security-engine.
 XMLStreamWriter processOutMessage(XMLStreamWriter xmlStreamWriter, String encoding)
          This method is the entry point for the incoming security-engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutboundXMLSec

public OutboundXMLSec(XMLSecurityProperties securityProperties)
Method Detail

processOutMessage

public XMLStreamWriter processOutMessage(OutputStream outputStream,
                                         String encoding)
                                  throws XMLSecurityException
This method is the entry point for the incoming security-engine. Hand over a outputStream and use the returned XMLStreamWriter for further processing

Parameters:
outputStream - The original outputStream
Returns:
A new XMLStreamWriter which does transparently the security processing.
Throws:
XMLSecurityException - thrown when a Security failure occurs

processOutMessage

public XMLStreamWriter processOutMessage(XMLStreamWriter xmlStreamWriter,
                                         String encoding)
                                  throws XMLSecurityException
This method is the entry point for the incoming security-engine. Hand over the original XMLStreamWriter and use the returned one for further processing

Parameters:
xmlStreamWriter - The original xmlStreamWriter
Returns:
A new XMLStreamWriter which does transparently the security processing.
Throws:
XMLSecurityException - thrown when a Security failure occurs


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.