<p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Bookerly" size="4" style="font: 14.0px Bookerly">Gotcha. Thanks very much.<span class="Apple-converted-space"> </span></font></p>
<br/> <div id="bloop_sign_1472746890664019200" class="bloop_sign"><div><font face="Bookerly"><span style="font-size: 14px;">-- <br>Misagh</span></font></div></div> <div class="airmail_ext_on" style="color:black"><br>From: <span style="color:black">Cantor, Scott</span> <a href="mailto:cantor.2@osu.edu"><cantor.2@osu.edu></a><br/>Reply: <span style="color:black">Shib Dev</span> <a href="mailto:dev@shibboleth.net"><dev@shibboleth.net></a><br/>Date: <span style="color:black">September 1, 2016 at 9:07:07 AM</span><br/>To: <span style="color:black">Shib Dev</span> <a href="mailto:dev@shibboleth.net"><dev@shibboleth.net></a><br/>Subject: <span style="color:black"> Re: HTTPRedirectDeflateEncoder removing AuthnRequest signatures? <br/></div><br> <blockquote type="cite" class="clean_bq"><span><div ><div></div><div>On 9/1/16, 11:49 AM, "dev on behalf of Misagh Moayyed" <dev-bounces@shibboleth.net on behalf of mmoayyed@unicon.net> wrote:
<br/>
<br/>> Yes, if I understand your correctly. My method of confirmation is to basically check to
<br/>> see if the authn request object carries a signature, mostly via isSigned().
<br/>
<br/>We use support classes in the IdP that recognize signatures at different layers if we need to generically ask that, e.g. SAMLBindingSupport.isMessageSigned()
<br/>
br/>> Could I ask you to elaborate a bit more on this?? Binding level, when? And what sort of
<br/>> specialized algorithm?
br/>
<
<br/>SAML Bindings, sec. 3.4 describes the algorithm used.
<br/>
<br/>https://www.oasis-open.org/committees/download.php/56780
<br/>
<br/>When we "sign" messages, we populate a context with all of the signing parameters (i.e. the key, etc.) and then we pass control to message handlers that are binding specific and sign the "message" in whatever way is appropriate. In the Redirect case, the message encoder does the signing, and the handler that would sign the XML knows not to do anything.
<br/>
<br/>I may be misremembering, maybe we do the XML signing in the POST encoder also, I can't recall if that was what V2 did or what V3 does. Either way, we don't sign the XML if the outbound binding is Redirect.
<br/>
<br/>-- Scott
<br/>
<br/>
<br/>--
br/>To unsubscribe from this list send an email to dev-unssubscribe@shibboleth.net
<br/></div></div></span></blockquote>