Uses of Class
org.snmp4j.security.UsmUser
Packages that use UsmUser
Package
Description
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
-
Uses of UsmUser in org.snmp4j.security
Methods in org.snmp4j.security that return UsmUserModifier and TypeMethodDescriptionUsmUserEntry.getUsmUser()
UsmUser.localizeUser
(OctetString localizationEngineID, OctetString localizedAuthenticationKey, OctetString localizedPrivacyKey, SecurityProtocols securityProtocols) Return a copy of the current user with (updated) localized keys.USM.removeUser
(OctetString engineID, OctetString userName) Deprecated.Methods in org.snmp4j.security that return types with arguments of type UsmUserModifier and TypeMethodDescriptionUSM.removeAllUsers
(OctetString userName) Removes all USM user from the internal user name table with the specified user name.USM.removeAllUsers
(OctetString userName, OctetString engineID) Removes all USM user from the internal user name table with the specified user name and (optional) engine ID.Methods in org.snmp4j.security with parameters of type UsmUserModifier and TypeMethodDescriptionvoid
Adds an USM user to the internal username table.void
USM.addUser
(OctetString userName, UsmUser user) Adds an USM user to the internal user name table.void
USM.addUser
(OctetString userName, OctetString engineID, UsmUser user) Adds an USM user to the internal username table and associates it with an authoritative engine ID.int
Compares two USM users by their security names.void
Sets the users of this USM.void
UsmUserEntry.setUsmUser
(UsmUser usmUser) Constructors in org.snmp4j.security with parameters of type UsmUserModifierConstructorDescriptionUsmUserEntry
(OctetString userName, UsmUser user) Creates a user with user name and associatedUsmUser
.UsmUserEntry
(OctetString userName, OctetString engineID, UsmUser user) Creates a user with username and associatedUsmUser
.
null
is provided this method does only delete the generic user.