/** * Return a OtherInfo object from the passed in object. * * @param obj an object for conversion or a byte[]. * @return a OtherInfo */ public static OtherInfo getInstance(Object obj) { if (obj instanceof OtherInfo) { return (OtherInfo)obj; } else if (obj != null) { return new OtherInfo(ASN1Sequence.getInstance(obj)); } return null; }