org.apache.wss4j.stax.impl.processor.input
Class DecryptInputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputProcessor
org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
org.apache.wss4j.stax.impl.processor.input.DecryptInputProcessor
- All Implemented Interfaces:
- org.apache.xml.security.stax.ext.InputProcessor
public class DecryptInputProcessor
- extends org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
Processor for decryption of EncryptedData XML structures
| Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor |
org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor |
| Fields inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor |
maximumAllowedXMLStructureDepth |
|
Method Summary |
protected InputStream |
applyTransforms(org.apache.xml.security.binding.xmlenc.ReferenceType referenceType,
InputStream inputStream)
|
void |
doFinal(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
|
protected void |
handleEncryptedContent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
org.apache.xml.security.stax.ext.stax.XMLSecStartElement parentStartXMLEvent,
org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
|
protected void |
handleSecurityToken(org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
|
protected org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor |
newDecryptedEventReaderInputProcessor(boolean encryptedHeader,
org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext)
|
| Methods inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor |
getProcessedReferences, getReferences, matchesReferenceId, processNextEvent, processNextHeaderEvent |
| Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor |
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecryptInputProcessor
public DecryptInputProcessor(org.apache.xml.security.binding.xmldsig.KeyInfoType keyInfoType,
org.apache.xml.security.binding.xmlenc.ReferenceList referenceList,
WSSSecurityProperties securityProperties,
WSInboundSecurityContext securityContext)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
applyTransforms
protected InputStream applyTransforms(org.apache.xml.security.binding.xmlenc.ReferenceType referenceType,
InputStream inputStream)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Overrides:
applyTransforms in class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
handleEncryptedContent
protected void handleEncryptedContent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
org.apache.xml.security.stax.ext.stax.XMLSecStartElement parentStartXMLEvent,
org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
handleEncryptedContent in class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
newDecryptedEventReaderInputProcessor
protected org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor newDecryptedEventReaderInputProcessor(boolean encryptedHeader,
org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
newDecryptedEventReaderInputProcessor in class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
handleSecurityToken
protected void handleSecurityToken(org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
handleSecurityToken in class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
doFinal
public void doFinal(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
throws XMLStreamException,
org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
doFinal in interface org.apache.xml.security.stax.ext.InputProcessor- Overrides:
doFinal in class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor
- Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.