code: private static int pack7Oid(BigInteger input, byte[] out, int ooffset) {
          byte[] b = input.toByteArray();
          return pack7Oid(b, 0, b.length, out, ooffset);
      }
docs: Pack the BigInteger into a OID subidentifier DER encoding