User class
A user credential for authenticating, encrypting, and decrypting SNMP v3 Messages
Constructors
- User(String name, SecurityLevel level, {AuthProtocol authProtocol = AuthProtocol.sha, String authKey = '', PrivProtocol privProtocol = PrivProtocol.des, String privKey = ''})
- A user credential for authenticating, encrypting, and decrypting SNMP v3 Messages
Properties
- authKey ↔ String
-
The key used to authenticate the user
getter/setter pair
- authProtocol ↔ AuthProtocol
-
The type of authorization security to use (md5 or sha)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ SecurityLevel
-
Specifies whether the credential requires auth, privacy, or both
getter/setter pair
- name ↔ String
-
Username
getter/setter pair
- privKey ↔ String
-
The key used to encrypt messages
getter/setter pair
- privProtocol ↔ PrivProtocol
-
The type of privacy (encryption) to use (des or aes)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited