ESAPI-C 1.0
The OWASP Enterprise Security API for C
|
00001 00014 #ifndef _ESAPI_H 00015 #define _ESAPI_H 00016 00017 //struct esapi_event_quota { 00018 // char *event; 00019 // int max; 00020 //}; 00021 00025 struct esapi_ctx { 00026 int print_properties; 00027 char *master_key; 00028 char *master_salt; 00029 char *master_iv; 00030 char **allowed_exts; 00031 int allowed_exts_len; 00032 long max_file_size; 00033 int sym_algo; 00034 int sym_algo_mode; 00035 char sym_key[128]; 00036 int hash_algo; 00037 int asym_algo; 00038 char *asym_priv_key; 00039 char *asym_pub_key; 00040 int fips140; 00041 int secure_mem; 00042 int allowed_login_attempts; 00043 // struct esapi_event_quota *quotas; 00044 // int quota_len; 00045 int idle_timeout; 00046 int absolute_timeout; 00047 }; 00048 00056 extern struct esapi_ctx *load_security_context(const char *); 00057 00058 #endif