The ScopedPdu type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clone this object
(Inherited from Pdu.) | |
| decode |
Decode BER encoded ScopedPdu values. This method does not perform SNMP v3 privacy operations
and is not aware of privacy requirements.
To decode a privacy protected SNMP v3 packet, you will need to a) extract OctetString value
holding encrypted ScopedPdu data, b) decrypt the encrypted ScopedPdu data into an unecrypted
byte array, c) pass unencrypted ScopedPdu and BER encoded byte array to this method for
final data conversion from BER into individual sequences and variables.
(Overrides Pdu..::.decode(array<Byte>[]()[], Int32).) | |
| DeleteVb |
Delete VB from the specified location in the VarBind list
(Inherited from Pdu.) | |
| encode |
Convert ScopedPdu into a BER encoded byte array. Resulting byte array is appended
to the argument specified MutableByte class.
Privacy operations are not performed by this method. Value encoded and returned by this method is
suitable for sending in NoAuthNoPriv or AuthNoPriv security configurations. If privacy is required,
caller will have to perform encryption and decryption operations after BER encoding is performed.
In privacy protected SNMP version 3 packets, ScopedPdu is 1) encrypted using configured encryption
method, 2) added to a OctetString field, and 3) appended to the data buffer.
Because privacy operation is intrusive, it is recommended that BER encoding of the ScopedPdu packet
is stored in a temporary MutableByte class, where it can be privacy protected and
added to the OctetString class for final encoding into the target SNMP v3 packet.
(Overrides Pdu..::.encode(MutableByte).) | |
| Equals | (Inherited from Object.) | |
| FieldGetter | (Inherited from Object.) | |
| FieldSetter | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetFieldInfo | (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.) | |
| GetVb |
Get VB from VarBind list at the specified index
(Inherited from Pdu.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Reset |
Reset VbList.
(Inherited from Pdu.) | |
| Set |
Copy values from another Pdu class.
(Inherited from Pdu.) | |
| SetVbList |
Set VbList
(Inherited from Pdu.) | |
| ToString | (Inherited from Object.) |