Class XMLEncryptedKeyInputHandler
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler
- All Implemented Interfaces:
XMLSecurityHeaderHandler
An input handler for the EncryptedKey XML Structure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
getBytesFromAttachment
(String xopUri, XMLSecurityProperties securityProperties) void
handle
(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, XMLSecEvent responsibleXMLSecStartXMLEvent, XMLSecurityProperties securityProperties) void
handle
(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, Deque<XMLSecEvent> eventQueue, Integer index) protected void
handleReferenceList
(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, XMLSecurityProperties securityProperties) Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents, parseStructure
-
Constructor Details
-
XMLEncryptedKeyInputHandler
public XMLEncryptedKeyInputHandler()
-
-
Method Details
-
handle
public void handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, Deque<XMLSecEvent> eventQueue, Integer index) throws XMLSecurityException - Throws:
XMLSecurityException
-
handle
public void handle(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, XMLSecEvent responsibleXMLSecStartXMLEvent, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-
handleReferenceList
protected void handleReferenceList(InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmlenc.EncryptedKeyType encryptedKeyType, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-
getBytesFromAttachment
protected byte[] getBytesFromAttachment(String xopUri, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-