Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-575

Support for Digest other than sha1 in xenc:EncryptionMethod

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 2.0.8, 2.1.6
    • WSS4J Core

    Description

      To support a specific security profile we need to be able to set the DigestMethod to sha256. We already have a custom algorithmsuite implementing org.apache.wss4j.policy.model.AlgorithmSuite supporting everyhting but the ds:DigestMethod:

      <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep">
      <xenc11:MGF xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha256"/>
      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
      </xenc:EncryptionMethod>

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            muellers Stefan Müller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: