I don't believe that HsOpenSSL offers support for creating your own SSL keys programmatically from Haskell. Do you actually need to generate keys programmatically? If not, you could manually use OpenSSL's command line tools; if your needs are simple enough it shouldn't be too hard to spawn a subprocess to generate the keys. Best, Leon On Sat, Jan 1, 2011 at 5:49 PM, Charles-Pierre Astolfi <cpa@crans.org> wrote:
Hi -cafe,
I'm using the OpenSSL package, and I don't see any way to forge my own keys. (http://hackage.haskell.org/packages/archive/HsOpenSSL/0.9/doc/html/OpenSSL-R...) For example, in the case of RSA, I'm given the exponent and modulus and I would like to create a public key from that, of type RSAPubKey. Is it possible ? How should I do?
I'm not particularly tied to OpenSSL, anything that let me use RSA and DSA would be fine.
Regards, -- Cp
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe