package org.snmp4j.security;

/* JADX INFO: loaded from: classes.dex */
public enum SecurityLevel {
    undefined(0),
    noAuthNoPriv(1),
    authNoPriv(2),
    authPriv(3);

    public static final int AUTH_NOPRIV = 2;
    public static final int AUTH_PRIV = 3;
    public static final int NOAUTH_NOPRIV = 1;
    private int snmpValue;

    SecurityLevel(int i2) {
        this.snmpValue = i2;
    }

    public static SecurityLevel get(int i2) {
        return i2 != 1 ? i2 != 2 ? i2 != 3 ? undefined : authPriv : authNoPriv : noAuthNoPriv;
    }

    public int getSnmpValue() {
        return this.snmpValue;
    }
}
