* Switched decoding to the correct way of doing it, which is to
* take the ASN.1 object and to call its decode() method, rather
* than calling readX() methods of the decoder. --volker roth
*/
dec = new DERDecoder(bais);
seq.decode(dec);
bais.close();
if (ca.isTrue()) {
/*
* Replaced long->string->int parsing with a simpler method