The UserSecurityModel type exposes the following members.

Methods

  NameDescription
Public methodAuthenticate(MutableByte%)
Authenticate SNMP version 3 message. Before calling this member, entire SNMP version 3 packet needs to be encoded. After authentication process is completed, authenticationParameters value in the USM header is updated and SNMPv3 packet needs to be re-encoded to include it in the BER encoded stream prior to transmission.
Public methodAuthenticate(array<Byte>[]()[][], MutableByte%)
Authenticate SNMP version 3 message. Before calling this member, entire SNMP version 3 packet needs to be encoded. After authentication process is completed, authenticationParameters value in the USM header is updated and SNMPv3 packet needs to be re-encoded to include it in the BER encoded stream prior to transmission.
Public methodClone
Clone object
(Overrides AsnType..::..Clone()()()().)
Public methoddecode
Decode USM portion of the SNMP version 3 packet.
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode
BER encode security model field.
(Overrides AsnType..::..encode(MutableByte).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAuthentic(MutableByte)
Authenticate incoming packet
Public methodIsAuthentic(array<Byte>[]()[][], MutableByte)
Authenticate incoming packet
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Reset USM object to default values. All OctetString and MutableByte members are reset to 0 length and privacy and authentication protocols are set to none.
Public methodSetEngineTime
Set SNMP version 3 agent engine time related values.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValid
Checks for validity and completeness of information in this class. This method doesn't "know" what you are trying to do so it tests for minimal information required.

See Also