- java.lang.Object
-
- org.snmp4j.agent.mo.snmp.dh.SnmpUsmDhObjectsMib
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSnmpUsmDhObjectsMib.DHKeyChangeclassSnmpUsmDhObjectsMib.UsmDHKickstartEntryRowclassSnmpUsmDhObjectsMib.UsmDHParametersclassSnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedSnmpUsmDhObjectsMib()Constructs 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImportedTCsToFactory(MOFactory moFactory)protected voidaddTCsToFactory(MOFactory moFactory)protected voidcreateMO(MOFactory moFactory)Create the ManagedObjects defined for this MIB module using the specifiedMOFactory.org.snmp4j.security.dh.DHParametersgetDHParameters()protected org.snmp4j.smi.OctetStringgetGroupNameForVacmRole(String role)Return the VACM group name for the specified VACM role.MOTable<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow,MOColumn,MOTableModel<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow>>getUsmDHKickstartEntry()UsmDHParametersImplgetUsmDHParameters()MOTable<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow,MOColumn,MOTableModel<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow>>getUsmDHUserKeyEntry()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 Detail
-
oidSnmpUsmDhObjectsMib
public static final org.snmp4j.smi.OID oidSnmpUsmDhObjectsMib
OID 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
public static final String tcModuleSnmpUsmDhObjectsMib
- See Also:
- Constant Field Values
-
tcDefDHKeyChange
public static final String tcDefDHKeyChange
- See Also:
- Constant Field Values
-
colUsmDHUserAuthKeyChange
public static final int colUsmDHUserAuthKeyChange
- See Also:
- Constant Field Values
-
colUsmDHUserOwnAuthKeyChange
public static final int colUsmDHUserOwnAuthKeyChange
- See Also:
- Constant Field Values
-
colUsmDHUserPrivKeyChange
public static final int colUsmDHUserPrivKeyChange
- See Also:
- Constant Field Values
-
colUsmDHUserOwnPrivKeyChange
public static final int colUsmDHUserOwnPrivKeyChange
- See Also:
- Constant Field Values
-
idxUsmDHUserAuthKeyChange
public static final int idxUsmDHUserAuthKeyChange
- See Also:
- Constant Field Values
-
idxUsmDHUserOwnAuthKeyChange
public static final int idxUsmDHUserOwnAuthKeyChange
- See Also:
- Constant Field Values
-
idxUsmDHUserPrivKeyChange
public static final int idxUsmDHUserPrivKeyChange
- See Also:
- Constant Field Values
-
idxUsmDHUserOwnPrivKeyChange
public static final int idxUsmDHUserOwnPrivKeyChange
- See Also:
- Constant Field Values
-
oidUsmDHKickstartEntry
public static final org.snmp4j.smi.OID oidUsmDHKickstartEntry
-
oidUsmDHKickstartIndex
public static final org.snmp4j.smi.OID oidUsmDHKickstartIndex
-
tcModuleSnmpFrameworkMib
public static final String tcModuleSnmpFrameworkMib
- See Also:
- Constant Field Values
-
tcDefSnmpAdminString
public static final String tcDefSnmpAdminString
- See Also:
- Constant Field Values
-
colUsmDHKickstartMyPublic
public static final int colUsmDHKickstartMyPublic
- See Also:
- Constant Field Values
-
colUsmDHKickstartMgrPublic
public static final int colUsmDHKickstartMgrPublic
- See Also:
- Constant Field Values
-
colUsmDHKickstartSecurityName
public static final int colUsmDHKickstartSecurityName
- See Also:
- Constant Field Values
-
idxUsmDHKickstartMyPublic
public static final int idxUsmDHKickstartMyPublic
- See Also:
- Constant Field Values
-
idxUsmDHKickstartMgrPublic
public static final int idxUsmDHKickstartMgrPublic
- See Also:
- Constant Field Values
-
idxUsmDHKickstartSecurityName
public static final int idxUsmDHKickstartSecurityName
- See Also:
- Constant Field Values
-
usm
protected org.snmp4j.security.USM usm
-
usmMIB
protected UsmMIB usmMIB
-
vacmMIB
protected VacmMIB vacmMIB
-
dhKickstartParameters
protected Collection<DHKickstartParameters> dhKickstartParameters
-
dhOperations
protected org.snmp4j.security.dh.DHOperations dhOperations
-
-
Constructor Detail
-
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
protected SnmpUsmDhObjectsMib(MOFactory moFactory)
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 Detail
-
createMO
protected void createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory.- Parameters:
moFactory- theMOFactoryinstance to use for object creation.
-
getUsmDHParameters
public UsmDHParametersImpl getUsmDHParameters()
-
getUsmDHUserKeyEntry
public MOTable<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow,MOColumn,MOTableModel<SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow>> getUsmDHUserKeyEntry()
-
setBaseTableUsmDHUserKeyEntry
public void setBaseTableUsmDHUserKeyEntry(DefaultMOTable<UsmMIB.UsmTableRow,MOColumn,DefaultMOMutableTableModel<UsmMIB.UsmTableRow>> baseTable)
-
getUsmDHKickstartEntry
public MOTable<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow,MOColumn,MOTableModel<SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow>> getUsmDHKickstartEntry()
-
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
public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
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
protected void initDHKickstart(Collection<DHKickstartParameters> dhKickstartParametersList)
-
getGroupNameForVacmRole
protected org.snmp4j.smi.OctetString getGroupNameForVacmRole(String role)
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
protected void addTCsToFactory(MOFactory moFactory)
-
addImportedTCsToFactory
public void addImportedTCsToFactory(MOFactory moFactory)
-
-