HOWTO Create X509Credentials from public keys
Misagh Moayyed
mmoayyed at unicon.net
Thu Jun 11 20:36:32 EDT 2015
What is the component that would allow me to create BasicX509Credential
objects with just the public key? Or better yet, what is the right way to
construct a "SignatureValidationFilter"?
I see that the filter requires a trust engine, so I gave it
"ExplicitKeySignatureTrustEngine". Next, configured the trust engine with
a number of keyInfoProviders, (what the IdP has already configured) and a
localCredentialResolver which is a "StaticKeyInfoCredentialResolver" and
gave it a list of credentials.and this is where I have come to stop.
For credentials, all I have is the public key and I don't think I am able
to use "BasicX509CredentialFactoryBean" since it needs the private key.
What would allow me to create that credential?
Misagh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150611/99e54610/attachment-0001.html>
More information about the dev
mailing list