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

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
All Implemented Interfaces:
OutputProcessor
Direct Known Subclasses:
XMLSignatureEndingOutputProcessor

public abstract class AbstractSignatureEndingOutputProcessor
extends AbstractBufferingOutputProcessor

Version:
$Revision: 1562468 $ $Date: 2014-01-29 14:55:25 +0000 (Wed, 29 Jan 2014) $
Author:
$Author: coheigea $

Nested Class Summary
protected static class AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
           
 
Field Summary
 
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, securityProperties
 
Constructor Summary
AbstractSignatureEndingOutputProcessor(AbstractSignatureOutputProcessor signatureOutputProcessor)
           
 
Method Summary
protected abstract  void createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate)
           
protected abstract  void createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef)
           
protected abstract  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, flushBufferAndCallbackAfterHeader, 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

AbstractSignatureEndingOutputProcessor

public AbstractSignatureEndingOutputProcessor(AbstractSignatureOutputProcessor signatureOutputProcessor)
                                       throws XMLSecurityException
Throws:
XMLSecurityException
Method Detail

processHeaderEvent

public void processHeaderEvent(OutputProcessorChain outputProcessorChain)
                        throws XMLStreamException,
                               XMLSecurityException
Specified by:
processHeaderEvent in class AbstractBufferingOutputProcessor
Throws:
XMLStreamException
XMLSecurityException

newSignedInfoProcessor

protected abstract AbstractSignatureEndingOutputProcessor.SignedInfoProcessor newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm,
                                                                                                     XMLSecStartElement xmlSecStartElement,
                                                                                                     OutputProcessorChain outputProcessorChain)
                                                                                              throws XMLSecurityException
Throws:
XMLSecurityException

createTransformsStructureForSignature

protected abstract void createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain,
                                                              SignaturePartDef signaturePartDef)
                                                       throws XMLStreamException,
                                                              XMLSecurityException
Throws:
XMLStreamException
XMLSecurityException

createKeyInfoStructureForSignature

protected abstract void createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain,
                                                           OutboundSecurityToken securityToken,
                                                           boolean useSingleCertificate)
                                                    throws XMLStreamException,
                                                           XMLSecurityException
Throws:
XMLStreamException
XMLSecurityException


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