The SnmpV3Packet type exposes the following members.

Methods

  NameDescription
Public methodauthNoPriv
Set class security to enabled authentication and no privacy. To perform authentication, authentication password needs to be supplied and authentication protocol to be used to perform authentication. This method does not initialize the packet user name. Use SNMPV3Packet.SecurityName method to set the security name (also called user name) for this request.
Public methodauthPriv
Set packet security to authentication enabled and privacy protection enabled (SNMP v3 mode authPriv)
Public methodBuildInformResponse()()()()
Build SNMP RESPONSE packet for the received INFORM packet.
Public methodStatic memberBuildInformResponse(SnmpV3Packet)
Build SNMP RESPONSE packet for the INFORM packet class.
Public methoddecode(array<Byte>[]()[][], Int32)
Decode SNMP version 3 packet. This method will perform authentication check and decode privacy protected ScopedPdu. This method will not check for the timeliness of the packet, correct engine boot value or engine id because it does not have a reference to the engine time prior to this call.
(Overrides SnmpPacket..::..decode(array<Byte>[]()[][], Int32).)
Public methoddecode(array<Byte>[]()[][], Int32, array<Byte>[]()[][], array<Byte>[]()[][])
Decode SNMP version 3 packet. This method will perform authentication check and decode privacy protected ScopedPdu. This method will not check for the timeliness of the packet, correct engine boot value or engine id because it does not have a reference to the engine time prior to this call.
Public methodStatic memberDiscoveryRequest
Build an SNMP version 3 packet suitable for use in discovery process.
Public methodStatic memberDiscoveryResponse
Build SNMP discovery response packet.
Public methodencode()()()()
Encode SNMP version 3 packet
(Overrides SnmpPacket..::..encode()()()().)
Public methodencode(MutableByte)
Wrap BER encoded SNMP information contained in the parameter MutableByte class. Information in the parameter is prepended by the SNMP version field and wrapped in a sequence header. Derived classes call this method to finalize SNMP packet encoding.
(Inherited from SnmpPacket.)
Public methodencode(array<Byte>[]()[][], array<Byte>[]()[][])
Encode SNMP version 3 packet
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 methodGenerateAuthenticationKey
Generate authentication key from authentication password and engine id
Public methodGeneratePrivacyKey
Generate privacy key from authentication password and engine id
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 methodGetUSM
"Look-ahead" decode of SNMP packet header including USM information
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNoAuthNoPriv()()()()
Set class security to no authentication and no privacy. User name is set to "initial" (suitable for SNMP version 3 discovery process). Change username before using if discovery is not being performed.
Public methodNoAuthNoPriv(array<Byte>[]()[][])
Set class security to no authentication and no privacy with the specific user name.
Public methodSetEngineId
Set authoritative engine id
Public methodSetEngineTime
Set engine time and boots values
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also