X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fsecurity%2Fprovisioning%2Finclude%2Foxm%2Foxmjustworks.h;h=f2fc9327c46eda64ff0d9d53aa093f3a7eb7a735;hb=7f00f942c39b7bc27c7eeecf213a239c3fe4173c;hp=0b9f81e8531264584b653fbecd4949db712c64e7;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/security/provisioning/include/oxm/oxmjustworks.h b/resource/csdk/security/provisioning/include/oxm/oxmjustworks.h index 0b9f81e..f2fc932 100644 --- a/resource/csdk/security/provisioning/include/oxm/oxmjustworks.h +++ b/resource/csdk/security/provisioning/include/oxm/oxmjustworks.h @@ -74,6 +74,20 @@ OCStackResult CreateJustWorksSelectOxmPayload(OTMContext_t *otmCtx, uint8_t **cb */ OCStackResult CreateJustWorksOwnerTransferPayload(OTMContext_t *otmCtx, uint8_t **cborPayload, size_t *cborSize); + +/** + * Generate payload for select OxM request for Mutual Verified Just-Works. + * + * @param otmCtx Context of OTM, It includes current device information. + * @param cborPayload is the DOXM CBOR payload including the selected OxM. + * @note Returned memory should be deallocated by caller. + * @param cborSize is the size of the cborPayload. + * + * @return ::OC_STACK_SUCCESS in case of success and other value otherwise. + */ +OCStackResult CreateMVJustWorksSelectOxmPayload(OTMContext_t *otmCtx, uint8_t **cborPayload, + size_t *cborSize); + #ifdef __cplusplus } #endif