The UserSecurityModel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UserSecurityModel | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Authenticate |
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 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 | (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.) | |
| IsAuthentic |
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 |
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.) |