[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] doubts on BCI

how can we read a brandCRL Identifier( collection of crl within a given
credit card brand) .
i have tried the following code but it is giving exceptions.
InputStream inStream = new FileInputStream(s);
CertificateFactory cf = CertificateFactory.getInstance("X.509");
DataInputStream dis = new DataInputStream(inStream);
byte[] bytes = new byte[dis.available()];

ByteArrayInputStream bais = new ByteArrayInputStream(bytes);

Collection col = cf.generateCRLs(bais);

Iterator i=col.iterator();



 X509CRL crl=(X509CRL)i.next();
System.out.println(" the crl "+crl.toString());


thanx in advance

Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-jce