A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Java Micro Edition
J2ME and Bouncycastle
Joined: Mar 11, 2010
Jul 18, 2012 01:51:22
I'm using bc API to create a
In my case, I have a byte array that is the certificate, but I don't find a way to create the X509Cretificate object corresponding to the byte array.
FileInputStream is = new FileInputStream(new File("Path to der")); CertificateFactory cf = CertificateFactory.getInstance("X509", "BC"); X509Certificate cert = (X509Certificate) cf.generateCertificate(is);
standard code: J2ME does not have
How can I obtain the same result by using the light bouncycastle APIs?
I agree. Here's the link:
subject: J2ME and Bouncycastle
Help with conversion of String to x509Certificate
sequence wrong size for a certificate
reading certificate from smart card
as of release 5, 'enum' is a keyword...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015