46 static std::shared_ptr<Secret>
create(
unsigned int new_key_length);
51 virtual unsigned int size()
const = 0;
56 virtual unsigned char *
data()
const = 0;
virtual unsigned char * data() const =0
Get the key data.
std::shared_ptr< Secret > SecretPtr
Definition: secret.h:59
static std::shared_ptr< Secret > create(unsigned int new_key_length)
Constructs a key to a specified length.
virtual unsigned int size() const =0
Get the key size.
Key class.
Definition: secret.h:38
Definition: Application/application.h:35