Module org.apache.santuario.xmlsec
Class AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
- All Implemented Interfaces:
OutputProcessor
- Enclosing class:
- AbstractSignatureEndingOutputProcessor
protected static class AbstractSignatureEndingOutputProcessor.SignedInfoProcessor
extends AbstractOutputProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OutputStreamprivate Stringprivate SignatureAlgorithmprivate Stringprivate byte[]private SignerOutputStreamprivate Transformerprivate XMLSecStartElementFields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, actionOrder, securityProperties -
Constructor Summary
ConstructorsConstructorDescriptionSignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, String signatureId, XMLSecStartElement xmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidinit(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
-
signerOutputStream
-
bufferedSignerOutputStream
-
transformer
-
signatureValue
private byte[] signatureValue -
inclusiveNamespacePrefixes
-
signatureAlgorithm
-
xmlSecStartElement
-
signatureId
-
-
Constructor Details
-
SignedInfoProcessor
public SignedInfoProcessor(SignatureAlgorithm signatureAlgorithm, String signatureId, 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
-
getSignatureValue
- Throws:
XMLSecurityException
-
getSignatureId
-
getInclusiveNamespacePrefixes
-
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
-