if (obj == null || obj instanceof X509Name) { return (X509Name)obj; } else if (obj instanceof ASN1Sequence) { return new X509Name((ASN1Sequence)obj); }  throw new IllegalArgumentException("unknown object in factory");
return getInstance(ASN1Sequence.getInstance(obj, explicit));
    public static X509Name getInstance(        Object  obj)    {        if (obj == null || obj instanceof X509Name)        {            return (X509Name)obj;        }        else if (obj instanceof ASN1Sequence)        {            return new X509Name((ASN1Sequence)obj);        }        throw new IllegalArgumentException("unknown object in factory");    }