SNMP++
3.3.11
|
#include <libsnmp.h>
#include "snmp_pp/config_snmp_pp.h"
#include "snmp_pp/smi.h"
#include "snmp_pp/octet.h"
#include "snmp_pp/address.h"
Go to the source code of this file.
Classes | |
struct | UsmUserTableEntry |
struct | UsmUser |
struct | UsmUserNameTableEntry |
class | USM |
This is the class for the User Based Security Model. More... | |
Typedefs | |
typedef void(* | usm_add_user_callback) (const OctetStr &engine_id, const OctetStr &usm_user_name, const OctetStr &usm_user_security_name, const int auth_protocol, const OctetStr &auth_key, const int priv_protocol, const OctetStr &priv_key) |
#define MAXLEN_USMSECURITYNAME MAXLEN_USMUSERNAME |
#define oidUsmStatsDecryptionErrors "1.3.6.1.6.3.15.1.1.6.0" |
#define oidUsmStatsNotInTimeWindows "1.3.6.1.6.3.15.1.1.2.0" |
#define oidUsmStatsUnknownEngineIDs "1.3.6.1.6.3.15.1.1.4.0" |
#define oidUsmStatsUnknownUserNames "1.3.6.1.6.3.15.1.1.3.0" |
#define oidUsmStatsUnsupportedSecLevels "1.3.6.1.6.3.15.1.1.1.0" |
#define SecurityLevel_authNoPriv SNMP_SECURITY_LEVEL_AUTH_NOPRIV |
#define SecurityLevel_authPriv SNMP_SECURITY_LEVEL_AUTH_PRIV |
#define SecurityLevel_noAuthNoPriv SNMP_SECURITY_LEVEL_NOAUTH_NOPRIV |
#define SNMP_AUTHPROTOCOL_HMAC128SHA224 4 |
HMAC-128-SHA-224.
Definition at line 83 of file usm_v3.h.
Referenced by AuthHMAC128SHA224::get_id().
#define SNMP_AUTHPROTOCOL_HMAC192SHA256 5 |
HMAC-192-SHA-256.
Definition at line 84 of file usm_v3.h.
Referenced by AuthHMAC192SHA256::get_id().
#define SNMP_AUTHPROTOCOL_HMAC256SHA384 6 |
HMAC-256-SHA-384.
Definition at line 85 of file usm_v3.h.
Referenced by AuthHMAC256SHA384::get_id().
#define SNMP_AUTHPROTOCOL_HMAC384SHA512 7 |
HMAC-384-SHA-512.
Definition at line 86 of file usm_v3.h.
Referenced by AuthHMAC384SHA512::get_id().
#define SNMP_AUTHPROTOCOL_HMACMD5 2 |
#define SNMP_AUTHPROTOCOL_HMACSHA 3 |
#define SNMP_PRIVPROTOCOL_3DESEDE 3 |
3DES (expired draft standard)
Definition at line 102 of file usm_v3.h.
Referenced by Priv3DES_EDE::get_id().
#define SNMP_PRIVPROTOCOL_AES128W3DESKEYEXT 22 |
#define SNMP_PRIVPROTOCOL_AES192W3DESKEYEXT 23 |
#define SNMP_PRIVPROTOCOL_AES256W3DESKEYEXT 24 |
#define SNMP_PRIVPROTOCOL_DES 2 |
#define SNMP_PRIVPROTOCOL_IDEA 9 |
#define SNMPv3_USM_ERROR 1401 |
Definition at line 115 of file usm_v3.h.
Referenced by PrivDES::extend_short_key(), and PrivIDEA::extend_short_key().
#define SNMPv3_USM_ERRORCOUNT SNMPv3_USM_MAX_ERROR - SNMPv3_USM_MIN_ERROR |
#define SNMPv3_USM_MAX_ERROR SNMPv3_USM_FILEREAD_ERROR |
#define SNMPv3_USM_MIN_ERROR SNMPv3_USM_OK |
#define SNMPv3_usmAES128PrivProtocol SNMP_PRIVPROTOCOL_AES128 |
#define SNMPv3_usmAES192PrivProtocol SNMP_PRIVPROTOCOL_AES192 |
#define SNMPv3_usmAES256PrivProtocol SNMP_PRIVPROTOCOL_AES256 |
#define SNMPv3_usmDESPrivProtocol SNMP_PRIVPROTOCOL_DES |
#define SNMPv3_usmHMACMD5AuthProtocol SNMP_AUTHPROTOCOL_HMACMD5 |
#define SNMPv3_usmHMACSHAAuthProtocol SNMP_AUTHPROTOCOL_HMACSHA |
#define SNMPv3_usmIDEAPrivProtocol SNMP_PRIVPROTOCOL_IDEA |
#define SNMPv3_usmNoAuthProtocol SNMP_AUTHPROTOCOL_NONE |
#define SNMPv3_usmNoPrivProtocol SNMP_PRIVPROTOCOL_NONE |