package o; import java.math.BigInteger; /* loaded from: classes6.dex */ public final class glK extends AbstractC15242glD { boolean c; public byte[] d; public glK(glS gls, byte[] bArr) { this(gls, bArr, false); } /* JADX INFO: Access modifiers changed from: package-private */ public glK(glS gls, byte[] bArr, boolean z) { super(gls); this.d = bArr; this.c = z; } @Override // o.AbstractC15242glD protected final String d() { String str; if (this.c) { int bitLength = this.d != null ? new BigInteger(1, this.d).bitLength() : 0; StringBuilder sb = new StringBuilder("["); sb.append(bitLength); sb.append("] "); str = sb.toString(); } else { str = ""; } StringBuilder sb2 = new StringBuilder(); sb2.append(str); sb2.append(C15295gmj.d(this.d)); return sb2.toString(); } @Override // o.AbstractC15242glD protected final byte[] a() { return this.d; } }