[Openid-specs-ab] JWE AES KeyWrap Example

Mike Jones Michael.Jones at microsoft.com
Thu Sep 13 06:54:24 UTC 2012


Could one or more of you please check the attached AES KeyWrap example that I plan to add to the JWE spec?  It uses "alg":"A128KW" and "enc":"A128GCM".  Both algorithms produce repeatable results, and so the example should be fully reproducible.

Like the previous updated examples, the format of the JWE is:
               header.encryptedKey.initializationVector.ciphertext.integrityValue
and the Additional Associated Data value for the GCM calculation is computed as:
               securedInput = encodedHeader + "." + encodedEncryptedKey + "." + encodedInitializationVector;

                                                            Thanks,
                                                            -- Mike


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20120913/a1ad84c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AESKeyWrap.log
Type: application/octet-stream
Size: 2408 bytes
Desc: AESKeyWrap.log
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20120913/a1ad84c9/attachment.obj>


More information about the Openid-specs-ab mailing list