43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
package o;
|
|
|
|
import java.io.IOException;
|
|
import java.security.Principal;
|
|
import org.bouncycastle.asn1.ASN1Encoding;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class gqV extends C15446gqo implements Principal {
|
|
private static AbstractC15317gnH d(C15348gnx c15348gnx) throws IOException {
|
|
try {
|
|
return AbstractC15317gnH.a(c15348gnx.b());
|
|
} catch (IllegalArgumentException e) {
|
|
throw new IOException("not an ASN.1 Sequence: ".concat(String.valueOf(e)));
|
|
}
|
|
}
|
|
|
|
public gqV(byte[] bArr) throws IOException {
|
|
super(d(new C15348gnx(bArr)));
|
|
}
|
|
|
|
public gqV(C15446gqo c15446gqo) {
|
|
super((AbstractC15317gnH) c15446gqo.i());
|
|
}
|
|
|
|
public gqV(C15417gpt c15417gpt) {
|
|
super((AbstractC15317gnH) c15417gpt.i());
|
|
}
|
|
|
|
@Override // java.security.Principal
|
|
public final String getName() {
|
|
return toString();
|
|
}
|
|
|
|
@Override // o.AbstractC15346gnv
|
|
public final byte[] l() {
|
|
try {
|
|
return c(ASN1Encoding.DER);
|
|
} catch (IOException e) {
|
|
throw new RuntimeException(e.toString());
|
|
}
|
|
}
|
|
}
|