|
ClanLib
2.3.7
|
Key class. More...
#include <secret.h>
Public Member Functions | |
Construction | |
| CL_Secret () | |
| Constructs a key (unset) More... | |
| CL_Secret (unsigned int new_key_length) | |
| Constructs a key to a specified length. More... | |
Attributes | |
| unsigned int | get_size () const |
| Get the key size. More... | |
| unsigned char * | get_data () const |
| Get the key data. More... | |
Key class.
This class zero's the key from memory when the class is destroyed
| CL_Secret::CL_Secret | ( | ) |
Constructs a key (unset)
| CL_Secret::CL_Secret | ( | unsigned int | new_key_length) |
Constructs a key to a specified length.
The data is not initialised
| new_key_length | = Length of the key |
| unsigned char* CL_Secret::get_data | ( | ) | const |
Get the key data.
| unsigned int CL_Secret::get_size | ( | ) | const |
Get the key size.
1.8.4