The UserSecurityModel type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| Authenticate(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.
| |
| Clone()()() |
Clone object
(Overrides AsnType..::.Clone()()().) | |
| decode(array<Byte>[]()[], Int32) |
Decode USM portion of the SNMP version 3 packet.
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).) | |
| encode(MutableByte) |
BER encodes security model field. USM security model is a SEQUENCE encoded inside a OCTETSTRING. To encode it, first encode the sequence
of class values then "wrap" it inside a OCTETSTRING field
(Overrides AsnType..::.encode(MutableByte).) | |
| 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.) | |
| IsAuthentic(MutableByte) |
Authenticate incoming packet
| |
| Reset()()() |
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.
| |
| SetEngineTime(Int32, Int32) |
Set SNMP version 3 agent engine time related values.
| |
| ToString()()() | (Inherited from Object.) | |
| Valid()()() |
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.
|