Binary support in shared libraries
This commit is contained in:
@@ -89,6 +89,7 @@ typedef unsigned char SS_UTF8_T;
|
||||
|
||||
// used to denote what structure is being used for the credentials
|
||||
#define SSCS_CRED_TYPE_BASIC_F 0x00000001L
|
||||
#define SSCS_CRED_TYPE_BINARY_F 0x00000002L
|
||||
|
||||
// used to denote the type of username being requested or set
|
||||
#define USERNAME_TYPE_CN_F 0x00000000L // default behavior
|
||||
@@ -113,7 +114,15 @@ typedef struct _sscs_basic_credential
|
||||
uint32_t pwordLen;
|
||||
SS_UTF8_T password[NSSCS_MAX_PWORD_LEN];
|
||||
} SSCS_BASIC_CREDENTIAL;
|
||||
|
||||
|
||||
|
||||
typedef struct _sscs_binary_credential
|
||||
{
|
||||
uint32_t idLen;
|
||||
SS_UTF8_T id[NSSCS_MAX_SECRET_ID_LEN];
|
||||
uint32_t *dataLen;
|
||||
uint8_t *data;
|
||||
} SSCS_BINARY_CREDENTIAL;
|
||||
|
||||
typedef struct _sscs_ext_t
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user