package o; /* loaded from: classes6.dex */ public final class gpC extends AbstractC15346gnv { private AbstractC15317gnH c; public gpC(AbstractC15317gnH abstractC15317gnH) { this.c = abstractC15317gnH; } public final C15392gpI[] d() { C15392gpI c15392gpI; C15392gpI[] c15392gpIArr = new C15392gpI[this.c.e()]; for (int i = 0; i != this.c.e(); i++) { InterfaceC15342gnr d = this.c.d(i); if (d == null || (d instanceof C15392gpI)) { c15392gpI = (C15392gpI) d; } else if (d instanceof AbstractC15317gnH) { c15392gpI = new C15392gpI((AbstractC15317gnH) d); } else { StringBuilder sb = new StringBuilder("Invalid DistributionPoint: "); sb.append(d.getClass().getName()); throw new IllegalArgumentException(sb.toString()); } c15392gpIArr[i] = c15392gpI; } return c15392gpIArr; } public final String toString() { StringBuffer stringBuffer = new StringBuffer("CRLDistPoint:"); String b = grR.b(); stringBuffer.append(b); C15392gpI[] d = d(); for (int i = 0; i != d.length; i++) { stringBuffer.append(" "); stringBuffer.append(d[i]); stringBuffer.append(b); } return stringBuffer.toString(); } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { return this.c; } }