No there isn't. I was going to write that what need to do is to retrieve the DOM Element via WSSecurityEngineResult.TAG_TOKEN_ELEMENT, and then parse it with code like EncryptedKeyProcessor.getMGFAlgorithm()...however, it appears we don't store the DOM Element for EncryptedKeys. I have fixed this for the next release. If you really need the MGF algorithm right now, I guess you'll need to grab the security header + find the same EncryptedKey that corresponds to the WSSecurityEngineResult + get the MGF algorithm from that.
Colm. On Fri, Jun 19, 2015 at 8:23 PM, <[email protected]> wrote: > When processing a security header, you can determine the key transport > algorithm through > WSSecurityEngineResult.TAG_ENCRYPTED_KEY_TRANSPORT_METHOD. Is there a > similar tag that lets you query the new Encryption MGF Algorithm? I > couldn't' find anything in WSSecurityEngineResult. Thanx. > > Stephen W. Chappell > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
