48 lines
1.6 KiB
Java
48 lines
1.6 KiB
Java
package o;
|
|
|
|
import java.security.InvalidAlgorithmParameterException;
|
|
import java.security.cert.PKIXBuilderParameters;
|
|
import java.security.cert.PKIXParameters;
|
|
import java.util.Collections;
|
|
import java.util.HashSet;
|
|
import java.util.Set;
|
|
|
|
/* renamed from: o.gsc, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C15507gsc extends C15472grZ {
|
|
public int a;
|
|
public Set b;
|
|
|
|
private C15507gsc(Set set, InterfaceC15467grM interfaceC15467grM) throws InvalidAlgorithmParameterException {
|
|
super(set);
|
|
this.a = 5;
|
|
this.b = Collections.EMPTY_SET;
|
|
d(interfaceC15467grM);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
@Override // o.C15472grZ
|
|
public final void e(PKIXParameters pKIXParameters) {
|
|
super.e(pKIXParameters);
|
|
if (pKIXParameters instanceof C15507gsc) {
|
|
C15507gsc c15507gsc = (C15507gsc) pKIXParameters;
|
|
this.a = c15507gsc.a;
|
|
this.b = new HashSet(c15507gsc.b);
|
|
}
|
|
if (pKIXParameters instanceof PKIXBuilderParameters) {
|
|
this.a = ((PKIXBuilderParameters) pKIXParameters).getMaxPathLength();
|
|
}
|
|
}
|
|
|
|
@Override // o.C15472grZ, java.security.cert.PKIXParameters, java.security.cert.CertPathParameters
|
|
public final Object clone() {
|
|
try {
|
|
C15507gsc c15507gsc = new C15507gsc(getTrustAnchors(), b());
|
|
c15507gsc.e(this);
|
|
return c15507gsc;
|
|
} catch (Exception e) {
|
|
throw new RuntimeException(e.getMessage());
|
|
}
|
|
}
|
|
}
|