Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Can i add '.cer' and '.key' content to my own XML config file and read it from there to create 'X509Credential'

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Can i add '.cer' and '.key' content to my own XML config file and read it from there to create 'X509Credential'


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML] Can i add '.cer' and '.key' content to my own XML config file and read it from there to create 'X509Credential'
  • Date: Sun, 20 Mar 2011 11:10:13 -0400
  • Organization: Itumi, LLC

If you look in the security package there are helper classes that can
create keys, certs, and CRLs from byte[]. So if you're going to create
your own custom encoding that's what you'd use.

On 3/20/11 9:10 AM, Its Me wrote:
> Dear All,
>
> Please help me with this general question. I have a 'some_cert.cer'
> file and 'origin-some-vcert1.key' file, i read these files using Java IO
> stream and create the 'X509Credential'. My question is : Can i configure
> '.cer' and '.key' file content in my own XML file and read it from there
> as a string rather than read it from File using Java IO?
>
> Thank you,
> Suguna
>
>
>
>

--
Chad La Joie
http://itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page