0 Replies Latest reply on Nov 20, 2012 2:51 AM by leven_56

    Generate RSA Keys from AS and dump them into X509 Certificate files

    leven_56

      Hi,

       

      I'm generating RSA Keys and using them to encrypt/decrypt data.

      I can also load them from generated X509 certificates from disk (generated with openssl)

      I'm trying to dump generated RSA Keys into X509 certificate files on disk with no success....

      Did someone manage to do this?

       

      some code:

      var rsaKey:RSAKey = RSAKey.generate(bits, exp);

      var x509Cert:X509Certificate = new X509Certificate(rsaKey);

      ....???

       

      Thx in advance

      Laurent