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, setXMLSecurityPropertiespublic AbstractSignatureOutputProcessor()
throws XMLSecurityException
XMLSecurityExceptionpublic List<SignaturePartDef> getSignaturePartDefList()
public abstract void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessorxmlSecEvent - The next XMLEvent to processXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic void doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessordoFinal in interface OutputProcessordoFinal in class AbstractOutputProcessorXMLStreamException - 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
XMLSecurityExceptionprotected AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor getActiveInternalSignatureOutputProcessor()
protected void setActiveInternalSignatureOutputProcessor(AbstractSignatureOutputProcessor.InternalSignatureOutputProcessor activeInternalSignatureOutputProcessor)
protected DigestOutputStream createMessageDigestOutputStream(String digestAlgorithm) throws XMLSecurityException
XMLSecurityExceptionprotected Transformer buildTransformerChain(OutputStream outputStream, SignaturePartDef signaturePartDef, XMLSecStartElement xmlSecStartElement) throws XMLSecurityException
XMLSecurityExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.