This is not valid according to the spec:

ENC_KEY_INFO - an element named ds:KeyInfo, included as a child of an
ENCRYPTED_KEY or ENCRYPTED_DATA.

R5426 Any ENC_KEY_INFO MUST contain a child SECURITY_TOKEN_REFERENCE.

Colm.

On Wed, Mar 14, 2012 at 4:18 PM, Giovanni Bussu <bu...@link.it> wrote:
> EncryptedData looks like this:
>
>
> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";
> Id="ED-29" Type="http://www.w3.org/2001/04/xmlenc#Content";>
>         <xenc:EncryptionMethod
> Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
>         <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
>            <ds:KeyName>symmetric</ds:KeyName>
>         </ds:KeyInfo>
>         <xenc:CipherData>
>            <xenc:CipherValue>ZgNy4BC1/xcb0rwqC8LRaRqlQruaf9u/ObjEy3s
> +4L5Q4sQC
> +VMIbhSVZ6t0a7qqdNW8xghW5Rv4XVuZghQnnQg5SnLGdJmBMEFNIbVYG50mf9zV6gafRnVfWEOfWG6loUKtcs91JDjbQpidgvAnq1X4
> WnrGxf7wPrccgb45Cmem6K3qA4VoXtWA2O2VQ8yOTJSJKlgJZjpBmE
> +Zx0/bH5k7jNpC1NICVyM4
> IQYGC5WdTtGbLDjjL0e4eTbmRqOvvBNzX8Pwzl4o009GXOg/4Uij2beNbLJ3l
> +FD7dPk7R0cycjm
> z1HQjgZCx9vLaCBCNCLMqnk0XkCkhT/Rp3OI4TVT0c6/Ru+O1NK8ahXtnJcz6I
> +aLmnXYsFAlpgn
> FxAYCmu58zDndvg5gzNkOcwKD8XPujJQgX/lkM4zLZYY5QynNgUAuESVnK9CTM
> +9QFv2n1BSCCjB
> 2pAfLaB21x403IJgoX4p6udaBD
> +zo7r2QF9RpZzRm4g4l6487DMTw5Wzx0nJbmB2ERJ9gGTZ1lnM
> ouA/DvWrnhqFl3gy4GtKyaB4zK3fjTKL4wjgMfajmt8AwyoSlAWDj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7ocEWvYWxLA4
> rnh3I6DJW8NkbgNIwrDReOIYzLDhe/0GTjBNi//G6bMy5w7rHgu8wdISjfOA2rLMyW/PUmCKeEeg
> uEUjAvJlHmVD6HDgNkGTyYY8uyyQxQGZcsnrgfOCtU3rFqVv3vmuA
> +KnJEI=</xenc:CipherValue>
>         </xenc:CipherData>
> </xenc:EncryptedData>
> --
> Giovanni Bussu
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to