Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] unable to obtain typed builder for ...

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] unable to obtain typed builder for ...


Chronological Thread 
  • From: owen nirvana <>
  • To:
  • Subject: Re: [OpenSAML] unable to obtain typed builder for ...
  • Date: Fri, 26 Mar 2010 01:31:24 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=nFE5nMw+D0KT7OtNaCEAeqzezNRPiQDLPGwJsrHfxveJXkiYMF3VnAXPh5yBsektaH aj9gUElbIpo1XvmtonO6n6jhmUTu6zDm/xyfgx4KcYsTRnf6mvZMhHJQNp78J7cBBiQc YaBa/FkOMbK/3KO0rEc2SLJlpp6HVPNLnZc+0=

Excuse me, I want generate documentation for cpp-opensaml, but no opensaml.tag, so, would you give me a copy or tarball of doc, thanks!



On Thu, Mar 25, 2010 at 4:52 AM, Scott Cantor <> wrote:
> anther question, I hope i am not too boring. about encrypt, in C++,
> encrypt need get credential from metaprovider,

The shorthand methods at the opensaml layer rely on metadata. The encryption
primitives in the xmltooling later don't, they just rely on a Credential,
like with signing.

> I don't know why do so.
> why could not get credential in the same way  as signature.

You can, you'd just encrypt the objects yourself. You can find the code
(which is very minimal) in the EncryptedElementType::encrypt method
implementation.

> and does it
> mean we need another credential resolver xml file.

You never need an XML file, you need a DOM. Those are very different
requirements.

> as far as now, I
> could not understand the process of saml assertion encryption yet, but I
> think it should  use the same way between encryption and signature

It's a small change to add an encrypt method that doesn't take metadata, but
I had no use for it. Metadata is everything in this SAML implementation.
None of the code will be useful to you if you're not using it, it's found in
all of the important APIs. Using this library solely for XML manipulation is
a waste of your time.

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page