110 lines
3.6 KiB
Java
110 lines
3.6 KiB
Java
|
package o;
|
||
|
|
||
|
import java.security.cert.CertPathParameters;
|
||
|
import java.security.cert.CertSelector;
|
||
|
import java.security.cert.PKIXParameters;
|
||
|
import java.security.cert.TrustAnchor;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collections;
|
||
|
import java.util.Date;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
import java.util.Set;
|
||
|
import o.C15425gqD;
|
||
|
|
||
|
/* renamed from: o.gqz, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C15457gqz implements CertPathParameters {
|
||
|
public final Date a;
|
||
|
public final PKIXParameters b;
|
||
|
public final Map<gpO, InterfaceC15456gqy> c;
|
||
|
public final List<InterfaceC15456gqy> d;
|
||
|
public final List<InterfaceC15455gqx> e;
|
||
|
public final boolean f;
|
||
|
public final C15425gqD g;
|
||
|
public final boolean h;
|
||
|
public final Set<TrustAnchor> i;
|
||
|
public final Map<gpO, InterfaceC15455gqx> j;
|
||
|
public final int l;
|
||
|
|
||
|
@Override // java.security.cert.CertPathParameters
|
||
|
public final Object clone() {
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ C15457gqz(LWm lWm, byte b) {
|
||
|
this(lWm);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.gqz$LWm */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public static class LWm {
|
||
|
public List<InterfaceC15456gqy> a;
|
||
|
Map<gpO, InterfaceC15456gqy> b;
|
||
|
final Date c;
|
||
|
public List<InterfaceC15455gqx> d;
|
||
|
final PKIXParameters e;
|
||
|
public C15425gqD f;
|
||
|
public Set<TrustAnchor> g;
|
||
|
public boolean h;
|
||
|
public boolean i;
|
||
|
Map<gpO, InterfaceC15455gqx> j;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
public int f9150o;
|
||
|
|
||
|
public LWm(PKIXParameters pKIXParameters) {
|
||
|
this.d = new ArrayList();
|
||
|
this.j = new HashMap();
|
||
|
this.a = new ArrayList();
|
||
|
this.b = new HashMap();
|
||
|
this.f9150o = 0;
|
||
|
this.i = false;
|
||
|
this.e = (PKIXParameters) pKIXParameters.clone();
|
||
|
CertSelector targetCertConstraints = pKIXParameters.getTargetCertConstraints();
|
||
|
if (targetCertConstraints != null) {
|
||
|
this.f = new C15425gqD(new C15425gqD.RVV(targetCertConstraints).a, (byte) 0);
|
||
|
}
|
||
|
Date date = pKIXParameters.getDate();
|
||
|
this.c = date == null ? new Date() : date;
|
||
|
this.h = pKIXParameters.isRevocationEnabled();
|
||
|
this.g = pKIXParameters.getTrustAnchors();
|
||
|
}
|
||
|
|
||
|
public LWm(C15457gqz c15457gqz) {
|
||
|
this.d = new ArrayList();
|
||
|
this.j = new HashMap();
|
||
|
this.a = new ArrayList();
|
||
|
this.b = new HashMap();
|
||
|
this.f9150o = 0;
|
||
|
this.i = false;
|
||
|
this.e = c15457gqz.b;
|
||
|
this.c = c15457gqz.a;
|
||
|
this.f = c15457gqz.g;
|
||
|
this.d = new ArrayList(c15457gqz.e);
|
||
|
this.j = new HashMap(c15457gqz.j);
|
||
|
this.a = new ArrayList(c15457gqz.d);
|
||
|
this.b = new HashMap(c15457gqz.c);
|
||
|
this.i = c15457gqz.h;
|
||
|
this.f9150o = c15457gqz.l;
|
||
|
this.h = c15457gqz.f;
|
||
|
this.g = c15457gqz.i;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private C15457gqz(LWm lWm) {
|
||
|
this.b = lWm.e;
|
||
|
this.a = lWm.c;
|
||
|
this.e = Collections.unmodifiableList(lWm.d);
|
||
|
this.j = Collections.unmodifiableMap(new HashMap(lWm.j));
|
||
|
this.d = Collections.unmodifiableList(lWm.a);
|
||
|
this.c = Collections.unmodifiableMap(new HashMap(lWm.b));
|
||
|
this.g = lWm.f;
|
||
|
this.f = lWm.h;
|
||
|
this.h = lWm.i;
|
||
|
this.l = lWm.f9150o;
|
||
|
this.i = Collections.unmodifiableSet(lWm.g);
|
||
|
}
|
||
|
}
|