SNMP++  3.3.11
auth_priv.h File Reference
#include <libsnmp.h>
#include "snmp_pp/config_snmp_pp.h"
#include "snmp_pp/usm_v3.h"

Go to the source code of this file.

Classes

class  Auth
 Abstract class for auth modules. More...
 
class  Priv
 Abstract class for priv modules. More...
 
class  AuthPriv
 Class that holds all authentication and privacy protocols for a snmp entity. More...
 
class  AuthMD5
 Authentication module using MD5. More...
 
class  PrivDES
 Encryption module using DES. More...
 
class  PrivIDEA
 Encryption module using IDEA. More...
 
class  PrivAES
 Encryption module using AES. More...
 
class  PrivAESW3DESKeyExt
 Encryption module using AES but using non standard key extension. More...
 
class  Priv3DES_EDE
 
class  AuthSHABase
 Base class for SHA authentication modules. More...
 
class  AuthSHABase::Hasher
 
class  AuthSHA
 Authentication module using SHA1 (usmHMACSHAAuthProtocol). More...
 
class  AuthHMAC128SHA224
 Authentication module using SHA2 (usmHMAC128SHA224AuthProtocol). More...
 
class  AuthHMAC192SHA256
 Authentication module using SHA2 (usmHMAC192SHA256AuthProtocol). More...
 
class  AuthHMAC256SHA384
 Authentication module using SHA2 (usmHMAC256SHA384AuthProtocol). More...
 
class  AuthHMAC384SHA512
 Authentication module using SHA2 (usmHMAC384SHA512AuthProtocol). More...
 

Macros

#define SNMPv3_USM_MAX_KEY_LEN   64
 
#define SNMPv3_AP_MAXLENGTH_AUTHPARAM   128
 
#define SNMPv3_AP_MAXLENGTH_PRIVPARAM   128
 
#define SNMPv3_AP_OUTPUT_LENGTH_MD5   16
 
#define SNMPv3_AP_OUTPUT_LENGTH_SHA   20
 
#define SNMPv3_AP_OUTPUT_LENGTH_SHA224   28
 
#define SNMPv3_AP_OUTPUT_LENGTH_SHA256   32
 
#define SNMPv3_AP_OUTPUT_LENGTH_SHA384   48
 
#define SNMPv3_AP_OUTPUT_LENGTH_SHA512   64
 
#define TRIPLEDES_EDE_KEY_LEN   32
 Encryption module using TripleDES-EDE KEY. More...
 

Typedefs

typedef AuthAuthPtr
 
typedef PrivPrivPtr
 

Macro Definition Documentation

◆ SNMPv3_AP_MAXLENGTH_AUTHPARAM

#define SNMPv3_AP_MAXLENGTH_AUTHPARAM   128

Definition at line 46 of file auth_priv.h.

◆ SNMPv3_AP_MAXLENGTH_PRIVPARAM

#define SNMPv3_AP_MAXLENGTH_PRIVPARAM   128

Definition at line 47 of file auth_priv.h.

◆ SNMPv3_AP_OUTPUT_LENGTH_MD5

#define SNMPv3_AP_OUTPUT_LENGTH_MD5   16

Definition at line 50 of file auth_priv.h.

Referenced by AuthMD5::get_hash_len().

◆ SNMPv3_AP_OUTPUT_LENGTH_SHA

#define SNMPv3_AP_OUTPUT_LENGTH_SHA   20

Definition at line 51 of file auth_priv.h.

Referenced by AuthSHA::get_hash_len().

◆ SNMPv3_AP_OUTPUT_LENGTH_SHA224

#define SNMPv3_AP_OUTPUT_LENGTH_SHA224   28

Definition at line 53 of file auth_priv.h.

Referenced by AuthHMAC128SHA224::get_hash_len().

◆ SNMPv3_AP_OUTPUT_LENGTH_SHA256

#define SNMPv3_AP_OUTPUT_LENGTH_SHA256   32

Definition at line 54 of file auth_priv.h.

Referenced by AuthHMAC192SHA256::get_hash_len().

◆ SNMPv3_AP_OUTPUT_LENGTH_SHA384

#define SNMPv3_AP_OUTPUT_LENGTH_SHA384   48

Definition at line 55 of file auth_priv.h.

Referenced by AuthHMAC256SHA384::get_hash_len().

◆ SNMPv3_AP_OUTPUT_LENGTH_SHA512

#define SNMPv3_AP_OUTPUT_LENGTH_SHA512   64

Definition at line 56 of file auth_priv.h.

Referenced by AuthHMAC384SHA512::get_hash_len().

◆ SNMPv3_USM_MAX_KEY_LEN

#define SNMPv3_USM_MAX_KEY_LEN   64

Definition at line 43 of file auth_priv.h.

◆ TRIPLEDES_EDE_KEY_LEN

#define TRIPLEDES_EDE_KEY_LEN   32

Encryption module using TripleDES-EDE KEY.

See also
Priv

Definition at line 804 of file auth_priv.h.

Referenced by Priv3DES_EDE::fix_key_len(), and Priv3DES_EDE::get_min_key_len().

Typedef Documentation

◆ AuthPtr

typedef Auth* AuthPtr

Definition at line 335 of file auth_priv.h.

◆ PrivPtr

typedef Priv* PrivPtr

Definition at line 336 of file auth_priv.h.