25 #ifndef OBJECT_SECURITY_H_
26 #define OBJECT_SECURITY_H_
41 const char *serverUri,
void clean_security_object(lwm2m_object_t *objectP)
Free and clean up the security object.
Definition: object_security.c:497
const char * security_get_secret_key(lwm2m_object_t *objectP, uint16_t secObjInstID, size_t *keyLen)
Get the secret key from security object.
Definition: object_security.c:634
const char * security_get_server_uri(lwm2m_object_t *objectP, uint16_t secObjInstID)
Get the server URI from security object.
Definition: object_security.c:596
int32_t security_get_mode(lwm2m_object_t *objectP, uint16_t secObjInstID)
Get the security mode from security object.
Definition: object_security.c:608
lwm2m_object_t * get_security_object(int serverId, const char *serverUri, char *bsPskId, char *psk, uint16_t pskLen, bool isBootstrap)
Create the security object and return a pointer to it.
Definition: object_security.c:516
const char * security_get_public_id(lwm2m_object_t *objectP, uint16_t secObjInstID, size_t *idLen)
Get the public id from security object.
Definition: object_security.c:620
void security_display_object(lwm2m_object_t *objectP)
Print the security object to output, for debugging.
Definition: object_security.c:478
void security_copy_object(lwm2m_object_t *objectDest, lwm2m_object_t *objectSrc)
Create a copy of the security object source into the destination, with freshly allocated internal dat...
Definition: object_security.c:438