package o; import java.security.cert.X509Certificate; import javax.security.auth.x500.X500Principal; /* renamed from: o.grl, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ final class C15484grl { C15484grl() { } /* JADX INFO: Access modifiers changed from: package-private */ public static C15417gpt d(Object obj) { if (!(obj instanceof X509Certificate)) { return C15417gpt.c(((X500Principal) ((InterfaceC15508gsd) obj).e().e()[0]).getEncoded()); } return C15417gpt.c(((X509Certificate) obj).getIssuerX500Principal().getEncoded()); } }