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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]generateDigest(byte[] inputBytes) protected byte[]getBytesFromAttachment(String xopUri, XMLSecurityProperties securityProperties) voidhandle(InputProcessorChain inputProcessorChain, EncryptedKeyType encryptedKeyType, XMLSecEvent responsibleXMLSecStartXMLEvent, XMLSecurityProperties securityProperties) voidhandle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, Deque<XMLSecEvent> eventQueue, Integer index) protected voidhandleReferenceList(InputProcessorChain inputProcessorChain, EncryptedKeyType encryptedKeyType, XMLSecurityProperties securityProperties) Methods inherited from class AbstractInputSecurityHeaderHandler
getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents, parseStructure
-
Field Details
-
LOG
private static final transient org.slf4j.Logger LOG
-
-
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, EncryptedKeyType encryptedKeyType, XMLSecEvent responsibleXMLSecStartXMLEvent, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-
generateDigest
- Throws:
XMLSecurityException
-
handleReferenceList
protected void handleReferenceList(InputProcessorChain inputProcessorChain, EncryptedKeyType encryptedKeyType, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-
getBytesFromAttachment
protected byte[] getBytesFromAttachment(String xopUri, XMLSecurityProperties securityProperties) throws XMLSecurityException - Throws:
XMLSecurityException
-