SEcube open-source SDK
Public Member Functions | Private Attributes | List of all members
se_group Class Reference

Implement the concept of group inside SEkey. Class members are kept private and suitable getter/setter methods are provided. More...

#include <SEkey.h>

Public Member Functions

 se_group (std::string &groupid, std::string &groupname, group_policy gpolicy)
 
std::string & get_id ()
 
void set_id (std::string &new_id)
 
std::string & get_name ()
 
void set_name (std::string &new_name)
 
uint32_t get_users_counter ()
 
void set_users_counter (uint32_t cnt)
 
uint32_t get_keys_counter ()
 
void set_keys_counter (uint32_t cnt)
 
uint32_t get_keys_maxnumber ()
 
void set_keys_maxnumber (uint32_t max)
 
uint32_t get_keys_algorithm ()
 
void set_keys_algorithm (uint32_t algo)
 
uint32_t get_keys_cryptoperiod ()
 
void set_keys_cryptoperiod (uint32_t cryptoperiod)
 
void print_group_details (std::ofstream &sekey_log)
 

Private Attributes

std::string id
 
std::string name
 
uint32_t users_counter
 
uint32_t keys_counter
 
group_policy policy
 
std::vector< se_userusers_list
 
std::vector< se_keykeys_list
 

Detailed Description

Implement the concept of group inside SEkey. Class members are kept private and suitable getter/setter methods are provided.

Member Data Documentation

◆ id

std::string se_group::id
private

ID of the group.

◆ keys_counter

uint32_t se_group::keys_counter
private

The number of keys currently in the group.

◆ keys_list

std::vector<se_key> se_group::keys_list
private

Not used at the moment.

◆ name

std::string se_group::name
private

Name of the group.

◆ policy

group_policy se_group::policy
private

The policy of the group.

◆ users_counter

uint32_t se_group::users_counter
private

The number of users currently in the group.

◆ users_list

std::vector<se_user> se_group::users_list
private

Not used at the moment.


The documentation for this class was generated from the following files: