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

[iaik-jce] getTBSCertificate

I have a need to get the TBSCertificate and TBSCertList structures from
X509Certificate and X509CRL, respectively, before signing them.
Currently these methods (getTBSCertificate and getTBSCertList) only work
after the Certificate or CRL has been signed.

If getTBSCertificate() is called before sign() has been called I get:
iaik.asn1.CodingException: Cannot parse data from a null object!

The error for X509CRL is nearly identical.

Is there any chance this can and will be fixed?


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