File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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);
This is Java 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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: J2ME and Bouncycastle
as of release 5, 'enum' is a keyword...
sequence wrong size for a certificate
Help with conversion of String to x509Certificate
reading certificate from smart card
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013