package o; import java.io.IOException; import org.spongycastle.asn1.ASN1ParsingException; /* loaded from: classes6.dex */ public final class gnZ implements InterfaceC15323gnS { private int b; private boolean c; private gnK d; /* JADX INFO: Access modifiers changed from: package-private */ public gnZ(boolean z, int i, gnK gnk) { this.c = z; this.b = i; this.d = gnk; } @Override // o.goR public final AbstractC15315gnE a() throws IOException { return this.d.b(this.c, this.b); } @Override // o.InterfaceC15342gnr public final AbstractC15315gnE i() { try { return a(); } catch (IOException e) { throw new ASN1ParsingException(e.getMessage()); } } }