Encode/Decode AuthnRequest
Jim Hoy
jim.hoy at gmail.com
Fri Jul 19 10:41:13 EDT 2013
Does anyone have a sample AuthnRequest where the attributes are filled in
with the Shib config attribute names that match?
Thank you.
On Thu, Jul 18, 2013 at 5:06 PM, Jim Hoy <jim.hoy at gmail.com> wrote:
> I’m trying to programmatically encode and decode AuthnRequest XML. Which
> technologies are used and what steps would I follow to do this? If I
> understand correctly, the typical process goes like this:
>
> To encode:
>
> 1. Convert XML to byte stream
> 2. Compress the byte stream
> 3. Base64 encode the compressed stream
> 4. UrlEncode the Base64 string
>
> To decode:
>
> 1. UrlDecode the string
> 2. Base64 Decode the UrlDecoded string
> 3. Decompress the Base64
> 4. Convert the byte stream to XML
>
> When I try to decode the AuthnRequest that we are passing to an IDP, I
> don’t get anything usable. I’ve tried GZip and .Net’s DeflateStream. Do
> I have the encoding and decoding process corrent? What compression does
> shib use? Is the XML signed with a cert?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130719/aa54d828/attachment.html
More information about the dev
mailing list