Accessing Metadata via Java
Cantor, Scott
cantor.2 at osu.edu
Sat Jan 28 23:00:36 GMT 2012
On 1/28/12 3:55 PM, "Ken Schwartzreich" <shibboleth at CubicC.com> wrote:
>Hi, all. I want to programmatically retrieve the certificate (public
>key) of a particular SP during an authentication session (because I want
>to encrypt an attribute so that only they can ever decrypt it). How can
>I do this?
Access the MetadataProvider(s) installed and retrieve the information.
>If I replace the get("default") with get(<entity ID of SP>), it still
>returns the same key to me.
Because that returns your key(s), not somebody else's.
-- Scott
More information about the dev
mailing list