protected static enum SNMPDispatcher.TrapSecurity extends Enum<SNMPDispatcher.TrapSecurity>
| Enum Constant and Description |
|---|
AUTH_NOPRIV
Password authentication is hash based and no encryption is used for communications between the hosts.
|
AUTH_PRIV
Password authentication is hash based and the communications between the agent and the server are also encrypted.
|
NOAUTH_NOPRIV
No password authentication and the communications between the agent and the server are not encrypted.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSecurityLevel() |
static SNMPDispatcher.TrapSecurity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SNMPDispatcher.TrapSecurity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SNMPDispatcher.TrapSecurity NOAUTH_NOPRIV
public static final SNMPDispatcher.TrapSecurity AUTH_NOPRIV
public static final SNMPDispatcher.TrapSecurity AUTH_PRIV
public static SNMPDispatcher.TrapSecurity[] values()
for (SNMPDispatcher.TrapSecurity c : SNMPDispatcher.TrapSecurity.values()) System.out.println(c);
public static SNMPDispatcher.TrapSecurity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getSecurityLevel()
Copyright © 2022 Apache Software Foundation. All rights reserved.