java.lang.Object
org.snmp4j.agent.mo.snmp.dh.SnmpUsmDhObjectsMib
- All Implemented Interfaces:
MOGroup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected Collection<DHKickstartParameters>protected org.snmp4j.security.dh.DHOperationsstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final org.snmp4j.smi.OIDOID of this MIB module for usage which can be used for its identification.static final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected org.snmp4j.security.USMprotected UsmMIBprotected VacmMIB -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a SnmpUsmDhObjectsMib instance without actually creating itsManagedObjectinstances.protectedSnmpUsmDhObjectsMib(MOFactory moFactory) Constructs a SnmpUsmDhObjectsMib instance and actually creates itsManagedObjectinstances 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 itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)). -
Method Summary
Modifier and TypeMethodDescriptionvoidaddImportedTCsToFactory(MOFactory moFactory) protected voidaddTCsToFactory(MOFactory moFactory) protected voidCreate the ManagedObjects defined for this MIB module using the specifiedMOFactory.org.snmp4j.security.dh.DHParametersprotected org.snmp4j.smi.OctetStringReturn the VACM group name for the specified VACM role.MOTable<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow,MOColumn, MOTableModel<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow>> MOTable<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow,MOColumn, MOTableModel<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow>> protected voidinitDHKickstart(Collection<DHKickstartParameters> dhKickstartParametersList) voidregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.voidsetBaseTableUsmDHUserKeyEntry(DefaultMOTable<UsmMIB.UsmTableRow, MOColumn, DefaultMOMutableTableModel<UsmMIB.UsmTableRow>> baseTable) voidunregisterMOs(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 itsManagedObjectinstances. 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 itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)).- Parameters:
moFactory- theMOFactoryto 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 itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)).- Parameters:
moFactory- theMOFactoryto 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- theMOFactoryinstance 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:MOGroupRegisters the managed objects of this group with the server for the supplied context.- Specified by:
registerMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to register the managed objects.context- the context to use (may benullif 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:MOGroupUnregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to unregister the managed objects.context- the context to use (may benullif 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
-