0 Replies Latest reply: Dec 26, 2010 8:55 AM by 813647 RSS

    Obtain a public key from an crt file.Certificate factory in JavaME

    813647
      Hello.

      My question is simple.I want to obtain a public key from an crt file. Basically I want to implement this Java code:

      CertificateFactory cf = CertificateFactory.getInstance("X.509");
      Certificate cert = cf.generateCertificate(getClass().getResourceAsStream("other/milc.crt"));


      Into JavaME.Any ideas?