/**
* @brief WebAuthn Errors.
- * @since_tizen 9.0
+ * @since_tizen 7.0
*/
typedef enum {
WAUTHN_ERROR_NONE = 0x00, /**< Successful */
/**
* @brief Get an error string for a given error.
*
- * @since_tizen 9.0
+ * @since_tizen 7.0
*
* @param[in] error an error number.
*
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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; /**<
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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 {
/**
* @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
/**
* @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 {
/**
* @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 {
/**
* @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
/**
* @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
/**
* @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 {
/**
* @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
/**
* @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,
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
* @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,
/**
* @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,
/**
* @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,
* @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.
/**
* @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()
/**
* @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()