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

Re: [iaik-jce] reading a p7b file

Use class iaik.pkcs.PKCS7CertList for parsing PKCS#7 formatted certificate

        FileInputStream fis = ...;
        PKCS7CertList pkcs7 = new PKCS7CertList(fis);
        X509Certificate[] certs = pkcs7.getCertificateList();

See sample demo.pkcs.PKCS7.

Dieter Bratko

> How can I read and parse a certificate chain in a p7b file?

> Thank you!

> Riccardo Conturbia
> Politecnico di Torino

Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

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