File authenticate_password.hpp¶
FileList > cubrid > src > object > authenticate_password.hpp
Go to the source code of this file
#include "dbtype_def.h"
Public Functions¶
| Type | Name |
|---|---|
| int | au_set_password_internal (MOP user, const char * password, int encode, char encrypt_prefix) |
| void | encrypt_password (const char * pass, int add_prefix, char * dest) |
| void | encrypt_password_sha1 (const char * pass, int add_prefix, char * dest) |
| void | encrypt_password_sha2_512 (const char * pass, char * dest) |
| bool | match_password (const char * user, const char * database) |
Macros¶
| Type | Name |
|---|---|
| define | AU_MAX_COMMENT_CHARS [**SM\_MAX\_COMMENT\_LENGTH**](class__object_8h.md#define-sm_max_comment_length) |
| define | AU_MAX_PASSWORD_BUF 2048 |
| define | AU_MAX_PASSWORD_CHARS 31 |
| define | ENCODE_PREFIX_DEFAULT ([**char**](broker__monitor_8c.md#function-timeout))0 |
| define | ENCODE_PREFIX_DES ([**char**](broker__monitor_8c.md#function-timeout))1 |
| define | ENCODE_PREFIX_SHA1 ([**char**](broker__monitor_8c.md#function-timeout))2 |
| define | ENCODE_PREFIX_SHA2_512 ([**char**](broker__monitor_8c.md#function-timeout))3 |
| define | IS_ENCODED_ANY (string) ([**IS\_ENCODED\_SHA2\_512**](authenticate__password_8hpp.md#define-is_encoded_sha2_512) (string) \|\| [**IS\_ENCODED\_SHA1**](authenticate__password_8hpp.md#define-is_encoded_sha1) (string) \|\| [**IS\_ENCODED\_DES**](authenticate__password_8hpp.md#define-is_encoded_des) (string)) |
| define | IS_ENCODED_DES (string) (string[0] == [**ENCODE\_PREFIX\_DES**](authenticate__password_8hpp.md#define-encode_prefix_des)) |
| define | IS_ENCODED_SHA1 (string) (string[0] == [**ENCODE\_PREFIX\_SHA1**](authenticate__password_8hpp.md#define-encode_prefix_sha1)) |
| define | IS_ENCODED_SHA2_512 (string) (string[0] == [**ENCODE\_PREFIX\_SHA2\_512**](authenticate__password_8hpp.md#define-encode_prefix_sha2_512)) |
| define | PASSWORD_ENCRYPTION_SEED "U9a$y1@[**zw~a0**](broker__monitor_8c.md#function-timeout)%" |
Public Functions Documentation¶
function au_set_password_internal¶
function encrypt_password¶
function encrypt_password_sha1¶
function encrypt_password_sha2_512¶
function match_password¶
Macro Definition Documentation¶
define AU_MAX_COMMENT_CHARS¶
define AU_MAX_PASSWORD_BUF¶
define AU_MAX_PASSWORD_CHARS¶
define ENCODE_PREFIX_DEFAULT¶
define ENCODE_PREFIX_DES¶
define ENCODE_PREFIX_SHA1¶
define ENCODE_PREFIX_SHA2_512¶
define IS_ENCODED_ANY¶
#define IS_ENCODED_ANY (
string
) `( IS_ENCODED_SHA2_512 (string) || IS_ENCODED_SHA1 (string) || IS_ENCODED_DES (string))`
define IS_ENCODED_DES¶
define IS_ENCODED_SHA1¶
define IS_ENCODED_SHA2_512¶
define PASSWORD_ENCRYPTION_SEED¶
The documentation for this class was generated from the following file cubrid/src/object/authenticate_password.hpp