[xmlsec] Loading PEM keys from memory instead of a file

Meg Morgan meg@votehere.net
Fri, 24 Jan 2003 18:40:50 +0000


Excellent.  Thank you!

meg

Aleksey Sanin wrote:
> 
> http://www.aleksey.com/xmlsec/api/xmlsec-transforms.html#XMLSECRSAKEYGENERATE
> http://www.aleksey.com/xmlsec/api/xmlsec-transforms.html#XMLSECDSAKEYGENERATE
> ....
> 
> Yes, I know that the function names are bad :(
> 
> Aleksey
> 
> Meg Morgan wrote:
> 
> >Currently I'm generating RSA and DSA keys with openssl
> >and saving them into files, then using xmlSecSimpleKeysMngrLoadPemKey
> >to load them into the key manager.  What I really want to do is to
> >load the keys as char*s or strings from memory.  I'd rather not assume
> >a file system at all.  How do I load keys from memory?
> >
> >Thanks,
> >meg morgan
> >
> >
> >

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Meg Morgan                           425/450-2754
meg@votehere.net                   http://www.votehere.net