RE: Querying for the Encryption MGF Algorithm

2015-06-22 Thread Stephen.CTR.Chappell
for the Encryption MGF Algorithm 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

Re: Querying for the Encryption MGF Algorithm

2015-06-22 Thread Colm O hEigeartaigh
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

Re: Querying for the Encryption MGF Algorithm

2015-06-22 Thread Colm O hEigeartaigh
I should also add that I moved the private static EncryptedKeyProcessor.getMGFAlgorithm() method into EncryptionUtils, so you can just use this instead with the next release. Colm. On Mon, Jun 22, 2015 at 10:43 AM, Colm O hEigeartaigh cohei...@apache.org wrote: No there isn't. I was going to

Querying for the Encryption MGF Algorithm

2015-06-19 Thread Stephen.CTR.Chappell
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