Class EncryptedKeyProcessor

    • Constructor Detail

      • EncryptedKeyProcessor

        public EncryptedKeyProcessor()
    • Method Detail

      • 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