Class XMLDecryptInputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputProcessor
org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
org.apache.xml.security.stax.impl.processor.input.XMLDecryptInputProcessor
- All Implemented Interfaces:
InputProcessor
Processor for decryption of EncryptedData XML structures
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
The DecryptedEventReaderInputProcessor reads the decrypted stream with a StAX reader and forwards the generated XMLEventsNested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
maximumAllowedEncryptedDataEvents, maximumAllowedXMLStructureDepth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleCipherReference
(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, Cipher cipher, InboundSecurityToken inboundSecurityToken) protected void
handleEncryptedContent
(InputProcessorChain inputProcessorChain, XMLSecStartElement parentXMLSecStartElement, InboundSecurityToken inboundSecurityToken, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) protected void
handleSecurityToken
(InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) protected InputStream
handleXOPInclude
(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, String href, Cipher cipher, InboundSecurityToken inboundSecurityToken) newDecryptedEventReaderInputProcessor
(boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, org.apache.xml.security.binding.xmlenc.EncryptedDataType currentEncryptedDataType, InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext) Methods inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
applyTransforms, doFinal, getProcessedReferences, getReferences, matchesReferenceId, processNextEvent, processNextHeaderEvent
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
-
Constructor Details
-
XMLDecryptInputProcessor
public XMLDecryptInputProcessor(XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-
-
Method Details
-
newDecryptedEventReaderInputProcessor
protected AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor newDecryptedEventReaderInputProcessor(boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, org.apache.xml.security.binding.xmlenc.EncryptedDataType currentEncryptedDataType, InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext) throws XMLSecurityException - Specified by:
newDecryptedEventReaderInputProcessor
in classAbstractDecryptInputProcessor
- Throws:
XMLSecurityException
-
handleSecurityToken
protected void handleSecurityToken(InboundSecurityToken inboundSecurityToken, InboundSecurityContext inboundSecurityContext, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) throws XMLSecurityException - Specified by:
handleSecurityToken
in classAbstractDecryptInputProcessor
- Throws:
XMLSecurityException
-
handleEncryptedContent
protected void handleEncryptedContent(InputProcessorChain inputProcessorChain, XMLSecStartElement parentXMLSecStartElement, InboundSecurityToken inboundSecurityToken, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) throws XMLSecurityException - Specified by:
handleEncryptedContent
in classAbstractDecryptInputProcessor
- Throws:
XMLSecurityException
-
handleCipherReference
protected void handleCipherReference(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, Cipher cipher, InboundSecurityToken inboundSecurityToken) throws XMLSecurityException - Specified by:
handleCipherReference
in classAbstractDecryptInputProcessor
- Throws:
XMLSecurityException
-
handleXOPInclude
protected InputStream handleXOPInclude(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, String href, Cipher cipher, InboundSecurityToken inboundSecurityToken) throws XMLSecurityException - Specified by:
handleXOPInclude
in classAbstractDecryptInputProcessor
- Throws:
XMLSecurityException
-