Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Signing problem

Subject: OpenSAML user discussion

List archive

Re: Signing problem


Chronological Thread 
  • From: Massimiliano Masi <>
  • To:
  • Subject: Re: Signing problem
  • Date: Mon, 27 Aug 2007 10:34:49 +0200

Hi,

Quoting Brent Putman
<>:
If you're not obtaining a signing Credential from a CredentialResolver,
you can just build a simple credential that wraps a symmetric key or key
pair with one of the utility methods in
org.opensaml.xml.security.SecurityHelper

Thank you: I have the privkey and publickey as DER / X509 certs, I take them
as Java PrivateKey and X509Certificate like this:

BasicCredential credential = SecurityHelper.getSimpleCredential(servicePublicKey, servicePrivateKey);


What is a CredentialResolver?

Another question: in the example in Trunk,
http://svn.middleware.georgetown.edu/view/trunk/test/org/opensaml/saml2/core/SignedAssertionTest.java?revision=1050&view=markup

there is this comment:


//TODO verify signature with new trust engine

Is there a new trust engine for opensaml?


Thanks,


Massimiliano

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





Archive powered by MHonArc 2.6.16.

Top of Page