Filter results by

Older Versions

Older API versions are available as a download. To view, extract the file and open the index.html file in a web browser.

artik_security.h File Reference

Security module definition. More...

#include "artik_time.h"
#include "artik_error.h"
#include "artik_types.h"

Go to the source code of this file.

Data Structures

struct  artik_security_module
 Security module operations. More...
 

Macros

#define ARTIK_CERT_SN_MAXLEN   20
 Maximum length for the serial number strings. More...
 

Typedefs

typedef void * artik_security_handle
 Security handle type. More...
 

Enumerations

enum  artik_security_certificate_id { CERT_ID_ARTIK, CERT_ID_MANUFACTURER }
 Certificate identifier. More...
 

Variables

const artik_security_module security_module
 

Detailed Description

Definitions and functions for accessing the Security module and make use of the hardware Secure Element for cryptographic and signing features.

Definition in file artik_security.h.

Macro Definition Documentation

#define ARTIK_CERT_SN_MAXLEN   20

Maximum length allowed for string containing an serial number from a certificate of artik secure element

Examples:
security_test/artik_security_test.c.

Definition at line 50 of file artik_security.h.

Typedef Documentation

typedef void* artik_security_handle

Handle type used to carry instance specific information for a security object

Definition at line 58 of file artik_security.h.

Enumeration Type Documentation

This enum type is used to define the available certificate in the Secure Element

Enumerator
CERT_ID_ARTIK 

Artik certificate.

CERT_ID_MANUFACTURER 

Post-provisioned certificate.

Definition at line 65 of file artik_security.h.

Last updated on: