Class WSSSignatureEndingOutputProcessor

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

public class WSSSignatureEndingOutputProcessor extends org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor

    org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
  • Field Summary

    Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor

    action, actionOrder, securityProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    createKeyInfoStructureForSignature(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, org.apache.xml.security.stax.securityToken.OutboundSecurityToken securityToken, boolean useSingleCertificate)
     
    protected void
    createTransformsStructureForSignature(org.apache.xml.security.stax.ext.OutputProcessorChain subOutputProcessorChain, org.apache.xml.security.stax.impl.SignaturePartDef signaturePartDef)
     
    void
    flushBufferAndCallbackAfterHeader(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEventDeque)
     
    protected org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
    newSignedInfoProcessor(org.apache.xml.security.stax.impl.algorithms.SignatureAlgorithm signatureAlgorithm, String signatureId, org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement, org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)
     
    void
    processHeaderEvent(org.apache.xml.security.stax.ext.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, getActionOrder, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WSSSignatureEndingOutputProcessor

      public WSSSignatureEndingOutputProcessor(WSSSignatureOutputProcessor signatureOutputProcessor) throws org.apache.xml.security.exceptions.XMLSecurityException
      Throws:
      org.apache.xml.security.exceptions.XMLSecurityException
  • Method Details

    • newSignedInfoProcessor

      protected org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor.SignedInfoProcessor newSignedInfoProcessor(org.apache.xml.security.stax.impl.algorithms.SignatureAlgorithm signatureAlgorithm, String signatureId, org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement, org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws org.apache.xml.security.exceptions.XMLSecurityException
      Specified by:
      newSignedInfoProcessor in class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
      Throws:
      org.apache.xml.security.exceptions.XMLSecurityException
    • processHeaderEvent

      public void processHeaderEvent(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
      Overrides:
      processHeaderEvent in class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
      Throws:
      XMLStreamException
      org.apache.xml.security.exceptions.XMLSecurityException
    • createKeyInfoStructureForSignature

      protected void createKeyInfoStructureForSignature(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, org.apache.xml.security.stax.securityToken.OutboundSecurityToken securityToken, boolean useSingleCertificate) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
      Specified by:
      createKeyInfoStructureForSignature in class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
      Throws:
      XMLStreamException
      org.apache.xml.security.exceptions.XMLSecurityException
    • createTransformsStructureForSignature

      protected void createTransformsStructureForSignature(org.apache.xml.security.stax.ext.OutputProcessorChain subOutputProcessorChain, org.apache.xml.security.stax.impl.SignaturePartDef signaturePartDef) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
      Specified by:
      createTransformsStructureForSignature in class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
      Throws:
      XMLStreamException
      org.apache.xml.security.exceptions.XMLSecurityException
    • flushBufferAndCallbackAfterHeader

      public void flushBufferAndCallbackAfterHeader(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEventDeque) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
      Overrides:
      flushBufferAndCallbackAfterHeader in class org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
      Throws:
      XMLStreamException
      org.apache.xml.security.exceptions.XMLSecurityException