1# IExecutor
2
3
4## 概述
5
6定义执行器标准API接口。接口可用于获取执行器信息,获取凭据模版信息,注册口令,认证口令,删除口令等。
7
8**起始版本:** 4.0
9
10**相关模块:**[HdfPinAuth](_hdf_pin_auth_v11.md)
11
12
13## 汇总
14
15
16### Public 成员函数
17
18| 名称 | 描述 |
19| -------- | -------- |
20| [GetProperty](#getproperty) ([in] unsigned long[] templateIdList, [in] enum [GetPropertyType](_hdf_pin_auth_v11.md#getpropertytype)[] propertyTypes, [out] struct [Property](_property_pinauth_v11.md) property) | 获取属性。  |
21| [EnrollV1_1](#enrollv1_1) ([in] unsigned long scheduleId, [in] unsigned char[] extraInfo, [in] [IExecutorCallback](interface_i_executor_callback_pinauth_v11.md) callbackObj) | 注册口令。  |
22| [AuthenticateV1_1](#authenticatev1_1) ([in] unsigned long scheduleId, [in] unsigned long templateId, [in] unsigned char[] extraInfo, [in] [IExecutorCallback](interface_i_executor_callback_pinauth_v11.md) callbackObj) | 认证口令。  |
23
24
25## 成员函数说明
26
27
28### AuthenticateV1_1()
29
30```
31IExecutor::AuthenticateV1_1 ([in] unsigned long scheduleId, [in] unsigned long templateId, [in] unsigned char[] extraInfo, [in] IExecutorCallback callbackObj )
32```
33**描述**
34
35认证口令。
36
37**起始版本:** 4.0
38
39**参数:**
40
41| 名称 | 描述 |
42| -------- | -------- |
43| scheduleId | 调度ID,用于标识一次操作请求的调度过程。  |
44| templateId | 指定要认证的模版ID。  |
45| extraInfo | 其他相关信息,用于支持信息扩展。  |
46| callbackObj | 回调对象[IExecutorCallback](interface_i_executor_callback_pinauth_v11.md)。 |
47
48**返回:**
49
500 表示操作成功。
51
52非0 表示操作失败。
53
54
55### EnrollV1_1()
56
57```
58IExecutor::EnrollV1_1 ([in] unsigned long scheduleId, [in] unsigned char[] extraInfo, [in] IExecutorCallback callbackObj )
59```
60**描述**
61
62注册口令。
63
64**起始版本:** 4.0
65
66**参数:**
67
68| 名称 | 描述 |
69| -------- | -------- |
70| scheduleId | 调度ID,用于标识一次操作请求的调度过程。  |
71| extraInfo | 其他相关信息,用于支持信息扩展。  |
72| callbackObj | 回调对象[IExecutorCallback](interface_i_executor_callback_pinauth_v11.md)。 |
73
74**返回:**
75
760 表示操作成功。
77
78非0 表示操作失败。
79
80
81### GetProperty()
82
83```
84IExecutor::GetProperty ([in] unsigned long[] templateIdList, [in] enum GetPropertyType[] propertyTypes, [out] struct Property property )
85```
86**描述**
87
88获取属性。
89
90**起始版本:** 4.0
91
92**参数:**
93
94| 名称 | 描述 |
95| -------- | -------- |
96| templateIdList | 标识需要处理的模板。  |
97| propertyTypes | 标识需要获取的属性类型[GetPropertyType](_hdf_pin_auth_v11.md#getpropertytype)。  |
98| property | 标识获取的属性[Property](_property_pinauth_v11.md)。 |
99
100**返回:**
101
1020 表示操作成功。
103
104非0 表示操作失败。
105