7 #ifndef WPP_M_0_LWM2M_SECURITY_H
8 #define WPP_M_0_LWM2M_SECURITY_H
36 SMS_SECURITY_MODE_6 = 6,
39 SMS_BINDING_KEY_PARAMETERS_7 = 7,
42 SMS_BINDING_SECRET_KEY_S__8 = 8,
45 LWM2M_SERVER_SMS_NUMBER_9 = 9,
57 MATCHING_TYPE_13 = 13,
63 CERTIFICATE_USAGE_15 = 15,
66 DTLS_TLS_CIPHERSUITE_16 = 16,
69 OSCORE_SECURITY_MODE_17 = 17,
75 enum SmsSecMode: uint8_t {
78 SMS_SEC_PACK_STRUCT = 2,
80 SMS_SEC_MODE_MAX = 255
85 enum SmsKeyLen: uint8_t {
92 enum MatchType: uint8_t {
102 enum CertUsage: uint8_t {
104 SERVICE_CERT_CONSTRAINT = 1,
105 TRUST_ANCHOR_ASSERTION = 2,
106 DOMAIN_ISSUED_CERT = 3,
113 Lwm2mSecurity(lwm2m_context_t &context,
const OBJ_LINK_T &
id);
122 static Object &
object(WppClient &ctx);
170 void resourcesCreate();
175 void resourcesInit();
Instance is interface class that implements manipulation with derived class resources....
Instance(lwm2m_context_t &context, const OBJ_LINK_T &id)
static Object & object(WppClient &ctx)
Gets the Object reference.
Lwm2mSecurity(lwm2m_context_t &context, const OBJ_LINK_T &id)
static Lwm2mSecurity * createInst(WppClient &ctx, ID_T instId=ID_T_MAX_VAL)
Creates an instance of the object.
static Lwm2mSecurity * instance(WppClient &ctx, ID_T instId=ID_T_MAX_VAL)
Gets an instance of the object.
static bool removeInst(WppClient &ctx, ID_T instId)
Removes an instance of the object.
void userOperationNotifier(ItemOp::TYPE type, const ResLink &resLink) override
This method must be implemented by the derived class, and handle information about resource operation...
@ CLIENT_HOLD_OFF_TIME_11
@ BOOTSTRAP_SERVER_ACCOUNT_TIMEOUT_12
@ PUBLIC_KEY_OR_IDENTITY_3
void serverOperationNotifier(Instance *securityInst, ItemOp::TYPE type, const ResLink &resLink) override
This method must be implemented by the derived class, and handle information about resource operation...
The WppConnection class represents a connection interface for the Wpp library.
TYPE
Enum representing the different types of operations.