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 OutputStream
private String
private SignatureAlgorithm
private String
private byte[]
private SignerOutputStream
private Transformer
private XMLSecStartElement
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, securityProperties
-
Constructor Summary
ConstructorsConstructorDescriptionSignedInfoProcessor
(SignatureAlgorithm signatureAlgorithm, String signatureId, XMLSecStartElement xmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
void
init
(OutputProcessorChain outputProcessorChain) Method will be called after setting the propertiesvoid
processEvent
(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) Methods 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, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, outputAsEvent, outputDOMElement, processNextEvent, 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:OutputProcessor
Method will be called after setting the properties- Specified by:
init
in interfaceOutputProcessor
- Overrides:
init
in classAbstractOutputProcessor
- Throws:
XMLSecurityException
-
getSignatureValue
- Throws:
XMLSecurityException
-
getSignatureId
-
getInclusiveNamespacePrefixes
-
processEvent
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException - Specified by:
processEvent
in classAbstractOutputProcessor
- Throws:
XMLStreamException
XMLSecurityException
-