what-the-bank/sources/okhttp3/CipherSuite.java

362 lines
28 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package okhttp3;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.Map;
import o.C14953gcr;
import o.C14957gcv;
import o.gdZ;
/* loaded from: classes.dex */
public final class CipherSuite {
public static final Companion Companion;
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;
private CipherSuite(String str) {
this.javaName = str;
}
/* loaded from: classes.dex */
public static final class Companion {
private Companion() {
}
public final Comparator<String> getORDER_BY_NAME$okhttp() {
return CipherSuite.ORDER_BY_NAME;
}
public final CipherSuite forJavaName(String str) {
CipherSuite cipherSuite;
synchronized (this) {
C14957gcv.e(str, "");
cipherSuite = (CipherSuite) CipherSuite.INSTANCES.get(str);
if (cipherSuite == null) {
cipherSuite = (CipherSuite) CipherSuite.INSTANCES.get(secondaryName(str));
if (cipherSuite == null) {
cipherSuite = new CipherSuite(str, null);
}
CipherSuite.INSTANCES.put(str, cipherSuite);
}
}
return cipherSuite;
}
/* JADX INFO: Access modifiers changed from: private */
public final CipherSuite init(String str, int i) {
CipherSuite cipherSuite = new CipherSuite(str, null);
CipherSuite.INSTANCES.put(str, cipherSuite);
return cipherSuite;
}
private final String secondaryName(String str) {
if (gdZ.e(str, "TLS_", false)) {
String substring = str.substring(4);
C14957gcv.c((Object) substring, "");
return C14957gcv.c("SSL_", (Object) substring);
}
if (!gdZ.e(str, "SSL_", false)) {
return str;
}
String substring2 = str.substring(4);
C14957gcv.c((Object) substring2, "");
return C14957gcv.c("TLS_", (Object) substring2);
}
public /* synthetic */ Companion(C14953gcr c14953gcr) {
this();
}
}
static {
Companion companion = new Companion(null);
Companion = companion;
ORDER_BY_NAME = new Comparator<String>() { // from class: okhttp3.CipherSuite$Companion$ORDER_BY_NAME$1
@Override // java.util.Comparator
public final int compare(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
int min = Math.min(str.length(), str2.length());
for (int i = 4; i < min; i++) {
char charAt = str.charAt(i);
char charAt2 = str2.charAt(i);
if (charAt != charAt2) {
return C14957gcv.a(charAt, charAt2) >= 0 ? 1 : -1;
}
}
int length = str.length();
int length2 = str2.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", 108);
TLS_DH_anon_WITH_AES_256_CBC_SHA256 = companion.init("TLS_DH_anon_WITH_AES_256_CBC_SHA256", 109);
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA = companion.init("TLS_RSA_WITH_CAMELLIA_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA);
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", org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_RC4_128_SHA);
TLS_PSK_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_PSK_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA);
TLS_PSK_WITH_AES_128_CBC_SHA = companion.init("TLS_PSK_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA);
TLS_PSK_WITH_AES_256_CBC_SHA = companion.init("TLS_PSK_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA);
TLS_RSA_WITH_SEED_CBC_SHA = companion.init("TLS_RSA_WITH_SEED_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA);
TLS_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_RSA_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256);
TLS_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_RSA_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384);
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", org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384);
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = companion.init("TLS_DHE_DSS_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256);
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = companion.init("TLS_DHE_DSS_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384);
TLS_DH_anon_WITH_AES_128_GCM_SHA256 = companion.init("TLS_DH_anon_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256);
TLS_DH_anon_WITH_AES_256_GCM_SHA384 = companion.init("TLS_DH_anon_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384);
TLS_EMPTY_RENEGOTIATION_INFO_SCSV = companion.init("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", 255);
TLS_FALLBACK_SCSV = companion.init("TLS_FALLBACK_SCSV", org.bouncycastle.crypto.tls.CipherSuite.TLS_FALLBACK_SCSV);
TLS_ECDH_ECDSA_WITH_NULL_SHA = companion.init("TLS_ECDH_ECDSA_WITH_NULL_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_NULL_SHA);
TLS_ECDH_ECDSA_WITH_RC4_128_SHA = companion.init("TLS_ECDH_ECDSA_WITH_RC4_128_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_RC4_128_SHA);
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA);
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA);
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA);
TLS_ECDHE_ECDSA_WITH_NULL_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_NULL_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_NULL_SHA);
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA);
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA);
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA);
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA);
TLS_ECDH_RSA_WITH_NULL_SHA = companion.init("TLS_ECDH_RSA_WITH_NULL_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_NULL_SHA);
TLS_ECDH_RSA_WITH_RC4_128_SHA = companion.init("TLS_ECDH_RSA_WITH_RC4_128_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_RC4_128_SHA);
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA);
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA);
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA);
TLS_ECDHE_RSA_WITH_NULL_SHA = companion.init("TLS_ECDHE_RSA_WITH_NULL_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_NULL_SHA);
TLS_ECDHE_RSA_WITH_RC4_128_SHA = companion.init("TLS_ECDHE_RSA_WITH_RC4_128_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_RC4_128_SHA);
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA);
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA);
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA);
TLS_ECDH_anon_WITH_NULL_SHA = companion.init("TLS_ECDH_anon_WITH_NULL_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_anon_WITH_NULL_SHA);
TLS_ECDH_anon_WITH_RC4_128_SHA = companion.init("TLS_ECDH_anon_WITH_RC4_128_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_anon_WITH_RC4_128_SHA);
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA);
TLS_ECDH_anon_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_anon_WITH_AES_128_CBC_SHA);
TLS_ECDH_anon_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDH_anon_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_anon_WITH_AES_256_CBC_SHA);
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256);
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384);
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256);
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384);
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256);
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384);
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 = companion.init("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256);
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 = companion.init("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384);
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256);
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384);
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256);
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384);
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256);
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384);
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 = companion.init("TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256);
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 = companion.init("TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384);
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA = companion.init("TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA);
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA = companion.init("TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA", org.bouncycastle.crypto.tls.CipherSuite.TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA);
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", org.bouncycastle.crypto.tls.CipherSuite.DRAFT_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256);
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", org.bouncycastle.crypto.tls.CipherSuite.DRAFT_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256);
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256", org.bouncycastle.crypto.tls.CipherSuite.DRAFT_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256);
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = companion.init("TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256", org.bouncycastle.crypto.tls.CipherSuite.DRAFT_TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256);
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);
}
public final String toString() {
return this.javaName;
}
public final String javaName() {
return this.javaName;
}
/* renamed from: -deprecated_javaName, reason: not valid java name */
public final String m383deprecated_javaName() {
return this.javaName;
}
public static final CipherSuite forJavaName(String str) {
CipherSuite forJavaName;
synchronized (CipherSuite.class) {
forJavaName = Companion.forJavaName(str);
}
return forJavaName;
}
public /* synthetic */ CipherSuite(String str, C14953gcr c14953gcr) {
this(str);
}
}