org.apache.xml.security.stax.impl.processor.output
Class XMLSignatureEndingOutputProcessor
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.xml.security.stax.impl.processor.output.XMLSignatureEndingOutputProcessor
- All Implemented Interfaces:
- OutputProcessor
public class XMLSignatureEndingOutputProcessor
- extends AbstractSignatureEndingOutputProcessor
An EndingOutputProcessor for XML Signature.
| 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 |
XMLSignatureEndingOutputProcessor
public XMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor)
throws XMLSecurityException
- Throws:
XMLSecurityException
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.