Change since_tizen from 9.0 to 7.0 93/310093/2
authorDongsun Lee <ds73.lee@samsung.com>
Mon, 22 Apr 2024 09:28:55 +0000 (18:28 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Mon, 22 Apr 2024 09:31:27 +0000 (18:31 +0900)
The DA uses tizen 7.0 this year. So we need to support tizen 7.0, too.

Change-Id: Ib7b22c7e9e24b86db8a51d6e27229614b92959ae

include/webauthn-hal.h
include/webauthn-types.h
include/webauthn.h

index 2f940ef362c2c8060f340e62d7f4156a07deb54a..f32b6e4c787027af1a1acf29993afeebcc2ad66b 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
 /**
  * @brief Make a new web authentication credential and store it to authenticator.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @param[in]  client_data UTF-8 encoded JSON serialization of the client data
  * @param[in]  options This argument is a #wauthn_pubkey_cred_creation_options_s object specifying the
@@ -57,7 +57,7 @@ WEBAUTHN_HAL_API void wah_make_credential(const wauthn_client_data_s *client_dat
 /**
  * @brief Get assertion from authenticator.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @param[in]  client_data UTF-8 encoded JSON serialization of the client data
  * @param[in]  options This argument is a #wauthn_pubkey_cred_request_options_s object specifying the
@@ -78,7 +78,7 @@ WEBAUTHN_HAL_API void wah_get_assertion(const wauthn_client_data_s *client_data,
 /**
  * @brief Stops the current operation.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @return @c 0 on success,
  * @retval #WAUTHN_ERROR_NONE Successful
index 2a24fc8516ffa99dd6d73730d5abc8f32e3e08c6..db23b97063edc636bc1dabd88b808522658b0a3e 100644 (file)
@@ -39,7 +39,7 @@ extern "C" {
 
 /**
  * @brief WebAuthn Errors.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  */
 typedef enum {
     WAUTHN_ERROR_NONE                       = 0x00,  /**< Successful */
@@ -62,7 +62,7 @@ typedef enum {
 /**
  * @brief Get an error string for a given error.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @param[in] error an error number.
  *
@@ -72,7 +72,7 @@ WEBAUTHN_API const char * wauthn_error_to_string(int error);
 
 /**
  * @brief WebAuthn authenticator transports.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enum-transport
@@ -92,7 +92,7 @@ typedef enum __wauthn_authenticator_transport {
 /**
  * @brief WebAuthn hash algorithms.
  *        Currently one hash algorithm is used, namely "SHA-256".
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#collectedclientdata-hash-of-the-serialized-client-data
@@ -104,7 +104,7 @@ typedef enum __wauthn_hash_algorithm {
 
 /**
  * @brief WebAuthn COSE(CBOR Object Signing and Encryption) algorithms.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#sctn-alg-identifier
@@ -125,7 +125,7 @@ typedef enum __wauthn_cose_algorithm {
 
 /**
  * @brief WebAuthn attestation preference.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enumdef-attestationconveyancepreference
@@ -140,7 +140,7 @@ typedef enum __wauthn_attestation_pref {
 
 /**
  * @brief WebAuthn public key credential hint value.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enumdef-publickeycredentialhints
@@ -155,7 +155,7 @@ typedef enum __wauthn_pubkey_cred_hint {
 
 /**
  * @brief WebAuthn user verification requirement value.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enumdef-userverificationrequirement
@@ -170,7 +170,7 @@ typedef enum __wauthn_user_verification_requirement {
 
 /**
  * @brief WebAuthn resident key requirement value
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enum-residentKeyRequirement
@@ -185,7 +185,7 @@ typedef enum __wauthn_resident_key_requirement {
 
 /**
  * @brief WebAuthn authentication attachment value
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enumdef-authenticatorattachment
@@ -199,7 +199,7 @@ typedef enum __wauthn_authenticator_attachment {
 /**
  * @brief WebAuthn credential type.
  *        Currently one credential type is defined, namely "public-key".
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#enumdef-publickeycredentialtype
@@ -210,7 +210,7 @@ typedef enum __wauthn_pubkey_cred_type {
 
 /**
  * @brief The structure for const binary buffer used in this CAPI.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  */
 typedef struct __wauthn_const_buffer {
     const unsigned char *data; /**<
@@ -221,7 +221,7 @@ typedef struct __wauthn_const_buffer {
 
 /**
  * @brief The structure for response of wauthn_make_credential.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#authenticatorattestationresponse
@@ -251,7 +251,7 @@ typedef struct __wauthn_authenticator_attestation_response {
 
 /**
  * @brief The structure for response of wauthn_get_assertion.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#authenticatorassertionresponse
@@ -278,7 +278,7 @@ typedef struct __wauthn_authenticator_assertion_response {
 
 /**
  * @brief The structure for a RP entity.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialrpentity
@@ -292,7 +292,7 @@ typedef struct __wauthn_rp_entity {
 
 /**
  * @brief The structure for a user entity.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialuserentity
@@ -309,7 +309,7 @@ typedef struct __wauthn_user_entity {
 
 /**
  * @brief The structure for a parameter for credential generation.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialparameters
@@ -326,7 +326,7 @@ typedef struct __wauthn_pubkey_cred_param {
 
 /**
  * @brief The list structure for parameters for credential generation.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see #wauthn_pubkey_cred_param_s
  */
 typedef struct __wauthn_pubkey_cred_params {
@@ -338,7 +338,7 @@ typedef struct __wauthn_pubkey_cred_params {
 
 /**
  * @brief The structure for a publickey credential descriptor.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptor
@@ -357,7 +357,7 @@ typedef struct __wauthn_pubkey_cred_descriptor {
 
 /**
  * @brief The list structure for publickey credential descriptors.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see #wauthn_pubkey_cred_descriptor_s
  */
 typedef struct __wauthn_pubkey_cred_descriptors {
@@ -369,7 +369,7 @@ typedef struct __wauthn_pubkey_cred_descriptors {
 
 /**
  * @brief The structure for an authentication extension.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see #wauthn_authentication_ext_s
  */
 typedef struct __wauthn_authentication_ext {
@@ -382,7 +382,7 @@ typedef struct __wauthn_authentication_ext {
 
 /**
  * @brief The list structure for authentication extensions.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#client-extension-input
@@ -398,7 +398,7 @@ typedef struct __wauthn_authentication_exts {
 
 /**
  * @brief The structure for an authenticator selection criteria.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorselectioncriteria
@@ -420,7 +420,7 @@ typedef struct __wauthn_authenticator_sel_cri {
 
 /**
  * @brief The list structure for publickey credential hints.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see #wauthn_pubkey_cred_hint_e
  */
 typedef struct __wauthn_pubkey_cred_hints {
@@ -432,7 +432,7 @@ typedef struct __wauthn_pubkey_cred_hints {
 
 /**
  * @brief The structure for a linked device data.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks The linked device data is used for state assisted transaction.
  *          From the successful QR initiated transaction, the linked device data
@@ -463,7 +463,7 @@ typedef struct __wauthn_hybrid_linked_data {
 
 /**
  * @brief The list structure for attestation formats.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks The attestation formats are a sequence of strings that expresses
  *          the Relying Party's preference for attestation statement formats,
@@ -484,7 +484,7 @@ typedef struct __wauthn_attestation_formats {
 
 /**
  * @brief The structure for a make credential option.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptions
@@ -537,7 +537,7 @@ typedef struct __wauthn_pubkey_cred_creation_options {
 
 /**
  * @brief The structure for a get assertion option.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#dictionary-assertion-options
@@ -582,7 +582,7 @@ typedef struct __wauthn_pubkey_cred_request_options {
 
 /**
  * @brief The structure for a publickey_credential response for wauthn_make_credential().
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#iface-pkcredential
@@ -617,7 +617,7 @@ typedef struct __wauthn_pubkey_credential_attestation {
 
 /**
  * @brief The structure for a publickey_credential response for wauthn_get_assertion().
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *          https://www.w3.org/TR/webauthn-3/#iface-pkcredential
@@ -652,7 +652,7 @@ typedef struct __wauthn_pubkey_credential_assertion {
 
 /**
  * @brief The structure for a client data json.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification about how to encode the client_data_json.
  *          https://www.w3.org/TR/webauthn-3/#collectedclientdata-json-compatible-serialization-of-client-data
@@ -701,7 +701,7 @@ typedef struct __wauthn_client_data {
  * @remarks If the request does not need to display a QR code
  *          then this callback function won't be invoked.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @param[in] qr_contents The contents of the QR code to be displayed.
  * @param[in] user_data The user data passed from the callback structure,
@@ -714,7 +714,7 @@ typedef void (*wauthn_cb_display_qrcode)(const char *qr_contents, void *user_dat
 
 /**
  * @brief Invoked when the response for the make credential request need to be returned.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @param[in] pubkey_cred The publickey credential contains response data.
  * @param[in] result The result of the #wauthn_make_credential request.
  *                   #WAUTHN_ERROR_NONE if the request is completed well,
@@ -730,7 +730,7 @@ typedef void (*wauthn_cb_mc_on_response)(const wauthn_pubkey_credential_attestat
 
 /**
  * @brief Invoked when the response for the get assertion request need to be returned.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @param[in] pubkey_cred The publickey credential contains response data.
  * @param[in] result The result of the request.
  *                   #WAUTHN_ERROR_NONE if the request is completed well,
@@ -751,7 +751,7 @@ typedef void (*wauthn_cb_ga_on_response)(const wauthn_pubkey_credential_assertio
  * @remarks if the result is WAUTHN_ERROR_NONE_AND_WAIT, the client must wait
  *              for the result WAUTHN_ERROR_NONE to arrive for at least 2 minutes.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @param[in] linked_data The Linked Device Connection Info.
  *                   If this is not null, the client has to update the data for next use.
  * @param[in] result The result of the request.
@@ -769,7 +769,7 @@ typedef void (*wauthn_cb_update_linked_data)(const wauthn_hybrid_linked_data_s *
 
 /**
  * @brief The structure for callback function list used to make credential.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see wauthn_make_credential()
  * @see wauthn_cb_display_qrcode()
  * @see wauthn_cb_mc_on_response()
@@ -786,7 +786,7 @@ typedef struct __wauthn_mc_callbacks {
 
 /**
  * @brief The structure for callback function list used to get assertion.
- * @since_tizen 9.0
+ * @since_tizen 7.0
  * @see wauthn_get_assertion()
  * @see wauthn_cb_display_qrcode()
  * @see wauthn_cb_ga_on_response()
index 3b14e3a50e812546f1af831482ce53735273829f..6eccda0e7751e44453281750032bc259bfe473dc 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 /**
  * @brief Set API version that the caller uses.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks This API must be called before other APIs are called.
  *
@@ -55,7 +55,7 @@ WEBAUTHN_API int wauthn_set_api_version(int api_version_number);
 /**
  * @brief Get information on authenticator types that the client platform supports.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks This version of API only support hybrid roaming authenticator.
  *          So the bit for #WAUTHN_TRANSPORT_HYBRID is set 1 and
@@ -79,7 +79,7 @@ WEBAUTHN_API int wauthn_supported_authenticators(unsigned int *supported);
 /**
  * @brief Make a new web authentication credential and store it to authenticator.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *           https://www.w3.org/TR/webauthn-3/#sctn-createCredential
@@ -110,7 +110,7 @@ WEBAUTHN_API int wauthn_make_credential( const wauthn_client_data_s *client_data
 /**
  * @brief Get assertion from authenticator.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @remarks Refer to the following W3C specification for more information.
  *           https://www.w3.org/TR/webauthn-3/#sctn-getAssertion
@@ -139,7 +139,7 @@ WEBAUTHN_API int wauthn_get_assertion( const wauthn_client_data_s *client_data,
 /**
  * @brief Stops operation about previous wauthn_make_credential or wauthn_get_assertion call.
  *
- * @since_tizen 9.0
+ * @since_tizen 7.0
  *
  * @return @c 0 on success,
  * @retval #WAUTHN_ERROR_NONE Successful