java.lang.Object
org.snmp4j.agent.mo.snmp.dh.SnmpUsmDhObjectsMib
- All Implemented Interfaces:
MOGroup
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
class
class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
protected Collection
<DHKickstartParameters> protected org.snmp4j.security.dh.DHOperations
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.snmp4j.smi.OID
OID of this MIB module for usage which can be used for its identification.static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final String
static final String
static final String
static final String
protected org.snmp4j.security.USM
protected UsmMIB
protected VacmMIB
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructs a SnmpUsmDhObjectsMib instance without actually creating itsManagedObject
instances.protected
SnmpUsmDhObjectsMib
(MOFactory moFactory) Constructs a SnmpUsmDhObjectsMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).SnmpUsmDhObjectsMib
(MOFactory moFactory, org.snmp4j.security.USM usm, UsmMIB usmMIB, VacmMIB vacmMIB, Collection<DHKickstartParameters> dhKickstartParameters) Constructs a SnmpUsmDhObjectsMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
). -
Method Summary
Modifier and TypeMethodDescriptionvoid
addImportedTCsToFactory
(MOFactory moFactory) protected void
addTCsToFactory
(MOFactory moFactory) protected void
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.org.snmp4j.security.dh.DHParameters
protected org.snmp4j.smi.OctetString
Return the VACM group name for the specified VACM role.MOTable
<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow, MOColumn, MOTableModel<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow>> MOTable
<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow, MOColumn, MOTableModel<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow>> protected void
initDHKickstart
(Collection<DHKickstartParameters> dhKickstartParametersList) void
registerMOs
(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.void
setBaseTableUsmDHUserKeyEntry
(DefaultMOTable<UsmMIB.UsmTableRow, MOColumn, DefaultMOMutableTableModel<UsmMIB.UsmTableRow>> baseTable) void
unregisterMOs
(MOServer server, org.snmp4j.smi.OctetString context) Unregisters the managed objects of this group from the supplied server and from the supplied context.
-
Field Details
-
oidSnmpUsmDhObjectsMib
public static final org.snmp4j.smi.OID oidSnmpUsmDhObjectsMibOID of this MIB module for usage which can be used for its identification. -
oidUsmDHParameters
public static final org.snmp4j.smi.OID oidUsmDHParameters -
oidUsmDHUserKeyEntry
public static final org.snmp4j.smi.OID oidUsmDHUserKeyEntry -
oidUsmUserEngineID
public static final org.snmp4j.smi.OID oidUsmUserEngineID -
oidUsmUserName
public static final org.snmp4j.smi.OID oidUsmUserName -
tcModuleSnmpUsmDhObjectsMib
- See Also:
-
tcDefDHKeyChange
- See Also:
-
colUsmDHUserAuthKeyChange
public static final int colUsmDHUserAuthKeyChange- See Also:
-
colUsmDHUserOwnAuthKeyChange
public static final int colUsmDHUserOwnAuthKeyChange- See Also:
-
colUsmDHUserPrivKeyChange
public static final int colUsmDHUserPrivKeyChange- See Also:
-
colUsmDHUserOwnPrivKeyChange
public static final int colUsmDHUserOwnPrivKeyChange- See Also:
-
idxUsmDHUserAuthKeyChange
public static final int idxUsmDHUserAuthKeyChange- See Also:
-
idxUsmDHUserOwnAuthKeyChange
public static final int idxUsmDHUserOwnAuthKeyChange- See Also:
-
idxUsmDHUserPrivKeyChange
public static final int idxUsmDHUserPrivKeyChange- See Also:
-
idxUsmDHUserOwnPrivKeyChange
public static final int idxUsmDHUserOwnPrivKeyChange- See Also:
-
oidUsmDHKickstartEntry
public static final org.snmp4j.smi.OID oidUsmDHKickstartEntry -
oidUsmDHKickstartIndex
public static final org.snmp4j.smi.OID oidUsmDHKickstartIndex -
tcModuleSnmpFrameworkMib
- See Also:
-
tcDefSnmpAdminString
- See Also:
-
colUsmDHKickstartMyPublic
public static final int colUsmDHKickstartMyPublic- See Also:
-
colUsmDHKickstartMgrPublic
public static final int colUsmDHKickstartMgrPublic- See Also:
-
colUsmDHKickstartSecurityName
public static final int colUsmDHKickstartSecurityName- See Also:
-
idxUsmDHKickstartMyPublic
public static final int idxUsmDHKickstartMyPublic- See Also:
-
idxUsmDHKickstartMgrPublic
public static final int idxUsmDHKickstartMgrPublic- See Also:
-
idxUsmDHKickstartSecurityName
public static final int idxUsmDHKickstartSecurityName- See Also:
-
usm
protected org.snmp4j.security.USM usm -
usmMIB
-
vacmMIB
-
dhKickstartParameters
-
dhOperations
protected org.snmp4j.security.dh.DHOperations dhOperations
-
-
Constructor Details
-
SnmpUsmDhObjectsMib
protected SnmpUsmDhObjectsMib()Constructs a SnmpUsmDhObjectsMib instance without actually creating itsManagedObject
instances. This has to be done in a sub-class constructor or after construction by callingcreateMO(MOFactory moFactory)
. -
SnmpUsmDhObjectsMib
Constructs a SnmpUsmDhObjectsMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).- Parameters:
moFactory
- theMOFactory
to be used to create the managed objects for this module.
-
SnmpUsmDhObjectsMib
public SnmpUsmDhObjectsMib(MOFactory moFactory, org.snmp4j.security.USM usm, UsmMIB usmMIB, VacmMIB vacmMIB, Collection<DHKickstartParameters> dhKickstartParameters) Constructs a SnmpUsmDhObjectsMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).- Parameters:
moFactory
- theMOFactory
to be used to create the managed objects for this module.usm
- the USM where user authentication and privacy are to be configured using Diffie Helman key exchange.usmMIB
- the USM MIB where user authentication and privacy are to be configured using Diffie Helman key exchange.vacmMIB
- the VACM MIB that will receive preinstalled entries as defined by usmDHKeyMIBNCompliance when the objects of this MIB are being registered.dhKickstartParameters
- the securityName to public key mappings needed to initialize Diffie Hellman key exchange.
-
-
Method Details
-
createMO
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.- Parameters:
moFactory
- theMOFactory
instance to use for object creation.
-
getUsmDHParameters
-
getUsmDHUserKeyEntry
public MOTable<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow,MOColumn, getUsmDHUserKeyEntry()MOTableModel<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow>> -
setBaseTableUsmDHUserKeyEntry
public void setBaseTableUsmDHUserKeyEntry(DefaultMOTable<UsmMIB.UsmTableRow, MOColumn, DefaultMOMutableTableModel<UsmMIB.UsmTableRow>> baseTable) -
getUsmDHKickstartEntry
public MOTable<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow,MOColumn, getUsmDHKickstartEntry()MOTableModel<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow>> -
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException Description copied from interface:MOGroup
Registers the managed objects of this group with the server for the supplied context.- Specified by:
registerMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to register the managed objects.context
- the context to use (may benull
if no specific context is selected).- Throws:
DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
Description copied from interface:MOGroup
Unregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to unregister the managed objects.context
- the context to use (may benull
if no specific context is selected).
-
getDHParameters
public org.snmp4j.security.dh.DHParameters getDHParameters() -
initDHKickstart
-
getGroupNameForVacmRole
Return the VACM group name for the specified VACM role.- Parameters:
role
- a role name.- Returns:
- the group name for the role. By default, the role is returned as
OctetString
.
-
addTCsToFactory
-
addImportedTCsToFactory
-