Version française
Home     About     Download     Resources     Contact us    
Browse thread
Loading RSA public key from DER files in Caml ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] Loading RSA public key from DER files in Caml ?
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.