public abstract class AbstractSignatureOutputProcessor extends AbstractOutputProcessor
Modifier and Type | Class and Description |
---|---|
class |
AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor |
action, securityProperties
Constructor and Description |
---|
AbstractSignatureOutputProcessor() |
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
public AbstractSignatureOutputProcessor() throws XMLSecurityException
XMLSecurityException
public List<SignaturePartDef> getSignaturePartDefList()
public abstract void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessor
xmlSecEvent
- The next XMLEvent to processXMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessor
doFinal
in interface OutputProcessor
doFinal
in class AbstractOutputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursprotected void doFinalInternal(OutputProcessorChain outputProcessorChain) throws XMLSecurityException, XMLStreamException
protected void digestExternalReference(OutputProcessorChain outputProcessorChain, SecurePart securePart) throws XMLSecurityException, XMLStreamException
protected void verifySignatureParts(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityException
protected AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor getActiveInternalSignatureOutputProcessor()
protected void setActiveInternalSignatureOutputProcessor(AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor activeInternalSignatureOutputProcessor)
protected DigestOutputStream createMessageDigestOutputStream(String digestAlgorithm) throws XMLSecurityException
XMLSecurityException
protected Transformer buildTransformerChain(OutputStream outputStream, SignaturePartDef signaturePartDef, XMLSecStartElement xmlSecStartElement) throws XMLSecurityException
XMLSecurityException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.