The UserSecurityModel type exposes the following members.

Constructors

  NameDescription
Public methodUserSecurityModel()()()()
Standard constructor.
Public methodUserSecurityModel(UserSecurityModel)
Copy constructor.

Methods

  NameDescription
Public methodAuthenticate(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.
Public methodAuthenticate(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.
Public methodClone
Clone object
(Overrides AsnType..::..Clone()()()().)
Public methoddecode
Decode USM portion of the SNMP version 3 packet.
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode
BER encode security model field.
(Overrides AsnType..::..encode(MutableByte).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAuthentic(MutableByte)
Authenticate incoming packet
Public methodIsAuthentic(array<Byte>[]()[][], MutableByte)
Authenticate incoming packet
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
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.
Public methodSetEngineTime
Set SNMP version 3 agent engine time related values.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValid
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

  NameDescription
Protected field_asnType
ASN.1 type byte.
(Inherited from AsnType.)
Protected field_authentication
Authentication digest enumeration value. For acceptable values see AuthenticationDigests
Protected field_authenticationSecret
Authentication secret
Protected field_engineBoots
Authoritative engine boots value
Protected field_engineId
Authoritative engine id
Protected field_engineTime
Authoritative engine time value
Protected field_privacy
Privacy protocol. For valid values see PrivacyProtocols
Protected field_privacyParameters
Privacy parameters in authPriv requests
Protected field_privacySecret
Privacy secret
Protected field_securityName
SNMP version 3 security name (or user name)

Properties

  NameDescription
Public propertyAuthentication
Get/Set hash to use for SNMP version 3 authentication. For available values see AuthenticationDigests
Public propertyAuthenticationParameters
Get SNMP version 3 authentication parameter field object
Public propertyAuthenticationSecret
Authentication secret (or password).
Public propertyEngineBoots
Get SNMP version 3 agent authoritative engine boots object
Public propertyEngineId
Get SNMP version 3 agent authoritative engine id object
Public propertyEngineTime
Get SNMP version 3 agent authoritative engine time object
Public propertyPrivacy
Get/set privacy protocol value. For available privacy protocols, see PrivacyProtocols enumeration.
Public propertyPrivacyParameters
Get privacy parameters object.
Public propertyPrivacySecret
Privacy secret (or password)
Public propertySecurityName
Security name (or user name)
Public propertyType
Get ASN.1 value type stored in this class.
(Inherited from AsnType.)

See Also