public static ProfessionInfo getInstance(Object obj) { if (obj == null || obj instanceof ProfessionInfo) { return (ProfessionInfo)obj; } if (obj instanceof ASN1Sequence) { return new ProfessionInfo((ASN1Sequence)obj); } throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName()); }
public static ProfessionInfo getInstance(Object obj) { if (obj == null || obj instanceof ProfessionInfo) { return (ProfessionInfo)obj; } if (obj instanceof ASN1Sequence) { return new ProfessionInfo((ASN1Sequence)obj); } throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName()); }
pis[i] = new ProfessionInfo(pio.namingAuthority(), professionItems, pio.professionOids().toArray(new ASN1ObjectIdentifier[0]), registrationNumber, addProfessionInfo);
pis[i] = new ProfessionInfo(pio.getNamingAuthority(), professionItems, pio.getProfessionOids().toArray(new ASN1ObjectIdentifier[0]), registrationNumber, addProfessionInfo);
registrationNumber = pio.getRegistrationNumberOption().getConstant(); pis[i] = new ProfessionInfo(pio.getNamingAuthority(), professionItems, pio.getProfessionOids().toArray(new ASN1ObjectIdentifier[0]), registrationNumber, addProfessionInfo);
registrationNumber = pio.registrationNumberOption().constant(); pis[i] = new ProfessionInfo(pio.namingAuthority(), professionItems, pio.professionOids().toArray(new ASN1ObjectIdentifier[0]), registrationNumber, addProfessionInfo);