Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkBSPCompliance​(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)  
      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)  
      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)  
      • Methods inherited from class org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler

        handle
      • Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler

        getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents, parseStructure
    • Constructor Detail

      • WSSEncryptedKeyInputHandler

        public WSSEncryptedKeyInputHandler()
    • Method Detail

      • 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:
        handle in class org.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:
        handleReferenceList in class org.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:
        getBytesFromAttachment in class org.apache.xml.security.stax.impl.processor.input.XMLEncryptedKeyInputHandler
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException