KNX IoT
KNX IoT Point API stack implementation
|
security credentials. More...
Go to the source code of this file.
Data Structures | |
struct | oc_cred_data_t |
credential data info More... | |
struct | oc_sec_cred_t |
security credential information More... | |
struct | oc_sec_creds_t |
credential and rowner information More... | |
Typedefs | |
typedef struct oc_cred_data_t | oc_cred_data_t |
credential data info More... | |
typedef struct oc_sec_cred_t | oc_sec_cred_t |
security credential information More... | |
typedef struct oc_sec_creds_t | oc_sec_creds_t |
credential and rowner information More... | |
typedef enum oc_sec_credtype_t | oc_sec_credtype_t |
credential type information More... | |
typedef enum oc_sec_credusage_t | oc_sec_credusage_t |
credential usage More... | |
typedef enum oc_sec_encoding_t | oc_sec_encoding_t |
Security encoding information. More... | |
Enumerations | |
enum | oc_sec_credtype_t { OC_CREDTYPE_NULL = 0 , OC_CREDTYPE_PSK = 1 , OC_CREDTYPE_CERT = 8 , OC_CREDTYPE_OSCORE = 64 , OC_CREDTYPE_OSCORE_MCAST_CLIENT = 128 , OC_CREDTYPE_OSCORE_MCAST_SERVER = 256 } |
credential type information More... | |
enum | oc_sec_credusage_t { OC_CREDUSAGE_NULL = 0 , OC_CREDUSAGE_TRUSTCA = 1 << 1 , OC_CREDUSAGE_IDENTITY_CERT = 1 << 2 , OC_CREDUSAGE_ROLE_CERT = 1 << 3 , OC_CREDUSAGE_MFG_TRUSTCA , OC_CREDUSAGE_MFG_CERT = 1 << 5 } |
credential usage More... | |
enum | oc_sec_encoding_t { OC_ENCODING_UNSUPPORTED = 0 , OC_ENCODING_BASE64 , OC_ENCODING_RAW , OC_ENCODING_PEM , OC_ENCODING_HANDLE } |
Security encoding information. More... | |
Functions | |
const char * | oc_cred_credtype_string (oc_sec_credtype_t credtype) |
credential type to string More... | |
oc_sec_credusage_t | oc_cred_parse_credusage (oc_string_t *credusage_string) |
parse credential string to type More... | |
oc_sec_encoding_t | oc_cred_parse_encoding (oc_string_t *encoding_string) |
parse credential encoding string to type More... | |
const char * | oc_cred_read_credusage (oc_sec_credusage_t credusage) |
read credential usage More... | |
const char * | oc_cred_read_encoding (oc_sec_encoding_t encoding) |
read credential encoding More... | |
security credentials.
Definition in file oc_cred.h.
typedef struct oc_cred_data_t oc_cred_data_t |
credential data info
typedef struct oc_sec_cred_t oc_sec_cred_t |
security credential information
typedef struct oc_sec_creds_t oc_sec_creds_t |
credential and rowner information
typedef enum oc_sec_credtype_t oc_sec_credtype_t |
credential type information
typedef enum oc_sec_credusage_t oc_sec_credusage_t |
credential usage
typedef enum oc_sec_encoding_t oc_sec_encoding_t |
Security encoding information.
enum oc_sec_credtype_t |
enum oc_sec_credusage_t |
credential usage
Definition at line 48 of file oc_cred.h.
enum oc_sec_encoding_t |
Security encoding information.
Definition at line 62 of file oc_cred.h.
const char* oc_cred_credtype_string | ( | oc_sec_credtype_t | credtype | ) |
credential type to string
credtype | the credential type as type |
oc_sec_credusage_t oc_cred_parse_credusage | ( | oc_string_t * | credusage_string | ) |
parse credential string to type
credusage_string | credential usage as string |
oc_sec_encoding_t oc_cred_parse_encoding | ( | oc_string_t * | encoding_string | ) |
parse credential encoding string to type
encoding_string | credential encoding string |
const char* oc_cred_read_credusage | ( | oc_sec_credusage_t | credusage | ) |
read credential usage
credusage | credential usage as type |
const char* oc_cred_read_encoding | ( | oc_sec_encoding_t | encoding | ) |
read credential encoding
encoding | credential encoding as type |