SNMP++  3.3.11
AuthHMAC128SHA224 Class Reference

Authentication module using SHA2 (usmHMAC128SHA224AuthProtocol). More...

#include <auth_priv.h>

Inheritance diagram for AuthHMAC128SHA224:
Collaboration diagram for AuthHMAC128SHA224:

Public Member Functions

int get_id () const
 Get the unique id of the authentication protocol. More...
 
const char * get_id_string () const
 Get the unique identifier string of the authentication protocol. More...
 
int get_auth_params_len () const
 Get the maximum length that is needed for the msgAuthenticationParameters field. More...
 
int get_hash_len () const
 Get length of a hash output. More...
 
- Public Member Functions inherited from AuthSHABase
int password_to_key (const unsigned char *password, const unsigned int password_len, const unsigned char *engine_id, const unsigned int engine_id_len, unsigned char *key, unsigned int *key_len)
 Generate the localized key for the given password and engine id. More...
 
int hash (const unsigned char *data, const unsigned int data_len, unsigned char *digest) const
 Generate a hash value for the given data. More...
 
int auth_out_msg (const unsigned char *key, unsigned char *msg, const int msg_len, unsigned char *auth_par_ptr)
 Authenticate an outgoing message. More...
 
int auth_inc_msg (const unsigned char *key, unsigned char *msg, const int msg_len, unsigned char *auth_par_ptr, const int auth_par_len)
 Authenticate an incoming message. More...
 
- Public Member Functions inherited from Auth
virtual ~Auth ()
 
virtual void set_salt (pp_uint64 *new_salt)
 Set the pointer to the salt that should be used. More...
 

Protected Member Functions

Hasherget_hasher () const
 

Additional Inherited Members

- Protected Attributes inherited from Auth
pp_uint64salt
 

Detailed Description

Authentication module using SHA2 (usmHMAC128SHA224AuthProtocol).

See also
Auth

Definition at line 948 of file auth_priv.h.

Member Function Documentation

◆ get_auth_params_len()

int AuthHMAC128SHA224::get_auth_params_len ( ) const
inlinevirtual

Get the maximum length that is needed for the msgAuthenticationParameters field.

Implements Auth.

Definition at line 957 of file auth_priv.h.

◆ get_hash_len()

int AuthHMAC128SHA224::get_hash_len ( ) const
inlinevirtual

Get length of a hash output.

Implements Auth.

Definition at line 959 of file auth_priv.h.

References SNMPv3_AP_OUTPUT_LENGTH_SHA224.

◆ get_hasher()

Hasher* AuthHMAC128SHA224::get_hasher ( ) const
protectedvirtual

Implements AuthSHABase.

◆ get_id()

int AuthHMAC128SHA224::get_id ( ) const
inlinevirtual

Get the unique id of the authentication protocol.

Implements Auth.

Definition at line 953 of file auth_priv.h.

References SNMP_AUTHPROTOCOL_HMAC128SHA224.

◆ get_id_string()

const char* AuthHMAC128SHA224::get_id_string ( ) const
inlinevirtual

Get the unique identifier string of the authentication protocol.

Implements Auth.

Definition at line 955 of file auth_priv.h.


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