|
libmoost
|
#include <nsca_crypto.hpp>


Classes | |
| struct | crypt_instance |
Public Member Functions | |
| nsca_crypto (char const *received_iv, int const method, std::string const &password) | |
| ~nsca_crypto () | |
| void | encrypt (nsca_data_packet &packet) const |
| void | decrypt (nsca_data_packet &packet) const |
Private Types | |
| typedef boost::scoped_ptr < crypt_instance > | crypt_instance_ptr |
Private Member Functions | |
| void | encrypt_init (char const *, int encryption_method, char const *received_iv, crypt_instance_ptr &CI) const |
| void | encrypt_cleanup (int, crypt_instance_ptr const &CI) |
| void | encrypt_buffer (char *buffer, size_t buffer_size, char const *password, int encryption_method, crypt_instance_ptr const &CI) const |
| void | decrypt_buffer (char *buffer, size_t buffer_size, char const *password, int encryption_method, crypt_instance_ptr const &CI) const |
Private Attributes | |
| int | method_ |
| std::string | password_ |
| crypt_instance_ptr | CIptr_ |
Definition at line 53 of file nsca_crypto.hpp.
typedef boost::scoped_ptr< crypt_instance > moost::nagios::nsca_crypto::crypt_instance_ptr [private] |
Definition at line 70 of file nsca_crypto.hpp.
| moost::nagios::nsca_crypto::nsca_crypto | ( | char const * | received_iv, |
| int const | method, | ||
| std::string const & | password | ||
| ) | [inline] |
| moost::nagios::nsca_crypto::~nsca_crypto | ( | ) | [inline] |
| void moost::nagios::nsca_crypto::decrypt | ( | nsca_data_packet & | packet | ) | const [inline] |
| void moost::nagios::nsca_crypto::decrypt_buffer | ( | char * | buffer, |
| size_t | buffer_size, | ||
| char const * | password, | ||
| int | encryption_method, | ||
| crypt_instance_ptr const & | CI | ||
| ) | const [inline, private] |
Definition at line 320 of file nsca_crypto.hpp.


| void moost::nagios::nsca_crypto::encrypt | ( | nsca_data_packet & | packet | ) | const [inline] |
| void moost::nagios::nsca_crypto::encrypt_buffer | ( | char * | buffer, |
| size_t | buffer_size, | ||
| char const * | password, | ||
| int | encryption_method, | ||
| crypt_instance_ptr const & | CI | ||
| ) | const [inline, private] |
| void moost::nagios::nsca_crypto::encrypt_cleanup | ( | int | , |
| crypt_instance_ptr const & | CI | ||
| ) | [inline, private] |
| void moost::nagios::nsca_crypto::encrypt_init | ( | char const * | , |
| int | encryption_method, | ||
| char const * | received_iv, | ||
| crypt_instance_ptr & | CI | ||
| ) | const [inline, private] |
Definition at line 351 of file nsca_crypto.hpp.
int moost::nagios::nsca_crypto::method_ [private] |
Definition at line 349 of file nsca_crypto.hpp.
std::string moost::nagios::nsca_crypto::password_ [private] |
Definition at line 350 of file nsca_crypto.hpp.