HOWTO Create X509Credentials from public keys

Cantor, Scott cantor.2 at osu.edu
Sat Jun 13 15:17:21 EDT 2015


On 6/12/15, 8:01 PM, "dev on behalf of Misagh Moayyed" <dev-bounces at shibboleth.net on behalf of mmoayyed at unicon.net> wrote:

>Thanks. This actually led me to use "BasicResourceCredentialFactoryBean". 
>Now for some reason, I am not able to actually read the public key, that is 
>the incommon metadata signing key.

That's not a key, that's a certificate.

>KeyPairUtil.readPublicKey(in);

Pretty sure that only reads PEM-encoded keys, not certs.

-- Scott



More information about the dev mailing list