Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] creating a keyinfo element with opensaml

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] creating a keyinfo element with opensaml


Chronological Thread 
  • From: "Jason Countryman" <>
  • To:
  • Subject: Re: [OpenSAML] creating a keyinfo element with opensaml
  • Date: Wed, 14 Apr 2010 13:38:47 -0400

That got me on the right track, thank you everyone.


______________________________
Jason T. Countryman
Programmer
Community Computer Service


---------- Original Message -----------
From: Brent Putman <>
To:
Sent: Wed, 14 Apr 2010 13:00:48 -0400
Subject: Re: [OpenSAML] creating a keyinfo element with opensaml

> On 4/14/10 11:41 AM, Jason Countryman wrote:
> > I think I'll need to use the KeyIdentifier.setValue method, but I'm not sure
> > what to pass to that...any guidance on this would be appreciated.
> >
> >    
>
> Based on the EncodingType and ValueType you have there, you need to
> supply the Base64-encoded form of the signing cert's Subject Key
> Identifier (SKI) extension.  There is a helper method in X509Util to
> obtain the SKI from a Java X509Certificate instance, which returns a
> byte[].   Then just Basee64-encode that using the Base64 utility
> class.    I believe that should get you what you want.
------- End of Original Message -------
This message has been scanned for viruses and dangerous content by MailScanner, SpamAssassin & ClamAV.

This message and any attachments may contain information that is protected by law as privileged and confidential, and
is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified
that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited.
If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.



Archive powered by MHonArc 2.6.16.

Top of Page