diff --git a/pin_auth/v3_0/IAllInOneExecutor.idl b/pin_auth/v3_0/IAllInOneExecutor.idl index f82972d17f692d0455b647981bf8fb7a22dab16f..d9158f25594b82853340c6549e362cd44acd4578 100644 --- a/pin_auth/v3_0/IAllInOneExecutor.idl +++ b/pin_auth/v3_0/IAllInOneExecutor.idl @@ -111,16 +111,17 @@ interface IAllInOneExecutor { * @param scheduleId Indicates the schedule ID of enrollment. * @param authSubType Indicates the pin sub type. * @param data Indicates the pin data. + * @param data Indicates the pin length. * @param resultCode Indicates the result code. * * @return Returns 0 if the operation is successful. * @return Returns a non-zero value if the operation fails. * * @since 5.0 - * @version 1.0 + * @version 2.0 */ SetData([in] unsigned long scheduleId, [in] unsigned long authSubType, [in] unsigned char[] data, - [in] int resultCode); + [in] unsigned int pinLength, [in] int resultCode); /** * @brief Enrolls templates. * diff --git a/pin_auth/v3_0/PinAuthTypes.idl b/pin_auth/v3_0/PinAuthTypes.idl index 9e6c44dfc971252eeb4d4da80613898e54f20ba4..2298071e43512e395dd650de41de677ea9462ac3 100644 --- a/pin_auth/v3_0/PinAuthTypes.idl +++ b/pin_auth/v3_0/PinAuthTypes.idl @@ -123,7 +123,7 @@ struct ExecutorInfo { * @brief Enumerates get Property types. * * @since 4.0 - * @version 2.0 + * @version 3.0 */ enum GetPropertyType : int { /**< Indicates that the property to get is auth sub type. */ @@ -133,14 +133,16 @@ enum GetPropertyType : int { /**< Indicates that the property to get is remain attempts. */ REMAIN_ATTEMPTS = 3, /**< Indicates that the property to get is lockout duration after next fail. */ - NEXT_FAIL_LOCKOUT_DURATION = 6 + NEXT_FAIL_LOCKOUT_DURATION = 6, + /**< Indicates that the property to get is credential length. */ + CREDENTIAL_LENGTH = 7 }; /** * @brief Indicates executor property. * * @since 4.0 - * @version 2.0 + * @version 3.0 */ struct Property { /**< Indicates auth sub type. */ @@ -151,6 +153,8 @@ struct Property { int remainAttempts; /**< Indicates next fail lockout duration. */ int nextFailLockoutDuration; + /**< Indicates credential length. */ + unsigned int credentialLength; }; /**