From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 2D8B3BBAF for ; Tue, 5 May 2009 18:17:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmsJANMDAEpdEYATd2dsb2JhbACNaQGJDQEMCgkJEboYB4N6BQ X-IronPort-AV: E=Sophos;i="4.40,298,1238968800"; d="scan'208";a="27255228" Received: from smtp23.services.sfr.fr ([93.17.128.19]) by mail3-smtp-sop.national.inria.fr with ESMTP; 05 May 2009 18:17:45 +0200 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2303.sfr.fr (SMTP Server) with ESMTP id C6C907000091 for ; Tue, 5 May 2009 18:17:45 +0200 (CEST) Received: from pema (45.139.91-79.rev.gaoland.net [79.91.139.45]) by msfrf2303.sfr.fr (SMTP Server) with ESMTP id ADC90700008E for ; Tue, 5 May 2009 18:17:45 +0200 (CEST) X-SFR-UUID: 20090505161745711.ADC90700008E@msfrf2303.sfr.fr Received: from seb by pema with local (Exim 4.69) (envelope-from ) id 1M1NKz-00054I-5n for caml-list@inria.fr; Tue, 05 May 2009 18:17:45 +0200 Date: Tue, 5 May 2009 18:17:44 +0200 From: =?iso-8859-1?Q?S=E9bastien?= Hinderer To: caml-list@inria.fr Subject: Loading RSA public key from DER files in Caml ? Message-ID: <20090505161744.GA19037@pema> Mail-Followup-To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; ens-lyon:01 bindings:01 cryptokit:01 caml:02 loading:05 rsa:07 rsa:07 function:08 load:08 sebastien:09 sebastien:09 file:11 but:14 some:14 looked:15 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.