User security model implementation class.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class UserSecurityModel : AsnType
Public Class UserSecurityModel _
	Inherits AsnType
public ref class UserSecurityModel : public AsnType

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UserSecurityModel()()()
Standard constructor.
UserSecurityModel(UserSecurityModel)
Copy constructor.
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.
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).
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).)
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
Equals(Object)
Determines whether the specified Object is equal to the current 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
Privacy
Get/set privacy protocol value. For available privacy protocols, see PrivacyProtocols enumeration.
PrivacyParameters
Get privacy parameters object.
PrivacySecret
Privacy secret (or password)
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.
SecurityName
Security name (or user name)
SetEngineTime(Int32, Int32)
Set SNMP version 3 agent engine time related values.
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)
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.

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.AsnType
    SnmpSharpNet..::.UserSecurityModel

See Also