Class WSSEncryptedKeyInputHandler
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler
org.apache.wss4j.stax.impl.processor.input.WSSEncryptedKeyInputHandler
- All Implemented Interfaces:
org.apache.xml.security.stax.ext.XMLSecurityHeaderHandler
public class WSSEncryptedKeyInputHandler
extends org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler
Processor for the EncryptedKey XML Structure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckBSPCompliance(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType) protected byte[]getBytesFromAttachment(String xopUri, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) voidhandle(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, org.apache.xml.security.stax.ext.stax.XMLSecEvent responsibleXMLSecStartXMLEvent, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) protected voidhandleReferenceList(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) Methods inherited from class org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler
handleMethods inherited from class org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents, parseStructure
-
Constructor Details
-
WSSEncryptedKeyInputHandler
public WSSEncryptedKeyInputHandler()
-
-
Method Details
-
handle
public void handle(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, org.apache.xml.security.stax.ext.stax.XMLSecEvent responsibleXMLSecStartXMLEvent, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException - Overrides:
handlein classorg.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
handleReferenceList
protected void handleReferenceList(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException - Overrides:
handleReferenceListin classorg.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
checkBSPCompliance
protected void checkBSPCompliance(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType) throws org.apache.xml.security.exceptions.XMLSecurityException - Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getBytesFromAttachment
protected byte[] getBytesFromAttachment(String xopUri, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException - Overrides:
getBytesFromAttachmentin classorg.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-