Class EncryptedKeyProcessor

java.lang.Object
org.apache.wss4j.dom.processor.EncryptedKeyProcessor
All Implemented Interfaces:
Processor

public class EncryptedKeyProcessor extends Object implements Processor
  • Constructor Details

    • EncryptedKeyProcessor

      public EncryptedKeyProcessor()
  • Method Details

    • handleToken

      public List<WSSecurityEngineResult> handleToken(Element elem, RequestData data) throws org.apache.wss4j.common.ext.WSSecurityException
      Specified by:
      handleToken in interface Processor
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • handleToken

      public List<WSSecurityEngineResult> handleToken(Element elem, RequestData data, org.apache.wss4j.common.crypto.AlgorithmSuite algorithmSuite) throws org.apache.wss4j.common.ext.WSSecurityException
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • decryptDataRefs

      protected List<WSDataRef> decryptDataRefs(Element refList, WSDocInfo docInfo, byte[] decryptedBytes, RequestData data) throws org.apache.wss4j.common.ext.WSSecurityException
      Decrypt all data references
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • decryptDataRef

      protected WSDataRef decryptDataRef(Document doc, String dataRefURI, WSDocInfo docInfo, byte[] decryptedData, RequestData data) throws org.apache.wss4j.common.ext.WSSecurityException
      Decrypt an EncryptedData element referenced by dataRefURI
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException