Module org.apache.santuario.xmlsec
Class AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor
- All Implemented Interfaces:
OutputProcessor
- Enclosing class:
- AbstractSignatureOutputProcessor
public class AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor
extends AbstractOutputProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OutputStreamprivate DigestOutputStreamprivate intprivate final SignaturePartDefprivate Transformerprivate final XMLSecStartElementFields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, actionOrder, securityProperties -
Constructor Summary
ConstructorsConstructorDescriptionInternalSignatureOutputProcessor(SignaturePartDef signaturePartDef, XMLSecStartElement xmlSecStartElement) -
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.ext.AbstractOutputProcessor
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, doFinal, getAction, getActionOrder, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
-
Field Details
-
signaturePartDef
-
xmlSecStartElement
-
elementCounter
private int elementCounter -
bufferedDigestOutputStream
-
digestOutputStream
-
transformer
-
-
Constructor Details
-
InternalSignatureOutputProcessor
public InternalSignatureOutputProcessor(SignaturePartDef signaturePartDef, XMLSecStartElement xmlSecStartElement) throws XMLSecurityException - 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- Parameters:
xmlSecEvent- The next XMLEvent to process- Throws:
XMLStreamException- thrown when a streaming error occursXMLSecurityException- thrown when a Security failure occurs
-