org.apache.xml.security.stax.impl.processor.output
Class XMLSignatureEndingOutputProcessor

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractOutputProcessor
      extended by org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
          extended by org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
              extended by org.apache.xml.security.stax.impl.processor.output.XMLSignatureEndingOutputProcessor
All Implemented Interfaces:
OutputProcessor

public class XMLSignatureEndingOutputProcessor
extends AbstractSignatureEndingOutputProcessor

An EndingOutputProcessor for XML Signature.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
 
Field Summary
 
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, securityProperties
 
Constructor Summary
XMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor)
           
 
Method Summary
protected  void createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate)
           
protected  void createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef)
           
protected  void flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, Deque<XMLSecEvent> xmlSecEventDeque)
           
protected  AbstractSignatureEndingOutputProcessor.SignedInfoProcessor newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain)
           
 void processHeaderEvent(OutputProcessorChain outputProcessorChain)
           
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
doFinal, getXmlSecEventBuffer, processEvent
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, processNextEvent, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSignatureEndingOutputProcessor

public XMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor)
                                  throws XMLSecurityException
Throws:
XMLSecurityException
Method Detail

newSignedInfoProcessor

protected AbstractSignatureEndingOutputProcessor.SignedInfoProcessor newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm,
                                                                                            XMLSecStartElement xmlSecStartElement,
                                                                                            OutputProcessorChain outputProcessorChain)
                                                                                     throws XMLSecurityException
Specified by:
newSignedInfoProcessor in class AbstractSignatureEndingOutputProcessor
Throws:
XMLSecurityException

processHeaderEvent

public void processHeaderEvent(OutputProcessorChain outputProcessorChain)
                        throws XMLStreamException,
                               XMLSecurityException
Overrides:
processHeaderEvent in class AbstractSignatureEndingOutputProcessor
Throws:
XMLStreamException
XMLSecurityException

flushBufferAndCallbackAfterHeader

protected void flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain,
                                                 Deque<XMLSecEvent> xmlSecEventDeque)
                                          throws XMLStreamException,
                                                 XMLSecurityException
Overrides:
flushBufferAndCallbackAfterHeader in class AbstractBufferingOutputProcessor
Throws:
XMLStreamException
XMLSecurityException

createKeyInfoStructureForSignature

protected void createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain,
                                                  OutboundSecurityToken securityToken,
                                                  boolean useSingleCertificate)
                                           throws XMLStreamException,
                                                  XMLSecurityException
Specified by:
createKeyInfoStructureForSignature in class AbstractSignatureEndingOutputProcessor
Throws:
XMLStreamException
XMLSecurityException

createTransformsStructureForSignature

protected void createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain,
                                                     SignaturePartDef signaturePartDef)
                                              throws XMLStreamException,
                                                     XMLSecurityException
Specified by:
createTransformsStructureForSignature in class AbstractSignatureEndingOutputProcessor
Throws:
XMLStreamException
XMLSecurityException


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