Go to the source code of this file.
Data Structures | |
struct | creds_store_funcs |
struct with function pointers to use credstore More... | |
Defines | |
#define | XOS_CREDENTIAL_MAXSIZE 10000 |
the maximun credential size (in bytes) | |
Typedefs | |
typedef struct creds_store_funcs * | xoscredstore_h |
Functions | |
struct creds_store_funcs * | get_creds_store_funcs () |
get function pointers of available credstore default implementation | |
struct creds_store_funcs * | get_creds_store_funcs_by_impl (char *impl) |
get function pointers of requested credstore implementation |
This file should be included by any application or library that use libcredstore API directly. It's not needed in applications that use xos_getcred.
#define XOS_CREDENTIAL_MAXSIZE 10000 |
the maximun credential size (in bytes)
in KRS implementation, 10,000 bytes is a limit per user, that includes also metadata and names (if you use KRS, ensure that this limit is below 9800 to make space metadata). ZKRS implementation compress the credential, but compress ratio is not predectible
struct creds_store_funcs* get_creds_store_funcs | ( | ) | [read] |
get function pointers of available credstore default implementation
If kernel supports Key Retention Service, default implementation is zkrs ( KRS with key compress). If KRS is not available, default implementation is uskeystore.
function pointers | of credstore implementation | |
NULL | if failure |
struct creds_store_funcs* get_creds_store_funcs_by_impl | ( | char * | impl | ) | [read] |
get function pointers of requested credstore implementation
Currently, there are three implementations available:
function pointers | of credstore implementation | |
NULL | if failure |