mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
385 lines
40 KiB
Java
385 lines
40 KiB
Java
|
package okhttp3;
|
||
|
|
||
|
import androidx.appcompat.app.AppCompatDelegate;
|
||
|
import io.sentry.Session;
|
||
|
import java.util.Comparator;
|
||
|
import java.util.LinkedHashMap;
|
||
|
import java.util.Map;
|
||
|
import kotlin.Deprecated;
|
||
|
import kotlin.DeprecationLevel;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.ReplaceWith;
|
||
|
import kotlin.jvm.JvmStatic;
|
||
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
import kotlin.text.StringsKt;
|
||
|
|
||
|
/* compiled from: CipherSuite.kt */
|
||
|
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\u0018\u0000 \b2\u00020\u0001:\u0001\bB\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\r\u0010\u0002\u001a\u00020\u0003H\u0007¢\u0006\u0002\b\u0006J\b\u0010\u0007\u001a\u00020\u0003H\u0016R\u0013\u0010\u0002\u001a\u00020\u00038\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0005¨\u0006\t"}, d2 = {"Lokhttp3/CipherSuite;", "", "javaName", "", "(Ljava/lang/String;)V", "()Ljava/lang/String;", "-deprecated_javaName", "toString", "Companion", "okhttp"}, k = 1, mv = {1, 4, 0})
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class CipherSuite {
|
||
|
|
||
|
/* renamed from: Companion, reason: from kotlin metadata */
|
||
|
public static final Companion INSTANCE;
|
||
|
private static final Map<String, CipherSuite> INSTANCES;
|
||
|
private static final Comparator<String> ORDER_BY_NAME;
|
||
|
public static final CipherSuite TLS_AES_128_CCM_8_SHA256;
|
||
|
public static final CipherSuite TLS_AES_128_CCM_SHA256;
|
||
|
public static final CipherSuite TLS_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_CHACHA20_POLY1305_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_DSS_WITH_DES_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256;
|
||
|
public static final CipherSuite TLS_DHE_RSA_WITH_DES_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_EXPORT_WITH_RC4_40_MD5;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_DES_CBC_SHA;
|
||
|
public static final CipherSuite TLS_DH_anon_WITH_RC4_128_MD5;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_ECDSA_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_ECDHE_RSA_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_RSA_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_anon_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_anon_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_anon_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_ECDH_anon_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_EMPTY_RENEGOTIATION_INFO_SCSV;
|
||
|
public static final CipherSuite TLS_FALLBACK_SCSV;
|
||
|
public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5;
|
||
|
public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA;
|
||
|
public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_MD5;
|
||
|
public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_SHA;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_MD5;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_DES_CBC_MD5;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_DES_CBC_SHA;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_RC4_128_MD5;
|
||
|
public static final CipherSuite TLS_KRB5_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_PSK_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_PSK_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_PSK_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_PSK_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_RSA_EXPORT_WITH_DES40_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_EXPORT_WITH_RC4_40_MD5;
|
||
|
public static final CipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_128_GCM_SHA256;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256;
|
||
|
public static final CipherSuite TLS_RSA_WITH_AES_256_GCM_SHA384;
|
||
|
public static final CipherSuite TLS_RSA_WITH_CAMELLIA_128_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_CAMELLIA_256_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_DES_CBC_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_NULL_MD5;
|
||
|
public static final CipherSuite TLS_RSA_WITH_NULL_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_NULL_SHA256;
|
||
|
public static final CipherSuite TLS_RSA_WITH_RC4_128_MD5;
|
||
|
public static final CipherSuite TLS_RSA_WITH_RC4_128_SHA;
|
||
|
public static final CipherSuite TLS_RSA_WITH_SEED_CBC_SHA;
|
||
|
private final String javaName;
|
||
|
|
||
|
@JvmStatic
|
||
|
public static final synchronized CipherSuite forJavaName(String str) {
|
||
|
CipherSuite forJavaName;
|
||
|
synchronized (CipherSuite.class) {
|
||
|
forJavaName = INSTANCE.forJavaName(str);
|
||
|
}
|
||
|
return forJavaName;
|
||
|
}
|
||
|
|
||
|
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "javaName", imports = {}))
|
||
|
/* renamed from: -deprecated_javaName, reason: not valid java name and from getter */
|
||
|
public final String getJavaName() {
|
||
|
return this.javaName;
|
||
|
}
|
||
|
|
||
|
public final String javaName() {
|
||
|
return this.javaName;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
return this.javaName;
|
||
|
}
|
||
|
|
||
|
private CipherSuite(String str) {
|
||
|
this.javaName = str;
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ CipherSuite(String str, DefaultConstructorMarker defaultConstructorMarker) {
|
||
|
this(str);
|
||
|
}
|
||
|
|
||
|
/* compiled from: CipherSuite.kt */
|
||
|
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b}\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0012\u0010\u0083\u0001\u001a\u00020\u00062\u0007\u0010\u0084\u0001\u001a\u00020\u0005H\u0007J\u001c\u0010\u0085\u0001\u001a\u00020\u00062\u0007\u0010\u0084\u0001\u001a\u00020\u00052\b\u0010\u0086\u0001\u001a\u00030\u0087\u0001H\u0002J\u0012\u0010\u0088\u0001\u001a\u00020\u00052\u0007\u0010\u0084\u0001\u001a\u00020\u0005H\u0002R\u001a\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R$\u0010\u0007\u001a\u0012\u0012\u0004\u0012\u00020\u00050\bj\b\u0012\u0004\u0012\u00020\u0005`\tX\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0010\u0010\f\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\r\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u000e\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u000f\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0010\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0011\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0012\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0013\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0014\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0015\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0016\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0017\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0018\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0019\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001a\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001b\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001c\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001d\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001e\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u001f\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010 \u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010!\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\"\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010#\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010$\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010%\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010&\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010'\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010(\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010)\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010*\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010+\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010,\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010-\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010.\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u0010/\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u00100\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u00101\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u00102\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u00103\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0010\u00104\u001a\u00020\u00068\u0006X\u0087\u0004
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class Companion {
|
||
|
private Companion() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||
|
this();
|
||
|
}
|
||
|
|
||
|
public final Comparator<String> getORDER_BY_NAME$okhttp() {
|
||
|
return CipherSuite.ORDER_BY_NAME;
|
||
|
}
|
||
|
|
||
|
@JvmStatic
|
||
|
public final synchronized CipherSuite forJavaName(String javaName) {
|
||
|
CipherSuite cipherSuite;
|
||
|
Intrinsics.checkNotNullParameter(javaName, "javaName");
|
||
|
cipherSuite = (CipherSuite) CipherSuite.INSTANCES.get(javaName);
|
||
|
if (cipherSuite == null) {
|
||
|
Companion companion = this;
|
||
|
cipherSuite = (CipherSuite) CipherSuite.INSTANCES.get(secondaryName(javaName));
|
||
|
if (cipherSuite == null) {
|
||
|
cipherSuite = new CipherSuite(javaName, null);
|
||
|
}
|
||
|
CipherSuite.INSTANCES.put(javaName, cipherSuite);
|
||
|
}
|
||
|
return cipherSuite;
|
||
|
}
|
||
|
|
||
|
private final String secondaryName(String javaName) {
|
||
|
if (StringsKt.startsWith$default(javaName, "TLS_", false, 2, (Object) null)) {
|
||
|
StringBuilder sb = new StringBuilder("SSL_");
|
||
|
if (javaName == null) {
|
||
|
throw new NullPointerException("null cannot be cast to non-null type java.lang.String");
|
||
|
}
|
||
|
String substring = javaName.substring(4);
|
||
|
Intrinsics.checkNotNullExpressionValue(substring, "(this as java.lang.String).substring(startIndex)");
|
||
|
return sb.append(substring).toString();
|
||
|
}
|
||
|
if (!StringsKt.startsWith$default(javaName, "SSL_", false, 2, (Object) null)) {
|
||
|
return javaName;
|
||
|
}
|
||
|
StringBuilder sb2 = new StringBuilder("TLS_");
|
||
|
if (javaName == null) {
|
||
|
throw new NullPointerException("null cannot be cast to non-null type java.lang.String");
|
||
|
}
|
||
|
String substring2 = javaName.substring(4);
|
||
|
Intrinsics.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
|
||
|
return sb2.append(substring2).toString();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public final CipherSuite init(String javaName, int value) {
|
||
|
CipherSuite cipherSuite = new CipherSuite(javaName, null);
|
||
|
CipherSuite.INSTANCES.put(javaName, cipherSuite);
|
||
|
return cipherSuite;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
Companion companion = new Companion(null);
|
||
|
INSTANCE = companion;
|
||
|
ORDER_BY_NAME = new Comparator<String>() { // from class: okhttp3.CipherSuite$Companion$ORDER_BY_NAME$1
|
||
|
@Override // java.util.Comparator
|
||
|
public int compare(String a, String b) {
|
||
|
Intrinsics.checkNotNullParameter(a, "a");
|
||
|
Intrinsics.checkNotNullParameter(b, "b");
|
||
|
int min = Math.min(a.length(), b.length());
|
||
|
for (int i = 4; i < min; i++) {
|
||
|
char charAt = a.charAt(i);
|
||
|
char charAt2 = b.charAt(i);
|
||
|
if (charAt != charAt2) {
|
||
|
return Intrinsics.compare((int) charAt, (int) charAt2) < 0 ? -1 : 1;
|
||
|
}
|
||
|
}
|
||
|
int length = a.length();
|
||
|
int length2 = b.length();
|
||
|
if (length != length2) {
|
||
|
return length < length2 ? -1 : 1;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
};
|
||
|
INSTANCES = new LinkedHashMap();
|
||
|
TLS_RSA_WITH_NULL_MD5 = companion.init("SSL_RSA_WITH_NULL_MD5", 1);
|
||
|
TLS_RSA_WITH_NULL_SHA = companion.init("SSL_RSA_WITH_NULL_SHA", 2);
|
||
|
TLS_RSA_EXPORT_WITH_RC4_40_MD5 = companion.init("SSL_RSA_EXPORT_WITH_RC4_40_MD5", 3);
|
||
|
TLS_RSA_WITH_RC4_128_MD5 = companion.init("SSL_RSA_WITH_RC4_128_MD5", 4);
|
||
|
TLS_RSA_WITH_RC4_128_SHA = companion.init("SSL_RSA_WITH_RC4_128_SHA", 5);
|
||
|
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA = companion.init("SSL_RSA_EXPORT_WITH_DES40_CBC_SHA", 8);
|
||
|
TLS_RSA_WITH_DES_CBC_SHA = companion.init("SSL_RSA_WITH_DES_CBC_SHA", 9);
|
||
|
TLS_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("SSL_RSA_WITH_3DES_EDE_CBC_SHA", 10);
|
||
|
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = companion.init("SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA", 17);
|
||
|
TLS_DHE_DSS_WITH_DES_CBC_SHA = companion.init("SSL_DHE_DSS_WITH_DES_CBC_SHA", 18);
|
||
|
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = companion.init("SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA", 19);
|
||
|
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = companion.init("SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA", 20);
|
||
|
TLS_DHE_RSA_WITH_DES_CBC_SHA = companion.init("SSL_DHE_RSA_WITH_DES_CBC_SHA", 21);
|
||
|
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA", 22);
|
||
|
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = companion.init("SSL_DH_anon_EXPORT_WITH_RC4_40_MD5", 23);
|
||
|
TLS_DH_anon_WITH_RC4_128_MD5 = companion.init("SSL_DH_anon_WITH_RC4_128_MD5", 24);
|
||
|
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA = companion.init("SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA", 25);
|
||
|
TLS_DH_anon_WITH_DES_CBC_SHA = companion.init("SSL_DH_anon_WITH_DES_CBC_SHA", 26);
|
||
|
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = companion.init("SSL_DH_anon_WITH_3DES_EDE_CBC_SHA", 27);
|
||
|
TLS_KRB5_WITH_DES_CBC_SHA = companion.init("TLS_KRB5_WITH_DES_CBC_SHA", 30);
|
||
|
TLS_KRB5_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", 31);
|
||
|
TLS_KRB5_WITH_RC4_128_SHA = companion.init("TLS_KRB5_WITH_RC4_128_SHA", 32);
|
||
|
TLS_KRB5_WITH_DES_CBC_MD5 = companion.init("TLS_KRB5_WITH_DES_CBC_MD5", 34);
|
||
|
TLS_KRB5_WITH_3DES_EDE_CBC_MD5 = companion.init("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", 35);
|
||
|
TLS_KRB5_WITH_RC4_128_MD5 = companion.init("TLS_KRB5_WITH_RC4_128_MD5", 36);
|
||
|
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA = companion.init("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 38);
|
||
|
TLS_KRB5_EXPORT_WITH_RC4_40_SHA = companion.init("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 40);
|
||
|
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 = companion.init("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 41);
|
||
|
TLS_KRB5_EXPORT_WITH_RC4_40_MD5 = companion.init("TLS_KRB5_EXPORT_WITH_RC4_40_MD5", 43);
|
||
|
TLS_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_RSA_WITH_AES_128_CBC_SHA", 47);
|
||
|
TLS_DHE_DSS_WITH_AES_128_CBC_SHA = companion.init("TLS_DHE_DSS_WITH_AES_128_CBC_SHA", 50);
|
||
|
TLS_DHE_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_DHE_RSA_WITH_AES_128_CBC_SHA", 51);
|
||
|
TLS_DH_anon_WITH_AES_128_CBC_SHA = companion.init("TLS_DH_anon_WITH_AES_128_CBC_SHA", 52);
|
||
|
TLS_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_RSA_WITH_AES_256_CBC_SHA", 53);
|
||
|
TLS_DHE_DSS_WITH_AES_256_CBC_SHA = companion.init("TLS_DHE_DSS_WITH_AES_256_CBC_SHA", 56);
|
||
|
TLS_DHE_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_DHE_RSA_WITH_AES_256_CBC_SHA", 57);
|
||
|
TLS_DH_anon_WITH_AES_256_CBC_SHA = companion.init("TLS_DH_anon_WITH_AES_256_CBC_SHA", 58);
|
||
|
TLS_RSA_WITH_NULL_SHA256 = companion.init("TLS_RSA_WITH_NULL_SHA256", 59);
|
||
|
TLS_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_RSA_WITH_AES_128_CBC_SHA256", 60);
|
||
|
TLS_RSA_WITH_AES_256_CBC_SHA256 = companion.init("TLS_RSA_WITH_AES_256_CBC_SHA256", 61);
|
||
|
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = companion.init("TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", 64);
|
||
|
TLS_RSA_WITH_CAMELLIA_128_CBC_SHA = companion.init("TLS_RSA_WITH_CAMELLIA_128_CBC_SHA", 65);
|
||
|
TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA = companion.init("TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA", 68);
|
||
|
TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA = companion.init("TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA", 69);
|
||
|
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", 103);
|
||
|
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = companion.init("TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", 106);
|
||
|
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = companion.init("TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", 107);
|
||
|
TLS_DH_anon_WITH_AES_128_CBC_SHA256 = companion.init("TLS_DH_anon_WITH_AES_128_CBC_SHA256", AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR);
|
||
|
TLS_DH_anon_WITH_AES_256_CBC_SHA256 = companion.init("TLS_DH_anon_WITH_AES_256_CBC_SHA256", AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR_OVERLAY);
|
||
|
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA = companion.init("TLS_RSA_WITH_CAMELLIA_256_CBC_SHA", 132);
|
||
|
TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA = companion.init("TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA", 135);
|
||
|
TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA = companion.init("TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA", 136);
|
||
|
TLS_PSK_WITH_RC4_128_SHA = companion.init("TLS_PSK_WITH_RC4_128_SHA", 138);
|
||
|
TLS_PSK_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_PSK_WITH_3DES_EDE_CBC_SHA", 139);
|
||
|
TLS_PSK_WITH_AES_128_CBC_SHA = companion.init("TLS_PSK_WITH_AES_128_CBC_SHA", 140);
|
||
|
TLS_PSK_WITH_AES_256_CBC_SHA = companion.init("TLS_PSK_WITH_AES_256_CBC_SHA", 141);
|
||
|
TLS_RSA_WITH_SEED_CBC_SHA = companion.init("TLS_RSA_WITH_SEED_CBC_SHA", 150);
|
||
|
TLS_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_RSA_WITH_AES_128_GCM_SHA256", 156);
|
||
|
TLS_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_RSA_WITH_AES_256_GCM_SHA384", 157);
|
||
|
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", 158);
|
||
|
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", 159);
|
||
|
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = companion.init("TLS_DHE_DSS_WITH_AES_128_GCM_SHA256", 162);
|
||
|
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = companion.init("TLS_DHE_DSS_WITH_AES_256_GCM_SHA384", 163);
|
||
|
TLS_DH_anon_WITH_AES_128_GCM_SHA256 = companion.init("TLS_DH_anon_WITH_AES_128_GCM_SHA256", 166);
|
||
|
TLS_DH_anon_WITH_AES_256_GCM_SHA384 = companion.init("TLS_DH_anon_WITH_AES_256_GCM_SHA384", 167);
|
||
|
TLS_EMPTY_RENEGOTIATION_INFO_SCSV = companion.init("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", 255);
|
||
|
TLS_FALLBACK_SCSV = companion.init("TLS_FALLBACK_SCSV", 22016);
|
||
|
TLS_ECDH_ECDSA_WITH_NULL_SHA = companion.init("TLS_ECDH_ECDSA_WITH_NULL_SHA", 49153);
|
||
|
TLS_ECDH_ECDSA_WITH_RC4_128_SHA = companion.init("TLS_ECDH_ECDSA_WITH_RC4_128_SHA", 49154);
|
||
|
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA", 49155);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA", 49156);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA", 49157);
|
||
|
TLS_ECDHE_ECDSA_WITH_NULL_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_NULL_SHA", 49158);
|
||
|
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", 49159);
|
||
|
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA", 49160);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", 49161);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", 49162);
|
||
|
TLS_ECDH_RSA_WITH_NULL_SHA = companion.init("TLS_ECDH_RSA_WITH_NULL_SHA", 49163);
|
||
|
TLS_ECDH_RSA_WITH_RC4_128_SHA = companion.init("TLS_ECDH_RSA_WITH_RC4_128_SHA", 49164);
|
||
|
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA", 49165);
|
||
|
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA", 49166);
|
||
|
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA", 49167);
|
||
|
TLS_ECDHE_RSA_WITH_NULL_SHA = companion.init("TLS_ECDHE_RSA_WITH_NULL_SHA", 49168);
|
||
|
TLS_ECDHE_RSA_WITH_RC4_128_SHA = companion.init("TLS_ECDHE_RSA_WITH_RC4_128_SHA", 49169);
|
||
|
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", 49170);
|
||
|
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", 49171);
|
||
|
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", 49172);
|
||
|
TLS_ECDH_anon_WITH_NULL_SHA = companion.init("TLS_ECDH_anon_WITH_NULL_SHA", 49173);
|
||
|
TLS_ECDH_anon_WITH_RC4_128_SHA = companion.init("TLS_ECDH_anon_WITH_RC4_128_SHA", 49174);
|
||
|
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA", 49175);
|
||
|
TLS_ECDH_anon_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_AES_128_CBC_SHA", 49176);
|
||
|
TLS_ECDH_anon_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_AES_256_CBC_SHA", 49177);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", 49187);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", 49188);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256", 49189);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", 49190);
|
||
|
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", 49191);
|
||
|
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", 49192);
|
||
|
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256", 49193);
|
||
|
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384", 49194);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", 49195);
|
||
|
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", 49196);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256", 49197);
|
||
|
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384", 49198);
|
||
|
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", 49199);
|
||
|
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", 49200);
|
||
|
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256", 49201);
|
||
|
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384", 49202);
|
||
|
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA", 49205);
|
||
|
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA", 49206);
|
||
|
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", 52392);
|
||
|
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", 52393);
|
||
|
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256", 52394);
|
||
|
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256", 52396);
|
||
|
TLS_AES_128_GCM_SHA256 = companion.init("TLS_AES_128_GCM_SHA256", 4865);
|
||
|
TLS_AES_256_GCM_SHA384 = companion.init("TLS_AES_256_GCM_SHA384", 4866);
|
||
|
TLS_CHACHA20_POLY1305_SHA256 = companion.init("TLS_CHACHA20_POLY1305_SHA256", 4867);
|
||
|
TLS_AES_128_CCM_SHA256 = companion.init("TLS_AES_128_CCM_SHA256", 4868);
|
||
|
TLS_AES_128_CCM_8_SHA256 = companion.init("TLS_AES_128_CCM_8_SHA256", 4869);
|
||
|
}
|
||
|
}
|