• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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**起始版本:** 4.0
37
38**参数:**
39
40| 名称 | 描述 |
41| -------- | -------- |
42| scheduleId | 调度ID,用于标识一次操作请求的调度过程。  |
43| templateId | 指定要认证的模版ID。  |
44| extraInfo | 其他相关信息,用于支持信息扩展。  |
45| callbackObj | 回调对象[IExecutorCallback](interface_i_executor_callback_pinauth_v11.md)。 |
46
47**返回:**
48
490 表示操作成功。
50
51非0 表示操作失败。
52
53
54### EnrollV1_1()
55
56```
57IExecutor::EnrollV1_1 ([in] unsigned long scheduleId, [in] unsigned char[] extraInfo, [in] IExecutorCallback callbackObj )
58```
59**描述**
60注册口令。
61
62**起始版本:** 4.0
63
64**参数:**
65
66| 名称 | 描述 |
67| -------- | -------- |
68| scheduleId | 调度ID,用于标识一次操作请求的调度过程。  |
69| extraInfo | 其他相关信息,用于支持信息扩展。  |
70| callbackObj | 回调对象[IExecutorCallback](interface_i_executor_callback_pinauth_v11.md)。 |
71
72**返回:**
73
740 表示操作成功。
75
76非0 表示操作失败。
77
78
79### GetProperty()
80
81```
82IExecutor::GetProperty ([in] unsigned long[] templateIdList, [in] enum GetPropertyType[] propertyTypes, [out] struct Property property )
83```
84**描述**
85获取属性。
86
87**起始版本:** 4.0
88
89**参数:**
90
91| 名称 | 描述 |
92| -------- | -------- |
93| templateIdList | 标识需要处理的模板。  |
94| propertyTypes | 标识需要获取的属性类型[GetPropertyType](_hdf_pin_auth_v11.md#getpropertytype)。  |
95| property | 标识获取的属性[Property](_property_pinauth_v11.md)。 |
96
97**返回:**
98
990 表示操作成功。
100
101非0 表示操作失败。
102