code: public BigInteger getBigInteger() throws IOException {
          if (buffer.read() != DerValue.tag_Integer) {
              throw new IOException("DER input, Integer tag error");
          }
          return buffer.getBigInteger(getLength(buffer), false);
      }
docs: Get a integer from the input stream as a BigInteger object.
  
  @return the integer held in this DER input stream.