// constructor. Anyway, we do it manually...
SEQUENCE.Template foo = new SEQUENCE.Template();
foo.addElement(ANY.getTemplate());
foo.addElement(ANY.getTemplate());
SEQUENCE bar = (SEQUENCE) foo.decode(new ByteArrayInputStream(sigBytes));
BigInteger r = new BigInteger(1, ((ANY) bar.elementAt(0)).getContents());
BigInteger s = new BigInteger(1, ((ANY) bar.elementAt(1)).getContents());
BigInteger e = trimHash(hash.digest(), params);
BigInteger n = params.getOrder();