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
An EndingOutputProcessor for XML Signature.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor
AbstractSignatureEndingOutputProcessor.SignedInfoProcessor -
Field Summary
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, securityProperties -
Constructor Summary
ConstructorsConstructorDescriptionXMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate) protected voidcreateTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef) protected voidflushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, Deque<XMLSecEvent> xmlSecEventDeque) newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, String signatureId, XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain) voidprocessHeaderEvent(OutputProcessorChain outputProcessorChain) Methods inherited from class org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
doFinal, getXmlSecEventBuffer, processEventMethods 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
-
Constructor Details
-
XMLSignatureEndingOutputProcessor
public XMLSignatureEndingOutputProcessor(XMLSignatureOutputProcessor signatureOutputProcessor) throws XMLSecurityException - Throws:
XMLSecurityException
-
-
Method Details
-
newSignedInfoProcessor
protected AbstractSignatureEndingOutputProcessor.SignedInfoProcessor newSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, String signatureId, XMLSecStartElement xmlSecStartElement, OutputProcessorChain outputProcessorChain) throws XMLSecurityException - Specified by:
newSignedInfoProcessorin classAbstractSignatureEndingOutputProcessor- Throws:
XMLSecurityException
-
processHeaderEvent
public void processHeaderEvent(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException - Overrides:
processHeaderEventin classAbstractSignatureEndingOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-
flushBufferAndCallbackAfterHeader
protected void flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, Deque<XMLSecEvent> xmlSecEventDeque) throws XMLStreamException, XMLSecurityException - Overrides:
flushBufferAndCallbackAfterHeaderin classAbstractBufferingOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-
createKeyInfoStructureForSignature
protected void createKeyInfoStructureForSignature(OutputProcessorChain outputProcessorChain, OutboundSecurityToken securityToken, boolean useSingleCertificate) throws XMLStreamException, XMLSecurityException - Specified by:
createKeyInfoStructureForSignaturein classAbstractSignatureEndingOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-
createTransformsStructureForSignature
protected void createTransformsStructureForSignature(OutputProcessorChain subOutputProcessorChain, SignaturePartDef signaturePartDef) throws XMLStreamException, XMLSecurityException - Specified by:
createTransformsStructureForSignaturein classAbstractSignatureEndingOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-