68 lines
1.8 KiB
Java
68 lines
1.8 KiB
Java
package org.ejbca.cvc;
|
|
|
|
import o.InterfaceC15241glC;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public enum AccessRightEnum implements InterfaceC15241glC {
|
|
READ_ACCESS_NONE(0),
|
|
READ_ACCESS_DG3(1),
|
|
READ_ACCESS_DG4(2),
|
|
READ_ACCESS_DG3_AND_DG4(3);
|
|
|
|
byte value;
|
|
|
|
AccessRightEnum(int i) {
|
|
this.value = (byte) i;
|
|
}
|
|
|
|
/* renamed from: org.ejbca.cvc.AccessRightEnum$4, reason: invalid class name */
|
|
/* loaded from: classes6.dex */
|
|
static /* synthetic */ class AnonymousClass4 {
|
|
static final int[] e;
|
|
|
|
static {
|
|
int[] iArr = new int[AccessRightEnum.values().length];
|
|
e = iArr;
|
|
try {
|
|
iArr[AccessRightEnum.READ_ACCESS_DG3_AND_DG4.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
e[AccessRightEnum.READ_ACCESS_DG4.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
e[AccessRightEnum.READ_ACCESS_DG3.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
e[AccessRightEnum.READ_ACCESS_NONE.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // java.lang.Enum
|
|
public final String toString() {
|
|
int i = AnonymousClass4.e[ordinal()];
|
|
if (i == 1) {
|
|
return "DG3+DG4";
|
|
}
|
|
if (i == 2) {
|
|
return "DG4";
|
|
}
|
|
if (i == 3) {
|
|
return "DG3";
|
|
}
|
|
if (i == 4) {
|
|
return "none";
|
|
}
|
|
throw new IllegalStateException("Enum case not handled");
|
|
}
|
|
|
|
@Override // o.InterfaceC15241glC
|
|
public final byte[] b() {
|
|
return new byte[]{this.value};
|
|
}
|
|
}
|