package org.ejbca.cvc; import o.InterfaceC15243glE; /* loaded from: classes6.dex */ public enum AuthorizationRoleEnum implements InterfaceC15243glE { CVCA(192), DV_D(128), DV_F(64), IS(0); private byte value; AuthorizationRoleEnum(int i) { this.value = (byte) i; } /* renamed from: org.ejbca.cvc.AuthorizationRoleEnum$2, reason: invalid class name */ /* loaded from: classes6.dex */ static /* synthetic */ class AnonymousClass2 { static final int[] c; static { int[] iArr = new int[AuthorizationRoleEnum.values().length]; c = iArr; try { iArr[AuthorizationRoleEnum.CVCA.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { c[AuthorizationRoleEnum.DV_D.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { c[AuthorizationRoleEnum.DV_F.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { c[AuthorizationRoleEnum.IS.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } } } @Override // java.lang.Enum public final String toString() { int i = AnonymousClass2.c[ordinal()]; if (i == 1) { return "CVCA"; } if (i == 2) { return "DV-domestic"; } if (i == 3) { return "DV-foreign"; } if (i == 4) { return "IS"; } throw new IllegalStateException("Enum case not handled"); } @Override // o.InterfaceC15243glE public final boolean a() { return this == CVCA; } @Override // o.InterfaceC15243glE public final byte c() { return this.value; } }