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 AbstractOutputProcessor
action, 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) Methods inherited from class 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: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 - Specified by:
processEventin classAbstractOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-