SnmpSecurityModel Class Reference

SnmpSecurityModel. More...

#include <snmp_textual_conventions.h>

Inheritance diagram for SnmpSecurityModel:

SnmpInt32MinMax MibLeaf MibEntry ThreadManager Synchronized

List of all members.

Public Member Functions

 SnmpSecurityModel (const Oidx &, mib_access, int, int)
virtual ~SnmpSecurityModel ()
virtual MibEntryPtr clone ()
 Clone the receiver object.


Detailed Description

SnmpSecurityModel.

An identifier that uniquely identifies a securityModel of the Security Subsystem within the SNMP Management Architecture.

The values for securityModel are allocated as follows:

enterpriseID * 256 + security model within enterprise

For example, the fourth Security Model defined by the enterprise whose enterpriseID is 1 would be 260.

This scheme for allocation of securityModel values allows for a maximum of 255 standards- based Security Models, and for a maximum of 255 Security Models per enterprise.

It is believed that the assignment of new securityModel values will be rare in practice because the larger the number of simultaneously utilized Security Models, the larger the chance that interoperability will suffer. Consequently, it is believed that such a range will be sufficient. In the unlikely event that the standards committee finds this number to be insufficient over time, an enterprise number can be allocated to obtain an additional 255 possible values.

Note that the most significant bit must be zero; hence, there are 23 bits allocated for various organizations to design and define non-standard securityModels. This limits the ability to define new proprietary implementations of Security Models to the first 8,388,608 enterprises.

It is worthwhile to note that, in its encoded form, the securityModel value will normally require only a single byte since, in practice, the leftmost bits will be zero for most messages and sign extension is suppressed by the encoding rules.

As of this writing, there are several values of securityModel defined for use with SNMP or reserved for use with supporting MIB objects. They are as follows:

0 reserved for 'any' 1 reserved for SNMPv1 2 reserved for SNMPv2c 3 User-Based Security Model (USM)

Author:
Frank Fock
Version:
3.3

Constructor & Destructor Documentation

SnmpSecurityModel::SnmpSecurityModel ( const Oidx ,
mib_access  ,
int  ,
int   
)

virtual SnmpSecurityModel::~SnmpSecurityModel (  )  [virtual]


Member Function Documentation

virtual MibEntryPtr SnmpSecurityModel::clone (  )  [virtual]

Clone the receiver object.

Returns:
A pointer to the clone.

Reimplemented from SnmpInt32MinMax.


The documentation for this class was generated from the following file:

Generated on Fri May 29 22:36:55 2009 for AGENT++ by  doxygen 1.5.6