37 lines
915 B
Java
37 lines
915 B
Java
package o;
|
|
|
|
import java.io.IOException;
|
|
import java.util.Enumeration;
|
|
import org.spongycastle.asn1.ASN1ParsingException;
|
|
|
|
/* renamed from: o.goP, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
final class C15358goP implements Enumeration {
|
|
private Object b = c();
|
|
private C15348gnx d;
|
|
|
|
public C15358goP(byte[] bArr) {
|
|
this.d = new C15348gnx(bArr, (byte) 0);
|
|
}
|
|
|
|
@Override // java.util.Enumeration
|
|
public final Object nextElement() {
|
|
Object obj = this.b;
|
|
this.b = c();
|
|
return obj;
|
|
}
|
|
|
|
private Object c() {
|
|
try {
|
|
return this.d.b();
|
|
} catch (IOException e) {
|
|
throw new ASN1ParsingException("malformed DER construction: ".concat(String.valueOf(e)), e);
|
|
}
|
|
}
|
|
|
|
@Override // java.util.Enumeration
|
|
public final boolean hasMoreElements() {
|
|
return this.b != null;
|
|
}
|
|
}
|