<html><head><style>body{font-family:Bookerly,Arial;font-size:14px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="margin: 0px;"><font size="3">Background: I am working with a piece of code that attempts to create signed authn requests based on opensaml 3.2. (tried with 3.1 as well) </font></div><div id="bloop_customfont" style="margin: 0px;"><font size="3"><br></font></div><div id="bloop_customfont" style="margin: 0px;"><font size="3">Once the code has built an AuthnRequest object, among other things none of which are relevant, attempts to invoke “SAMLOutboundProtocolMessageSigningHandler" on the outbound context to sign the request. When the call returns, I can </font>actually<font size="3"> verify and see that the request is properly signed. </font></div><div id="bloop_customfont" style="margin: 0px;"><font size="3"><br></font></div><div id="bloop_customfont" style="margin: 0px;"><font size="3">Then, when the code attempts to encode the request via “HTTPRedirectDeflateEncoder", the signature on the singable object is removed a</font>priori. As a result, the authn request received by the IdP is never signed. I can see this, because when the IdP receives and decodes the authn request, isSigned() is always false. If I mod the encoder to not remove the signature prior to it encoding, the resulting authn request received by the IdP turns out to be signed via isSigned() being true. </div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">Is the order of operations correct? What might I be missing to let signed authn requests be received by the IdP? </div><br><div id="bloop_sign_1472729161220588800" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Misagh</div></div></body></html>