The SnmpV3Packet type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| authNoPriv(array<Byte>[]()[], array<Byte>[]()[], AuthenticationDigests) |
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.
| |
| authPriv(array<Byte>[]()[], array<Byte>[]()[], AuthenticationDigests, array<Byte>[]()[], PrivacyProtocols) |
Set packet security to authentication enabled and privacy protection enabled (SNMP v3 mode authPriv)
| |
| BuildInformResponse()()() |
Build SNMP RESPONSE packet for the received INFORM packet.
| |
| BuildInformResponse(SnmpV3Packet) |
Build SNMP RESPONSE packet for the INFORM packet class.
| |
| decode(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).) | |
| DiscoveryRequest()()() |
Build an SNMP version 3 packet suitable for use in discovery process.
| |
| DiscoveryResponse(Int32, Int32, OctetString, Int32, Int32, Int32) |
Build SNMP discovery response packet.
| |
| encode()()() |
Encode SNMP version 3 packet
(Overrides SnmpPacket..::.encode()()().) | |
| encode(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.) | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetUSM(array<Byte>[]()[], Int32) |
"Look-ahead" decode of SNMP packet header including USM information
| |
| NoAuthNoPriv()()() |
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.
| |
| NoAuthNoPriv(array<Byte>[]()[]) |
Set class security to no authentication and no privacy with the specific user name.
| |
| SetEngineId(array<Byte>[]()[]) |
Set authoritative engine id
| |
| SetEngineTime(Int32, Int32) |
Set engine time and boots values
| |
| ToString()()() | (Inherited from Object.) |