A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
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);
This is Java standard code: J2ME does not have
How can I obtain the same result by using the light bouncycastle APIs?
It is sorta covered in the
JavaRanch Style Guide
subject: J2ME and Bouncycastle
sequence wrong size for a certificate
Help with conversion of String to x509Certificate
as of release 5, 'enum' is a keyword...
reading certificate from smart card
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014