The UserSecurityModel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UserSecurityModel()()()() |
Standard constructor.
| |
| UserSecurityModel(UserSecurityModel) |
Copy constructor.
|
Methods
| Name | 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.
| |
| Authenticate(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.
| |
| Clone |
Clone object
(Overrides AsnType..::..Clone()()()().) | |
| decode |
Decode USM portion of the SNMP version 3 packet.
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).) | |
| encode | BER encode security model field. (Overrides AsnType..::..encode(MutableByte).) | |
| Equals | (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.) | |
| 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
| |
| IsAuthentic(array<Byte>[]()[][], MutableByte) |
Authenticate incoming packet
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| 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 |
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.
|
Fields
| Name | Description | |
|---|---|---|
| _asnType |
ASN.1 type byte.
(Inherited from AsnType.) | |
| _authentication |
Authentication digest enumeration value. For acceptable values see AuthenticationDigests | |
| _authenticationSecret |
Authentication secret
| |
| _engineBoots |
Authoritative engine boots value
| |
| _engineId |
Authoritative engine id
| |
| _engineTime |
Authoritative engine time value
| |
| _privacy |
Privacy protocol. For valid values see PrivacyProtocols | |
| _privacyParameters |
Privacy parameters in authPriv requests
| |
| _privacySecret |
Privacy secret
| |
| _securityName |
SNMP version 3 security name (or user name)
|
Properties
| Name | Description | |
|---|---|---|
| Authentication |
Get/Set hash to use for SNMP version 3 authentication. For available values see AuthenticationDigests | |
| AuthenticationParameters |
Get SNMP version 3 authentication parameter field object
| |
| AuthenticationSecret |
Authentication secret (or password).
| |
| EngineBoots |
Get SNMP version 3 agent authoritative engine boots object
| |
| EngineId |
Get SNMP version 3 agent authoritative engine id object
| |
| EngineTime |
Get SNMP version 3 agent authoritative engine time object
| |
| Privacy |
Get/set privacy protocol value. For available privacy protocols, see PrivacyProtocols
enumeration.
| |
| PrivacyParameters |
Get privacy parameters object.
| |
| PrivacySecret |
Privacy secret (or password)
| |
| SecurityName |
Security name (or user name)
| |
| Type |
Get ASN.1 value type stored in this class.
(Inherited from AsnType.) |