<HTML>
<STYLE> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</STYLE>
Thanks, Scott. Which API call(s) can I use to retrieve the MetadataProvider? <A title="class in edu.internet2.middleware.shibboleth.common.relyingparty.provider" href="./edu/internet2/middleware/shibboleth/common/relyingparty/provider/SAMLMDRelyingPartyConfigurationManager.html">SAMLMDRelyingPartyConfigurationManager</A>.getMetaDataProvider() ?<br>
<br>
<br>
<br>
<B>On Sat 01/28/12 6:00 PM , "Cantor, Scott" cantor.2@osu.edu sent:<br>
</B>
<BLOCKQUOTE style="BORDER-LEFT: #5167c6 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">On 1/28/12 3:55 PM, "Ken Schwartzreich" <<A href="mailto:shibboleth@CubicC.com">shibboleth@CubicC.com</A>> wrote:<br>
<br>
<SPAN style="COLOR: #666666">>Hi, all. I want to programmatically retrieve the certificate (public</SPAN><br>
<SPAN style="COLOR: #666666">>key) of a particular SP during an authentication session (because I want</SPAN><br>
<SPAN style="COLOR: #666666">>to encrypt an attribute so that only they can ever decrypt it). How can</SPAN><br>
<SPAN style="COLOR: #666666">>I do this?</SPAN><br>
<br>
Access the MetadataProvider(s) installed and retrieve the information.<br>
<br>
<SPAN style="COLOR: #666666">>If I replace the get("default") with get(<ENTITY SP of>), it still</SPAN><br>
<SPAN style="COLOR: #666666">>returns the same key to me.</SPAN><br>
<br>
Because that returns your key(s), not somebody else's.<br>
<br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <A href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</A><br>
<br>
<br>
</BLOCKQUOTE></HTML>