Module org.apache.santuario.xmlsec
Class XMLSignatureOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractSignatureOutputProcessor
org.apache.xml.security.stax.impl.processor.output.XMLSignatureOutputProcessor
- All Implemented Interfaces:
OutputProcessor
An OutputProcessor for XML Signature.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureOutputProcessor
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor -
Field Summary
FieldsFields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, actionOrder, securityProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(OutputProcessorChain outputProcessorChain) Method will be called after setting the propertiesvoidprocessEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) Will be called from the framework for every XMLEventMethods inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureOutputProcessor
buildTransformerChain, createMessageDigestOutputStream, digestExternalReference, doFinal, doFinalInternal, getActiveInternalSignatureOutputProcessor, getSignaturePartDefList, setActiveInternalSignatureOutputProcessor, verifySignaturePartsMethods 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, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
-
Field Details
-
LOG
-
-
Constructor Details
-
XMLSignatureOutputProcessor
- Throws:
XMLSecurityException
-
-
Method Details
-
init
Description copied from interface:OutputProcessorMethod will be called after setting the properties- Specified by:
initin interfaceOutputProcessor- Overrides:
initin classAbstractOutputProcessor- Throws:
XMLSecurityException
-
processEvent
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException Description copied from interface:OutputProcessorWill be called from the framework for every XMLEvent- Specified by:
processEventin interfaceOutputProcessor- Specified by:
processEventin classAbstractSignatureOutputProcessor- Parameters:
xmlSecEvent- The next XMLEvent to process- Throws:
XMLStreamException- thrown when a streaming error occursXMLSecurityException- thrown when a Security failure occurs
-