X509 encoded certificate - is it really ASN.1?
918776Mar 14 2012 — edited Mar 16 2012I can get a good Certificate from encoded bytes bcert
ByteArrayInputStream bis = new ByteArrayInputStream(bcert);
CertificateFactory cf = CertificateFactory.getInstance("X.509");
X509Certificate cert = (X509Certificate)cf.generateCertificate(bis);
my question: is an encoded certificate (eg bcert) a good ASN.1 ?
I cant DeCode with marben nor with codec.sourceforge
Am I wasting my time looking for an ASN.1 decoder? anyway java decodes the bytes to a certificate just fine.