0 Replies Latest reply on Dec 26, 2010 2:55 PM by 813647

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


      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?