mace-opensaml-users - [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential
Subject: OpenSAML user discussion
List archive
- From: John Gonzales <>
- To: "" <>
- Subject: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential
- Date: Wed, 09 Feb 2011 02:07:14 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=xjJ1lPxMAAiid1nqbTKXx71mZEIZxqvbAefk1Krz3ir3EPQkOnEq5WkYR7P9T4xxEP ySKErmXaQMp6klm5ET1h9I/3wxKhVTIG6gSr//IiDczPfHin6grhHQ9XjM3m8l5i+n7u xaf1hKuvUs3ExJsB3YlGFoKVREq+52upgxDV4=
Hi there,
I'm following this guide for how to sign a SAML message: https://spaces.internet2.edu/display/OpenSAML/OSTwoUserManJavaDSIG
However, it doesn't explain how to actually obtain a signing credential with the OpenSAML API.
Here's my implementation of the getSigningCredential method referenced in the guide.
public static Credential getSigningCredential() {
BasicCredential credential = new BasicCredential();
credential.setPrivateKey(null); // HOW?
return credential;
}
I'm not sure how to obtain a PrivateKey, but more generally, I'm not even sure if this how the OpenSAML framework expects the signing credential to be generated.
I've searched around the documentation and have come to a point where some help might be all I need to move forward.
-jg.
- [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, John Gonzales, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, Chad La Joie, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, John Gonzales, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, Chad La Joie, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, John Gonzales, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, Paul Hethmon, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, John Gonzales, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, Chad La Joie, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, John Gonzales, 02/09/2011
- Re: [OpenSAML] Signing SAML Messages - HOWTO Create Signing Credential, Chad La Joie, 02/09/2011
Archive powered by MHonArc 2.6.16.