English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2009-05-05 (19:26)
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:


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.