package o; /* loaded from: classes6.dex */ public final class gpV extends AbstractC15346gnv { public boolean a; public C15395gpL b; public boolean c; public boolean d; public boolean e; public gpX i; private AbstractC15317gnH j; public gpV(AbstractC15317gnH abstractC15317gnH) { this.j = abstractC15317gnH; for (int i = 0; i != abstractC15317gnH.e(); i++) { AbstractC15321gnP d = AbstractC15321gnP.d(abstractC15317gnH.d(i)); int i2 = d.e; if (i2 == 0) { InterfaceC15342gnr interfaceC15342gnr = d.d; this.b = C15395gpL.b((AbstractC15321gnP) (interfaceC15342gnr != null ? interfaceC15342gnr.i() : null)); } else if (i2 == 1) { this.a = C15345gnu.c(d).e[0] != 0; } else if (i2 == 2) { this.e = C15345gnu.c(d).e[0] != 0; } else if (i2 == 3) { this.i = new gpX(gpX.a(d)); } else if (i2 == 4) { this.d = C15345gnu.c(d).e[0] != 0; } else if (i2 == 5) { this.c = C15345gnu.c(d).e[0] != 0; } else { throw new IllegalArgumentException("unknown tag in IssuingDistributionPoint"); } } } public final String toString() { String b = grR.b(); StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append("IssuingDistributionPoint: ["); stringBuffer.append(b); C15395gpL c15395gpL = this.b; if (c15395gpL != null) { c(stringBuffer, b, "distributionPoint", c15395gpL.toString()); } boolean z = this.a; if (z) { c(stringBuffer, b, "onlyContainsUserCerts", z ? "true" : "false"); } boolean z2 = this.e; if (z2) { c(stringBuffer, b, "onlyContainsCACerts", z2 ? "true" : "false"); } gpX gpx = this.i; if (gpx != null) { c(stringBuffer, b, "onlySomeReasons", gpx.toString()); } boolean z3 = this.c; if (z3) { c(stringBuffer, b, "onlyContainsAttributeCerts", z3 ? "true" : "false"); } boolean z4 = this.d; if (z4) { c(stringBuffer, b, "indirectCRL", z4 ? "true" : "false"); } stringBuffer.append("]"); stringBuffer.append(b); return stringBuffer.toString(); } private static void c(StringBuffer stringBuffer, String str, String str2, String str3) { stringBuffer.append(" "); stringBuffer.append(str2); stringBuffer.append(":"); stringBuffer.append(str); stringBuffer.append(" "); stringBuffer.append(" "); stringBuffer.append(str3); stringBuffer.append(str); } @Override // o.AbstractC15346gnv, o.InterfaceC15342gnr public final AbstractC15315gnE i() { return this.j; } }