Documentation ¶
Index ¶
- Constants
- type AuthTestTidRequest
- type AuthTestTidRequestParams
- type AuthTestTidResponse
- type AuthTestTidResponseParams
- type BurnTidNotifyRequest
- type BurnTidNotifyRequestParams
- type BurnTidNotifyResponse
- type BurnTidNotifyResponseParams
- type Client
- func (c *Client) AuthTestTid(request *AuthTestTidRequest) (response *AuthTestTidResponse, err error)
- func (c *Client) AuthTestTidWithContext(ctx context.Context, request *AuthTestTidRequest) (response *AuthTestTidResponse, err error)
- func (c *Client) BurnTidNotify(request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
- func (c *Client) BurnTidNotifyWithContext(ctx context.Context, request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
- func (c *Client) DeliverTidNotify(request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
- func (c *Client) DeliverTidNotifyWithContext(ctx context.Context, request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
- func (c *Client) DeliverTids(request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
- func (c *Client) DeliverTidsWithContext(ctx context.Context, request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
- func (c *Client) DescribeAvailableLibCount(request *DescribeAvailableLibCountRequest) (response *DescribeAvailableLibCountResponse, err error)
- func (c *Client) DescribeAvailableLibCountWithContext(ctx context.Context, request *DescribeAvailableLibCountRequest) (response *DescribeAvailableLibCountResponse, err error)
- func (c *Client) DescribePermission(request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
- func (c *Client) DescribePermissionWithContext(ctx context.Context, request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
- func (c *Client) DownloadTids(request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
- func (c *Client) DownloadTidsWithContext(ctx context.Context, request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
- func (c *Client) UploadDeviceUniqueCode(request *UploadDeviceUniqueCodeRequest) (response *UploadDeviceUniqueCodeResponse, err error)
- func (c *Client) UploadDeviceUniqueCodeWithContext(ctx context.Context, request *UploadDeviceUniqueCodeRequest) (response *UploadDeviceUniqueCodeResponse, err error)
- func (c *Client) VerifyChipBurnInfo(request *VerifyChipBurnInfoRequest) (response *VerifyChipBurnInfoResponse, err error)
- func (c *Client) VerifyChipBurnInfoWithContext(ctx context.Context, request *VerifyChipBurnInfoRequest) (response *VerifyChipBurnInfoResponse, err error)
- type DeliverTidNotifyRequest
- type DeliverTidNotifyRequestParams
- type DeliverTidNotifyResponse
- type DeliverTidNotifyResponseParams
- type DeliverTidsRequest
- type DeliverTidsRequestParams
- type DeliverTidsResponse
- type DeliverTidsResponseParams
- type DescribeAvailableLibCountRequest
- type DescribeAvailableLibCountRequestParams
- type DescribeAvailableLibCountResponse
- type DescribeAvailableLibCountResponseParams
- type DescribePermissionRequest
- type DescribePermissionRequestParams
- type DescribePermissionResponse
- type DescribePermissionResponseParams
- type DownloadTidsRequest
- type DownloadTidsRequestParams
- type DownloadTidsResponse
- type DownloadTidsResponseParams
- type TidKeysInfo
- type UploadDeviceUniqueCodeRequest
- type UploadDeviceUniqueCodeRequestParams
- type UploadDeviceUniqueCodeResponse
- type UploadDeviceUniqueCodeResponseParams
- type VerifyChipBurnInfoRequest
- type VerifyChipBurnInfoRequestParams
- type VerifyChipBurnInfoResponse
- type VerifyChipBurnInfoResponseParams
Constants ¶
const ( // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // AppId错误。 INVALIDPARAMETERVALUE_APPID = "InvalidParameterValue.AppId" // 数量错误。 INVALIDPARAMETERVALUE_COUNT = "InvalidParameterValue.Count" // 验证数据错误。 INVALIDPARAMETERVALUE_DATA = "InvalidParameterValue.Data" // 输入字符串为空。 INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" // 超过数量限制。 INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" // 订单编号错误。 INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" // 超过数量限制。 INVALIDPARAMETERVALUE_OVERLIMIT = "InvalidParameterValue.OverLimit" // 无权限操作。 INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" // 数量错误。 INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity" // TID编码错误。 INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid" )
const APIVersion = "2019-04-11"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTestTidRequest ¶
type AuthTestTidRequest struct { *tchttp.BaseRequest // 设备端SDK填入测试TID参数后生成的加密数据串 Data *string `json:"Data,omitnil,omitempty" name:"Data"` }
func NewAuthTestTidRequest ¶
func NewAuthTestTidRequest() (request *AuthTestTidRequest)
func (*AuthTestTidRequest) FromJsonString ¶
func (r *AuthTestTidRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AuthTestTidRequest) ToJsonString ¶
func (r *AuthTestTidRequest) ToJsonString() string
type AuthTestTidRequestParams ¶ added in v1.0.426
type AuthTestTidRequestParams struct { // 设备端SDK填入测试TID参数后生成的加密数据串 Data *string `json:"Data,omitnil,omitempty" name:"Data"` }
Predefined struct for user
type AuthTestTidResponse ¶
type AuthTestTidResponse struct { *tchttp.BaseResponse Response *AuthTestTidResponseParams `json:"Response"` }
func NewAuthTestTidResponse ¶
func NewAuthTestTidResponse() (response *AuthTestTidResponse)
func (*AuthTestTidResponse) FromJsonString ¶
func (r *AuthTestTidResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AuthTestTidResponse) ToJsonString ¶
func (r *AuthTestTidResponse) ToJsonString() string
type AuthTestTidResponseParams ¶ added in v1.0.426
type AuthTestTidResponseParams struct { // 认证结果 Pass *bool `json:"Pass,omitnil,omitempty" name:"Pass"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BurnTidNotifyRequest ¶
type BurnTidNotifyRequest struct { *tchttp.BaseRequest // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // TID编号 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` }
func NewBurnTidNotifyRequest ¶
func NewBurnTidNotifyRequest() (request *BurnTidNotifyRequest)
func (*BurnTidNotifyRequest) FromJsonString ¶
func (r *BurnTidNotifyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BurnTidNotifyRequest) ToJsonString ¶
func (r *BurnTidNotifyRequest) ToJsonString() string
type BurnTidNotifyRequestParams ¶ added in v1.0.426
type BurnTidNotifyRequestParams struct { // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // TID编号 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` }
Predefined struct for user
type BurnTidNotifyResponse ¶
type BurnTidNotifyResponse struct { *tchttp.BaseResponse Response *BurnTidNotifyResponseParams `json:"Response"` }
func NewBurnTidNotifyResponse ¶
func NewBurnTidNotifyResponse() (response *BurnTidNotifyResponse)
func (*BurnTidNotifyResponse) FromJsonString ¶
func (r *BurnTidNotifyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BurnTidNotifyResponse) ToJsonString ¶
func (r *BurnTidNotifyResponse) ToJsonString() string
type BurnTidNotifyResponseParams ¶ added in v1.0.426
type BurnTidNotifyResponseParams struct { // 接收回执成功的TID Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AuthTestTid ¶
func (c *Client) AuthTestTid(request *AuthTestTidRequest) (response *AuthTestTidResponse, err error)
AuthTestTid 单向认证测试TID
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATA = "InvalidParameterValue.Data" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
func (*Client) AuthTestTidWithContext ¶ added in v1.0.324
func (c *Client) AuthTestTidWithContext(ctx context.Context, request *AuthTestTidRequest) (response *AuthTestTidResponse, err error)
AuthTestTid 单向认证测试TID
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATA = "InvalidParameterValue.Data" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
func (*Client) BurnTidNotify ¶
func (c *Client) BurnTidNotify(request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
BurnTidNotify 安全芯片TID烧录回执
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity" INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
func (*Client) BurnTidNotifyWithContext ¶ added in v1.0.324
func (c *Client) BurnTidNotifyWithContext(ctx context.Context, request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
BurnTidNotify 安全芯片TID烧录回执
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity" INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
func (*Client) DeliverTidNotify ¶
func (c *Client) DeliverTidNotify(request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
DeliverTidNotify 安全芯片为载体的TID空发回执,绑定TID与订单号。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_OVERLIMIT = "InvalidParameterValue.OverLimit" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
func (*Client) DeliverTidNotifyWithContext ¶ added in v1.0.324
func (c *Client) DeliverTidNotifyWithContext(ctx context.Context, request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
DeliverTidNotify 安全芯片为载体的TID空发回执,绑定TID与订单号。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_OVERLIMIT = "InvalidParameterValue.OverLimit" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
func (*Client) DeliverTids ¶
func (c *Client) DeliverTids(request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
DeliverTids 设备服务商请求空发产品订单的TID信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) DeliverTidsWithContext ¶ added in v1.0.324
func (c *Client) DeliverTidsWithContext(ctx context.Context, request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
DeliverTids 设备服务商请求空发产品订单的TID信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) DescribeAvailableLibCount ¶
func (c *Client) DescribeAvailableLibCount(request *DescribeAvailableLibCountRequest) (response *DescribeAvailableLibCountResponse, err error)
DescribeAvailableLibCount 查询指定订单的可空发的白盒密钥数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
func (*Client) DescribeAvailableLibCountWithContext ¶ added in v1.0.324
func (c *Client) DescribeAvailableLibCountWithContext(ctx context.Context, request *DescribeAvailableLibCountRequest) (response *DescribeAvailableLibCountResponse, err error)
DescribeAvailableLibCount 查询指定订单的可空发的白盒密钥数量
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
func (*Client) DescribePermission ¶
func (c *Client) DescribePermission(request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
DescribePermission 查询企业用户TID平台控制台权限
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_APPID = "InvalidParameterValue.AppId" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString"
func (*Client) DescribePermissionWithContext ¶ added in v1.0.324
func (c *Client) DescribePermissionWithContext(ctx context.Context, request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
DescribePermission 查询企业用户TID平台控制台权限
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_APPID = "InvalidParameterValue.AppId" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString"
func (*Client) DownloadTids ¶
func (c *Client) DownloadTids(request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
DownloadTids 下载芯片订单的TID
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) DownloadTidsWithContext ¶ added in v1.0.324
func (c *Client) DownloadTidsWithContext(ctx context.Context, request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
DownloadTids 下载芯片订单的TID
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) UploadDeviceUniqueCode ¶
func (c *Client) UploadDeviceUniqueCode(request *UploadDeviceUniqueCodeRequest) (response *UploadDeviceUniqueCodeResponse, err error)
UploadDeviceUniqueCode 上传硬件唯一标识码,是软加固设备身份参数。本接口如遇到错误数据,则所有当次上传数据失效。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COUNT = "InvalidParameterValue.Count" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_OVERLIMIT = "InvalidParameterValue.OverLimit" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) UploadDeviceUniqueCodeWithContext ¶ added in v1.0.324
func (c *Client) UploadDeviceUniqueCodeWithContext(ctx context.Context, request *UploadDeviceUniqueCodeRequest) (response *UploadDeviceUniqueCodeResponse, err error)
UploadDeviceUniqueCode 上传硬件唯一标识码,是软加固设备身份参数。本接口如遇到错误数据,则所有当次上传数据失效。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COUNT = "InvalidParameterValue.Count" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_ORDERID = "InvalidParameterValue.OrderId" INVALIDPARAMETERVALUE_OVERLIMIT = "InvalidParameterValue.OverLimit" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied" INVALIDPARAMETERVALUE_QUANTITY = "InvalidParameterValue.Quantity"
func (*Client) VerifyChipBurnInfo ¶
func (c *Client) VerifyChipBurnInfo(request *VerifyChipBurnInfoRequest) (response *VerifyChipBurnInfoResponse, err error)
VerifyChipBurnInfo 下载控制台验证芯片烧录信息,保证TID与中心信息一致
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATA = "InvalidParameterValue.Data" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
func (*Client) VerifyChipBurnInfoWithContext ¶ added in v1.0.324
func (c *Client) VerifyChipBurnInfoWithContext(ctx context.Context, request *VerifyChipBurnInfoRequest) (response *VerifyChipBurnInfoResponse, err error)
VerifyChipBurnInfo 下载控制台验证芯片烧录信息,保证TID与中心信息一致
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATA = "InvalidParameterValue.Data" INVALIDPARAMETERVALUE_EMPTYSTRING = "InvalidParameterValue.EmptyString" INVALIDPARAMETERVALUE_PERMISSIONDENIED = "InvalidParameterValue.PermissionDenied"
type DeliverTidNotifyRequest ¶
type DeliverTidNotifyRequest struct { *tchttp.BaseRequest // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // TID编号 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` }
func NewDeliverTidNotifyRequest ¶
func NewDeliverTidNotifyRequest() (request *DeliverTidNotifyRequest)
func (*DeliverTidNotifyRequest) FromJsonString ¶
func (r *DeliverTidNotifyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverTidNotifyRequest) ToJsonString ¶
func (r *DeliverTidNotifyRequest) ToJsonString() string
type DeliverTidNotifyRequestParams ¶ added in v1.0.426
type DeliverTidNotifyRequestParams struct { // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // TID编号 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` }
Predefined struct for user
type DeliverTidNotifyResponse ¶
type DeliverTidNotifyResponse struct { *tchttp.BaseResponse Response *DeliverTidNotifyResponseParams `json:"Response"` }
func NewDeliverTidNotifyResponse ¶
func NewDeliverTidNotifyResponse() (response *DeliverTidNotifyResponse)
func (*DeliverTidNotifyResponse) FromJsonString ¶
func (r *DeliverTidNotifyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverTidNotifyResponse) ToJsonString ¶
func (r *DeliverTidNotifyResponse) ToJsonString() string
type DeliverTidNotifyResponseParams ¶ added in v1.0.426
type DeliverTidNotifyResponseParams struct { // 剩余空发数量 RemaindCount *uint64 `json:"RemaindCount,omitnil,omitempty" name:"RemaindCount"` // 已回执的TID编码 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` // 产品公钥 ProductKey *string `json:"ProductKey,omitnil,omitempty" name:"ProductKey"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeliverTidsRequest ¶
type DeliverTidsRequest struct { *tchttp.BaseRequest // 订单ID OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // 数量,1~100 Quantity *uint64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` }
func NewDeliverTidsRequest ¶
func NewDeliverTidsRequest() (request *DeliverTidsRequest)
func (*DeliverTidsRequest) FromJsonString ¶
func (r *DeliverTidsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverTidsRequest) ToJsonString ¶
func (r *DeliverTidsRequest) ToJsonString() string
type DeliverTidsRequestParams ¶ added in v1.0.426
type DeliverTidsRequestParams struct { // 订单ID OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // 数量,1~100 Quantity *uint64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` }
Predefined struct for user
type DeliverTidsResponse ¶
type DeliverTidsResponse struct { *tchttp.BaseResponse Response *DeliverTidsResponseParams `json:"Response"` }
func NewDeliverTidsResponse ¶
func NewDeliverTidsResponse() (response *DeliverTidsResponse)
func (*DeliverTidsResponse) FromJsonString ¶
func (r *DeliverTidsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeliverTidsResponse) ToJsonString ¶
func (r *DeliverTidsResponse) ToJsonString() string
type DeliverTidsResponseParams ¶ added in v1.0.426
type DeliverTidsResponseParams struct { // 空发的TID信息 // 注意:此字段可能返回 null,表示取不到有效值。 TidSet []*TidKeysInfo `json:"TidSet,omitnil,omitempty" name:"TidSet"` // 产品公钥 ProductKey *string `json:"ProductKey,omitnil,omitempty" name:"ProductKey"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableLibCountRequest ¶
type DescribeAvailableLibCountRequest struct { *tchttp.BaseRequest // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` }
func NewDescribeAvailableLibCountRequest ¶
func NewDescribeAvailableLibCountRequest() (request *DescribeAvailableLibCountRequest)
func (*DescribeAvailableLibCountRequest) FromJsonString ¶
func (r *DescribeAvailableLibCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableLibCountRequest) ToJsonString ¶
func (r *DescribeAvailableLibCountRequest) ToJsonString() string
type DescribeAvailableLibCountRequestParams ¶ added in v1.0.426
type DescribeAvailableLibCountRequestParams struct { // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` }
Predefined struct for user
type DescribeAvailableLibCountResponse ¶
type DescribeAvailableLibCountResponse struct { *tchttp.BaseResponse Response *DescribeAvailableLibCountResponseParams `json:"Response"` }
func NewDescribeAvailableLibCountResponse ¶
func NewDescribeAvailableLibCountResponse() (response *DescribeAvailableLibCountResponse)
func (*DescribeAvailableLibCountResponse) FromJsonString ¶
func (r *DescribeAvailableLibCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableLibCountResponse) ToJsonString ¶
func (r *DescribeAvailableLibCountResponse) ToJsonString() string
type DescribeAvailableLibCountResponseParams ¶ added in v1.0.426
type DescribeAvailableLibCountResponseParams struct { // 可空发的白盒密钥数量 Quantity *uint64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePermissionRequest ¶
type DescribePermissionRequest struct {
*tchttp.BaseRequest
}
func NewDescribePermissionRequest ¶
func NewDescribePermissionRequest() (request *DescribePermissionRequest)
func (*DescribePermissionRequest) FromJsonString ¶
func (r *DescribePermissionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePermissionRequest) ToJsonString ¶
func (r *DescribePermissionRequest) ToJsonString() string
type DescribePermissionRequestParams ¶ added in v1.0.426
type DescribePermissionRequestParams struct { }
Predefined struct for user
type DescribePermissionResponse ¶
type DescribePermissionResponse struct { *tchttp.BaseResponse Response *DescribePermissionResponseParams `json:"Response"` }
func NewDescribePermissionResponse ¶
func NewDescribePermissionResponse() (response *DescribePermissionResponse)
func (*DescribePermissionResponse) FromJsonString ¶
func (r *DescribePermissionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePermissionResponse) ToJsonString ¶
func (r *DescribePermissionResponse) ToJsonString() string
type DescribePermissionResponseParams ¶ added in v1.0.426
type DescribePermissionResponseParams struct { // 企业用户 EnterpriseUser *bool `json:"EnterpriseUser,omitnil,omitempty" name:"EnterpriseUser"` // 下载控制台权限 DownloadPermission *string `json:"DownloadPermission,omitnil,omitempty" name:"DownloadPermission"` // 使用控制台权限 UsePermission *string `json:"UsePermission,omitnil,omitempty" name:"UsePermission"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DownloadTidsRequest ¶
type DownloadTidsRequest struct { *tchttp.BaseRequest // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // 下载数量:1~10 Quantity *uint64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` }
func NewDownloadTidsRequest ¶
func NewDownloadTidsRequest() (request *DownloadTidsRequest)
func (*DownloadTidsRequest) FromJsonString ¶
func (r *DownloadTidsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadTidsRequest) ToJsonString ¶
func (r *DownloadTidsRequest) ToJsonString() string
type DownloadTidsRequestParams ¶ added in v1.0.426
type DownloadTidsRequestParams struct { // 订单编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` // 下载数量:1~10 Quantity *uint64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` }
Predefined struct for user
type DownloadTidsResponse ¶
type DownloadTidsResponse struct { *tchttp.BaseResponse Response *DownloadTidsResponseParams `json:"Response"` }
func NewDownloadTidsResponse ¶
func NewDownloadTidsResponse() (response *DownloadTidsResponse)
func (*DownloadTidsResponse) FromJsonString ¶
func (r *DownloadTidsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadTidsResponse) ToJsonString ¶
func (r *DownloadTidsResponse) ToJsonString() string
type DownloadTidsResponseParams ¶ added in v1.0.426
type DownloadTidsResponseParams struct { // 下载的TID信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 TidSet []*TidKeysInfo `json:"TidSet,omitnil,omitempty" name:"TidSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TidKeysInfo ¶
type TidKeysInfo struct { // TID号码 Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"` // 公钥 PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"` // 私钥 PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"` // 共享密钥 Psk *string `json:"Psk,omitnil,omitempty" name:"Psk"` // 软加固白盒密钥下载地址 DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // 软加固设备标识码 DeviceCode *string `json:"DeviceCode,omitnil,omitempty" name:"DeviceCode"` }
type UploadDeviceUniqueCodeRequest ¶
type UploadDeviceUniqueCodeRequest struct { *tchttp.BaseRequest // 硬件唯一标识码 CodeSet []*string `json:"CodeSet,omitnil,omitempty" name:"CodeSet"` // 硬件标识码绑定的申请编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` }
func NewUploadDeviceUniqueCodeRequest ¶
func NewUploadDeviceUniqueCodeRequest() (request *UploadDeviceUniqueCodeRequest)
func (*UploadDeviceUniqueCodeRequest) FromJsonString ¶
func (r *UploadDeviceUniqueCodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDeviceUniqueCodeRequest) ToJsonString ¶
func (r *UploadDeviceUniqueCodeRequest) ToJsonString() string
type UploadDeviceUniqueCodeRequestParams ¶ added in v1.0.426
type UploadDeviceUniqueCodeRequestParams struct { // 硬件唯一标识码 CodeSet []*string `json:"CodeSet,omitnil,omitempty" name:"CodeSet"` // 硬件标识码绑定的申请编号 OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"` }
Predefined struct for user
type UploadDeviceUniqueCodeResponse ¶
type UploadDeviceUniqueCodeResponse struct { *tchttp.BaseResponse Response *UploadDeviceUniqueCodeResponseParams `json:"Response"` }
func NewUploadDeviceUniqueCodeResponse ¶
func NewUploadDeviceUniqueCodeResponse() (response *UploadDeviceUniqueCodeResponse)
func (*UploadDeviceUniqueCodeResponse) FromJsonString ¶
func (r *UploadDeviceUniqueCodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadDeviceUniqueCodeResponse) ToJsonString ¶
func (r *UploadDeviceUniqueCodeResponse) ToJsonString() string
type UploadDeviceUniqueCodeResponseParams ¶ added in v1.0.426
type UploadDeviceUniqueCodeResponseParams struct { // 本次已上传数量 Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // 重复的硬件唯一标识码 // 注意:此字段可能返回 null,表示取不到有效值。 ExistedCodeSet []*string `json:"ExistedCodeSet,omitnil,omitempty" name:"ExistedCodeSet"` // 剩余可上传数量 LeftQuantity *uint64 `json:"LeftQuantity,omitnil,omitempty" name:"LeftQuantity"` // 错误的硬件唯一标识码 // 注意:此字段可能返回 null,表示取不到有效值。 IllegalCodeSet []*string `json:"IllegalCodeSet,omitnil,omitempty" name:"IllegalCodeSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type VerifyChipBurnInfoRequest ¶
type VerifyChipBurnInfoRequest struct { *tchttp.BaseRequest // 验证数据 Data *string `json:"Data,omitnil,omitempty" name:"Data"` }
func NewVerifyChipBurnInfoRequest ¶
func NewVerifyChipBurnInfoRequest() (request *VerifyChipBurnInfoRequest)
func (*VerifyChipBurnInfoRequest) FromJsonString ¶
func (r *VerifyChipBurnInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifyChipBurnInfoRequest) ToJsonString ¶
func (r *VerifyChipBurnInfoRequest) ToJsonString() string
type VerifyChipBurnInfoRequestParams ¶ added in v1.0.426
type VerifyChipBurnInfoRequestParams struct { // 验证数据 Data *string `json:"Data,omitnil,omitempty" name:"Data"` }
Predefined struct for user
type VerifyChipBurnInfoResponse ¶
type VerifyChipBurnInfoResponse struct { *tchttp.BaseResponse Response *VerifyChipBurnInfoResponseParams `json:"Response"` }
func NewVerifyChipBurnInfoResponse ¶
func NewVerifyChipBurnInfoResponse() (response *VerifyChipBurnInfoResponse)
func (*VerifyChipBurnInfoResponse) FromJsonString ¶
func (r *VerifyChipBurnInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifyChipBurnInfoResponse) ToJsonString ¶
func (r *VerifyChipBurnInfoResponse) ToJsonString() string
type VerifyChipBurnInfoResponseParams ¶ added in v1.0.426
type VerifyChipBurnInfoResponseParams struct { // 验证结果 Pass *bool `json:"Pass,omitnil,omitempty" name:"Pass"` // 已验证次数 VerifiedTimes *uint64 `json:"VerifiedTimes,omitnil,omitempty" name:"VerifiedTimes"` // 剩余验证次数 LeftTimes *uint64 `json:"LeftTimes,omitnil,omitempty" name:"LeftTimes"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user