Class AbstractXmlEncInHandler

java.lang.Object
org.apache.cxf.rs.security.xml.AbstractXmlSecInHandler
org.apache.cxf.rs.security.xml.AbstractXmlEncInHandler
Direct Known Subclasses:
XmlEncInHandler, XmlEncInInterceptor

public abstract class AbstractXmlEncInHandler extends AbstractXmlSecInHandler
  • Constructor Details

    • AbstractXmlEncInHandler

      public AbstractXmlEncInHandler()
  • Method Details

    • decryptContent

      public void decryptContent(Message message)
    • getSymmetricKeyBytes

      protected byte[] getSymmetricKeyBytes(Message message, Element encDataElement)
    • decryptSymmetricKey

      protected byte[] decryptSymmetricKey(String base64EncodedKey, X509Certificate cert, org.apache.wss4j.common.crypto.Crypto crypto, String keyEncAlgo, Message message) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • decryptSymmetricKey

      protected byte[] decryptSymmetricKey(String base64EncodedKey, X509Certificate cert, org.apache.wss4j.common.crypto.Crypto crypto, String keyEncAlgo, String digestAlgo, Message message) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • decryptPayload

      protected byte[] decryptPayload(Element root, byte[] secretKeyBytes, String symEncAlgo) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • setEncryptionProperties

      public void setEncryptionProperties(EncryptionProperties properties)