E2EE API will be available since Tizen 6.5 37/291337/1
authorDariusz Michaluk <d.michaluk@samsung.com>
Thu, 13 Apr 2023 12:25:35 +0000 (14:25 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 13 Apr 2023 12:30:18 +0000 (14:30 +0200)
Change-Id: I9713c3722d677fe4bf69e9f1f1d12c32c3ba69e7

src/dcm-client/device_certificate_manager.cpp
src/include/device_certificate_manager.h

index 55e374e..ea46dc3 100644 (file)
@@ -158,7 +158,7 @@ int dcm_create_signature(const void *key_ctx, dcm_digest_algorithm_e md,
 /**
  * @brief Struct containing E2EE message bundle. Message = platform | pkg_id | payload.
  * @remarks The platform and pkg_id are NULL terminated strings. The payload is a sequence of bytes.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  */
 struct dcm_e2ee_bundle_s {
        unsigned char *message; /**< Byte array containing whole message */
index db4c2d6..805fd2f 100644 (file)
@@ -231,14 +231,14 @@ int dcm_create_signature(const void *key_ctx, dcm_digest_algorithm_e md,
 
 /**
  * @brief Handle to a struct containing E2EE message bundle
- * @since_tizen 7.5
+ * @since_tizen 6.5
  */
 typedef struct dcm_e2ee_bundle_s* dcm_e2ee_bundle_h;
 
 /**
  * @platform
  * @brief Creates an E2EE message bundle from a binary message.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @param[in] message  The binary message. Usually received from another E2EE peer. The @a message
  *                     must be allocated with malloc(). The bundle takes the ownership of the
@@ -262,7 +262,7 @@ int dcm_e2ee_create_bundle(unsigned char *message, size_t message_len, dcm_e2ee_
 /**
  * @platform
  * @brief Releases the memory associated with E2EE message bundle.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @remarks It will free the underlying binary message.
  *
@@ -276,7 +276,7 @@ void dcm_e2ee_free_bundle(dcm_e2ee_bundle_h bundle);
 /**
  * @platform
  * @brief Retrieves a pointer to the whole binary message contained in the E2EE bundle.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @remarks The typical use is to retrieve the message from a bundle created and signed with
  *          dcm_e2ee_create_signed_bundle()
@@ -302,7 +302,7 @@ int dcm_e2ee_get_bundle_message(const dcm_e2ee_bundle_h bundle,
 /**
  * @platform
  * @brief Retrieves a pointer to the platform string contained in the E2EE bundle.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @remarks The typical use is to retrieve the platform string from a bundle created with
  *          dcm_e2ee_create_bundle() from received binary message.
@@ -325,7 +325,7 @@ int dcm_e2ee_get_bundle_platform(const dcm_e2ee_bundle_h bundle, const char** pl
 /**
  * @platform
  * @brief Retrieves a pointer to the package id string contained in the E2EE bundle.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @remarks The typical use is to retrieve the package id from a bundle created with
  *          dcm_e2ee_create_bundle() from received binary message.
@@ -348,7 +348,7 @@ int dcm_e2ee_get_bundle_pkg_id(const dcm_e2ee_bundle_h bundle, const char** pkg_
 /**
  * @platform
  * @brief Retrieves a pointer to the payload byte sequence contained in the E2EE bundle.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  *
  * @remarks The typical use is to retrieve the binary payload from a bundle created with
  *          dcm_e2ee_create_bundle() from received binary message.
@@ -375,7 +375,7 @@ int dcm_e2ee_get_bundle_payload(const dcm_e2ee_bundle_h bundle,
 /**
  * @platform
  * @brief Creates an E2EE message bundle from a payload and signs it using given private key.
- * @since_tizen 7.5
+ * @since_tizen 6.5
  * @privlevel platform
  * @privilege %http://tizen.org/privilege/devicecertificate
  *