code:     public static ASN1Integer getInstance(
          ASN1TaggedObject obj,
          boolean explicit)
      {
          ASN1Primitive o = obj.getObject();
  
          if (explicit || o instanceof ASN1Integer)
          {
              return getInstance(o);
          }
          else
          {
              return new ASN1Integer(ASN1OctetString.getInstance(obj.getObject()).getOctets());
          }
      }
  
  