caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Loading RSA public key from DER files in Caml ?
@ 2009-05-05 16:17 Sébastien Hinderer
  2009-05-05 19:26 ` [Caml-list] " Jake Donham
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Hinderer @ 2009-05-05 16:17 UTC (permalink / raw)
  To: caml-list

Dear all,

Is there some code available to load an RSA public key from a
.der file ?

I looked in the bindings for cryptokit and those for ssl but couldn't
find the desired function.
Any help would be greatly appreciated !

Many thanks in advance,
Sébastien.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Loading RSA public key from DER files in Caml ?
  2009-05-05 16:17 Loading RSA public key from DER files in Caml ? Sébastien Hinderer
@ 2009-05-05 19:26 ` Jake Donham
  0 siblings, 0 replies; 2+ messages in thread
From: Jake Donham @ 2009-05-05 19:26 UTC (permalink / raw)
  To: caml-list

On Tue, May 5, 2009 at 9:17 AM, Sébastien Hinderer
<Sebastien.Hinderer@ens-lyon.org> wrote:
> Is there some code available to load an RSA public key from a
> .der file ?

Maybe this is helpful:

  http://code.google.com/p/ooauth/source/browse/trunk/pem2cryptokit.c

It takes a PEM file containing an RSA key and converts it to a
marshaled Crypokit.RSA.key. I guess you can get from DER to PEM easily
or modify this code to read DER files.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-05 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-05 16:17 Loading RSA public key from DER files in Caml ? Sébastien Hinderer
2009-05-05 19:26 ` [Caml-list] " Jake Donham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).