59 lines
1.3 KiB
Java
59 lines
1.3 KiB
Java
package o;
|
|
|
|
import o.oZe;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum EHL implements oZe.LWm {
|
|
UNKNOWN_HASH(0),
|
|
SHA1(1),
|
|
SHA384(2),
|
|
SHA256(3),
|
|
SHA512(4),
|
|
SHA224(5),
|
|
UNRECOGNIZED(-1);
|
|
|
|
public static final int SHA1_VALUE = 1;
|
|
public static final int SHA224_VALUE = 5;
|
|
public static final int SHA256_VALUE = 3;
|
|
public static final int SHA384_VALUE = 2;
|
|
public static final int SHA512_VALUE = 4;
|
|
public static final int UNKNOWN_HASH_VALUE = 0;
|
|
private static final oZe.Sts<EHL> internalValueMap = new oZe.Sts<EHL>() { // from class: o.EHL.3
|
|
};
|
|
final int value;
|
|
|
|
@Override // o.oZe.LWm
|
|
public final int a() {
|
|
if (this != UNRECOGNIZED) {
|
|
return this.value;
|
|
}
|
|
throw new IllegalArgumentException("Can't get the number of an unknown enum value.");
|
|
}
|
|
|
|
EHL(int i) {
|
|
this.value = i;
|
|
}
|
|
|
|
public static EHL d(int i) {
|
|
if (i == 0) {
|
|
return UNKNOWN_HASH;
|
|
}
|
|
if (i == 1) {
|
|
return SHA1;
|
|
}
|
|
if (i == 2) {
|
|
return SHA384;
|
|
}
|
|
if (i == 3) {
|
|
return SHA256;
|
|
}
|
|
if (i == 4) {
|
|
return SHA512;
|
|
}
|
|
if (i != 5) {
|
|
return null;
|
|
}
|
|
return SHA224;
|
|
}
|
|
}
|