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
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      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