cas

package
v1.63.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.357

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.357

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.357

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.357

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type CancelCertificateForPackageRequestRequest added in v1.61.1842

type CancelCertificateForPackageRequestRequest struct {
	*requests.RpcRequest
	OrderId  requests.Integer `position:"Query" name:"OrderId"`
	SourceIp string           `position:"Query" name:"SourceIp"`
}

CancelCertificateForPackageRequestRequest is the request struct for api CancelCertificateForPackageRequest

func CreateCancelCertificateForPackageRequestRequest added in v1.61.1842

func CreateCancelCertificateForPackageRequestRequest() (request *CancelCertificateForPackageRequestRequest)

CreateCancelCertificateForPackageRequestRequest creates a request to invoke CancelCertificateForPackageRequest API

type CancelCertificateForPackageRequestResponse added in v1.61.1842

type CancelCertificateForPackageRequestResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CancelCertificateForPackageRequestResponse is the response struct for api CancelCertificateForPackageRequest

func CreateCancelCertificateForPackageRequestResponse added in v1.61.1842

func CreateCancelCertificateForPackageRequestResponse() (response *CancelCertificateForPackageRequestResponse)

CreateCancelCertificateForPackageRequestResponse creates a response to parse from CancelCertificateForPackageRequest response

type CancelOrderRequestRequest added in v1.61.1842

type CancelOrderRequestRequest struct {
	*requests.RpcRequest
	OrderId  requests.Integer `position:"Query" name:"OrderId"`
	SourceIp string           `position:"Query" name:"SourceIp"`
}

CancelOrderRequestRequest is the request struct for api CancelOrderRequest

func CreateCancelOrderRequestRequest added in v1.61.1842

func CreateCancelOrderRequestRequest() (request *CancelOrderRequestRequest)

CreateCancelOrderRequestRequest creates a request to invoke CancelOrderRequest API

type CancelOrderRequestResponse added in v1.61.1842

type CancelOrderRequestResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CancelOrderRequestResponse is the response struct for api CancelOrderRequest

func CreateCancelOrderRequestResponse added in v1.61.1842

func CreateCancelOrderRequestResponse() (response *CancelOrderRequestResponse)

CreateCancelOrderRequestResponse creates a response to parse from CancelOrderRequest response

type Cert added in v1.61.1842

type Cert struct {
	WhId            int64  `json:"WhId" xml:"WhId"`
	Identifier      string `json:"Identifier" xml:"Identifier"`
	WhInstanceId    string `json:"WhInstanceId" xml:"WhInstanceId"`
	Status          string `json:"Status" xml:"Status"`
	SourceType      string `json:"SourceType" xml:"SourceType"`
	CertType        string `json:"CertType" xml:"CertType"`
	CommonName      string `json:"CommonName" xml:"CommonName"`
	BeforeDate      int64  `json:"BeforeDate" xml:"BeforeDate"`
	Issuer          string `json:"Issuer" xml:"Issuer"`
	AfterDate       int64  `json:"AfterDate" xml:"AfterDate"`
	ExistPrivateKey bool   `json:"ExistPrivateKey" xml:"ExistPrivateKey"`
	Sans            string `json:"Sans" xml:"Sans"`
}

Cert is a nested struct in cas response

type CertList added in v1.61.1842

type CertList struct {
	Cert []Cert `json:"Cert" xml:"Cert"`
}

CertList is a nested struct in cas response

type CertWarehouse added in v1.61.1842

type CertWarehouse struct {
	WhId          int64  `json:"WhId" xml:"WhId"`
	InstanceId    string `json:"InstanceId" xml:"InstanceId"`
	Name          string `json:"Name" xml:"Name"`
	PcaInstanceId string `json:"PcaInstanceId" xml:"PcaInstanceId"`
	Qps           int64  `json:"Qps" xml:"Qps"`
	Type          string `json:"Type" xml:"Type"`
	EndTime       int64  `json:"EndTime" xml:"EndTime"`
	IsExpired     bool   `json:"IsExpired" xml:"IsExpired"`
}

CertWarehouse is a nested struct in cas response

type CertWarehouseList added in v1.61.1842

type CertWarehouseList struct {
	CertWarehouse []CertWarehouse `json:"CertWarehouse" xml:"CertWarehouse"`
}

CertWarehouseList is a nested struct in cas response

type CertificateOrderList added in v1.61.1842

type CertificateOrderList struct {
	CertificateOrderListItem []CertificateOrderListItem `json:"CertificateOrderList" xml:"CertificateOrderList"`
}

CertificateOrderList is a nested struct in cas response

type CertificateOrderListItem added in v1.61.1842

type CertificateOrderListItem struct {
	Algorithm       string `json:"Algorithm" xml:"Algorithm"`
	AliyunOrderId   int64  `json:"AliyunOrderId" xml:"AliyunOrderId"`
	BuyDate         int64  `json:"BuyDate" xml:"BuyDate"`
	CertEndTime     int64  `json:"CertEndTime" xml:"CertEndTime"`
	CertStartTime   int64  `json:"CertStartTime" xml:"CertStartTime"`
	CertType        string `json:"CertType" xml:"CertType"`
	Domain          string `json:"Domain" xml:"Domain"`
	DomainCount     int64  `json:"DomainCount" xml:"DomainCount"`
	DomainType      string `json:"DomainType" xml:"DomainType"`
	InstanceId      string `json:"InstanceId" xml:"InstanceId"`
	OrderId         int64  `json:"OrderId" xml:"OrderId"`
	PartnerOrderId  string `json:"PartnerOrderId" xml:"PartnerOrderId"`
	ProductCode     string `json:"ProductCode" xml:"ProductCode"`
	ProductName     string `json:"ProductName" xml:"ProductName"`
	RootBrand       string `json:"RootBrand" xml:"RootBrand"`
	SourceType      string `json:"SourceType" xml:"SourceType"`
	Status          string `json:"Status" xml:"Status"`
	TrusteeStatus   string `json:"TrusteeStatus" xml:"TrusteeStatus"`
	WildDomainCount int64  `json:"WildDomainCount" xml:"WildDomainCount"`
	CertificateId   int64  `json:"CertificateId" xml:"CertificateId"`
	Name            string `json:"Name" xml:"Name"`
	CommonName      string `json:"CommonName" xml:"CommonName"`
	Fingerprint     string `json:"Fingerprint" xml:"Fingerprint"`
	Sha2            string `json:"Sha2" xml:"Sha2"`
	SerialNo        string `json:"SerialNo" xml:"SerialNo"`
	Issuer          string `json:"Issuer" xml:"Issuer"`
	OrgName         string `json:"OrgName" xml:"OrgName"`
	Province        string `json:"Province" xml:"Province"`
	City            string `json:"City" xml:"City"`
	Country         string `json:"Country" xml:"Country"`
	Sans            string `json:"Sans" xml:"Sans"`
	Expired         bool   `json:"Expired" xml:"Expired"`
	Upload          bool   `json:"Upload" xml:"Upload"`
	StartDate       string `json:"StartDate" xml:"StartDate"`
	EndDate         string `json:"EndDate" xml:"EndDate"`
	ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
}

CertificateOrderListItem is a nested struct in cas response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider added in v1.61.357

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy added in v1.61.357

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) CancelCertificateForPackageRequest added in v1.61.1842

func (client *Client) CancelCertificateForPackageRequest(request *CancelCertificateForPackageRequestRequest) (response *CancelCertificateForPackageRequestResponse, err error)

CancelCertificateForPackageRequest invokes the cas.CancelCertificateForPackageRequest API synchronously

func (*Client) CancelCertificateForPackageRequestWithCallback added in v1.61.1842

func (client *Client) CancelCertificateForPackageRequestWithCallback(request *CancelCertificateForPackageRequestRequest, callback func(response *CancelCertificateForPackageRequestResponse, err error)) <-chan int

CancelCertificateForPackageRequestWithCallback invokes the cas.CancelCertificateForPackageRequest API asynchronously

func (*Client) CancelCertificateForPackageRequestWithChan added in v1.61.1842

func (client *Client) CancelCertificateForPackageRequestWithChan(request *CancelCertificateForPackageRequestRequest) (<-chan *CancelCertificateForPackageRequestResponse, <-chan error)

CancelCertificateForPackageRequestWithChan invokes the cas.CancelCertificateForPackageRequest API asynchronously

func (*Client) CancelOrderRequest added in v1.61.1842

func (client *Client) CancelOrderRequest(request *CancelOrderRequestRequest) (response *CancelOrderRequestResponse, err error)

CancelOrderRequest invokes the cas.CancelOrderRequest API synchronously

func (*Client) CancelOrderRequestWithCallback added in v1.61.1842

func (client *Client) CancelOrderRequestWithCallback(request *CancelOrderRequestRequest, callback func(response *CancelOrderRequestResponse, err error)) <-chan int

CancelOrderRequestWithCallback invokes the cas.CancelOrderRequest API asynchronously

func (*Client) CancelOrderRequestWithChan added in v1.61.1842

func (client *Client) CancelOrderRequestWithChan(request *CancelOrderRequestRequest) (<-chan *CancelOrderRequestResponse, <-chan error)

CancelOrderRequestWithChan invokes the cas.CancelOrderRequest API asynchronously

func (*Client) CreateCertificateForPackageRequest added in v1.61.1842

func (client *Client) CreateCertificateForPackageRequest(request *CreateCertificateForPackageRequestRequest) (response *CreateCertificateForPackageRequestResponse, err error)

CreateCertificateForPackageRequest invokes the cas.CreateCertificateForPackageRequest API synchronously

func (*Client) CreateCertificateForPackageRequestWithCallback added in v1.61.1842

func (client *Client) CreateCertificateForPackageRequestWithCallback(request *CreateCertificateForPackageRequestRequest, callback func(response *CreateCertificateForPackageRequestResponse, err error)) <-chan int

CreateCertificateForPackageRequestWithCallback invokes the cas.CreateCertificateForPackageRequest API asynchronously

func (*Client) CreateCertificateForPackageRequestWithChan added in v1.61.1842

func (client *Client) CreateCertificateForPackageRequestWithChan(request *CreateCertificateForPackageRequestRequest) (<-chan *CreateCertificateForPackageRequestResponse, <-chan error)

CreateCertificateForPackageRequestWithChan invokes the cas.CreateCertificateForPackageRequest API asynchronously

func (*Client) CreateCertificateRequest added in v1.61.357

func (client *Client) CreateCertificateRequest(request *CreateCertificateRequestRequest) (response *CreateCertificateRequestResponse, err error)

CreateCertificateRequest invokes the cas.CreateCertificateRequest API synchronously

func (*Client) CreateCertificateRequestWithCallback added in v1.61.357

func (client *Client) CreateCertificateRequestWithCallback(request *CreateCertificateRequestRequest, callback func(response *CreateCertificateRequestResponse, err error)) <-chan int

CreateCertificateRequestWithCallback invokes the cas.CreateCertificateRequest API asynchronously

func (*Client) CreateCertificateRequestWithChan added in v1.61.357

func (client *Client) CreateCertificateRequestWithChan(request *CreateCertificateRequestRequest) (<-chan *CreateCertificateRequestResponse, <-chan error)

CreateCertificateRequestWithChan invokes the cas.CreateCertificateRequest API asynchronously

func (*Client) CreateCertificateWithCsrRequest added in v1.61.357

func (client *Client) CreateCertificateWithCsrRequest(request *CreateCertificateWithCsrRequestRequest) (response *CreateCertificateWithCsrRequestResponse, err error)

CreateCertificateWithCsrRequest invokes the cas.CreateCertificateWithCsrRequest API synchronously

func (*Client) CreateCertificateWithCsrRequestWithCallback added in v1.61.357

func (client *Client) CreateCertificateWithCsrRequestWithCallback(request *CreateCertificateWithCsrRequestRequest, callback func(response *CreateCertificateWithCsrRequestResponse, err error)) <-chan int

CreateCertificateWithCsrRequestWithCallback invokes the cas.CreateCertificateWithCsrRequest API asynchronously

func (*Client) CreateCertificateWithCsrRequestWithChan added in v1.61.357

func (client *Client) CreateCertificateWithCsrRequestWithChan(request *CreateCertificateWithCsrRequestRequest) (<-chan *CreateCertificateWithCsrRequestResponse, <-chan error)

CreateCertificateWithCsrRequestWithChan invokes the cas.CreateCertificateWithCsrRequest API asynchronously

func (*Client) CreateWHClientCertificate added in v1.61.1842

func (client *Client) CreateWHClientCertificate(request *CreateWHClientCertificateRequest) (response *CreateWHClientCertificateResponse, err error)

CreateWHClientCertificate invokes the cas.CreateWHClientCertificate API synchronously

func (*Client) CreateWHClientCertificateWithCallback added in v1.61.1842

func (client *Client) CreateWHClientCertificateWithCallback(request *CreateWHClientCertificateRequest, callback func(response *CreateWHClientCertificateResponse, err error)) <-chan int

CreateWHClientCertificateWithCallback invokes the cas.CreateWHClientCertificate API asynchronously

func (*Client) CreateWHClientCertificateWithChan added in v1.61.1842

func (client *Client) CreateWHClientCertificateWithChan(request *CreateWHClientCertificateRequest) (<-chan *CreateWHClientCertificateResponse, <-chan error)

CreateWHClientCertificateWithChan invokes the cas.CreateWHClientCertificate API asynchronously

func (*Client) Decrypt added in v1.61.1842

func (client *Client) Decrypt(request *DecryptRequest) (response *DecryptResponse, err error)

Decrypt invokes the cas.Decrypt API synchronously

func (*Client) DecryptWithCallback added in v1.61.1842

func (client *Client) DecryptWithCallback(request *DecryptRequest, callback func(response *DecryptResponse, err error)) <-chan int

DecryptWithCallback invokes the cas.Decrypt API asynchronously

func (*Client) DecryptWithChan added in v1.61.1842

func (client *Client) DecryptWithChan(request *DecryptRequest) (<-chan *DecryptResponse, <-chan error)

DecryptWithChan invokes the cas.Decrypt API asynchronously

func (*Client) DeleteCertificateRequest added in v1.61.357

func (client *Client) DeleteCertificateRequest(request *DeleteCertificateRequestRequest) (response *DeleteCertificateRequestResponse, err error)

DeleteCertificateRequest invokes the cas.DeleteCertificateRequest API synchronously

func (*Client) DeleteCertificateRequestWithCallback added in v1.61.357

func (client *Client) DeleteCertificateRequestWithCallback(request *DeleteCertificateRequestRequest, callback func(response *DeleteCertificateRequestResponse, err error)) <-chan int

DeleteCertificateRequestWithCallback invokes the cas.DeleteCertificateRequest API asynchronously

func (*Client) DeleteCertificateRequestWithChan added in v1.61.357

func (client *Client) DeleteCertificateRequestWithChan(request *DeleteCertificateRequestRequest) (<-chan *DeleteCertificateRequestResponse, <-chan error)

DeleteCertificateRequestWithChan invokes the cas.DeleteCertificateRequest API asynchronously

func (*Client) DeletePCACert added in v1.61.1842

func (client *Client) DeletePCACert(request *DeletePCACertRequest) (response *DeletePCACertResponse, err error)

DeletePCACert invokes the cas.DeletePCACert API synchronously

func (*Client) DeletePCACertWithCallback added in v1.61.1842

func (client *Client) DeletePCACertWithCallback(request *DeletePCACertRequest, callback func(response *DeletePCACertResponse, err error)) <-chan int

DeletePCACertWithCallback invokes the cas.DeletePCACert API asynchronously

func (*Client) DeletePCACertWithChan added in v1.61.1842

func (client *Client) DeletePCACertWithChan(request *DeletePCACertRequest) (<-chan *DeletePCACertResponse, <-chan error)

DeletePCACertWithChan invokes the cas.DeletePCACert API asynchronously

func (*Client) DeleteUserCertificate

func (client *Client) DeleteUserCertificate(request *DeleteUserCertificateRequest) (response *DeleteUserCertificateResponse, err error)

DeleteUserCertificate invokes the cas.DeleteUserCertificate API synchronously

func (*Client) DeleteUserCertificateWithCallback

func (client *Client) DeleteUserCertificateWithCallback(request *DeleteUserCertificateRequest, callback func(response *DeleteUserCertificateResponse, err error)) <-chan int

DeleteUserCertificateWithCallback invokes the cas.DeleteUserCertificate API asynchronously

func (*Client) DeleteUserCertificateWithChan

func (client *Client) DeleteUserCertificateWithChan(request *DeleteUserCertificateRequest) (<-chan *DeleteUserCertificateResponse, <-chan error)

DeleteUserCertificateWithChan invokes the cas.DeleteUserCertificate API asynchronously

func (*Client) DescribeCertificateState added in v1.61.357

func (client *Client) DescribeCertificateState(request *DescribeCertificateStateRequest) (response *DescribeCertificateStateResponse, err error)

DescribeCertificateState invokes the cas.DescribeCertificateState API synchronously

func (*Client) DescribeCertificateStateWithCallback added in v1.61.357

func (client *Client) DescribeCertificateStateWithCallback(request *DescribeCertificateStateRequest, callback func(response *DescribeCertificateStateResponse, err error)) <-chan int

DescribeCertificateStateWithCallback invokes the cas.DescribeCertificateState API asynchronously

func (*Client) DescribeCertificateStateWithChan added in v1.61.357

func (client *Client) DescribeCertificateStateWithChan(request *DescribeCertificateStateRequest) (<-chan *DescribeCertificateStateResponse, <-chan error)

DescribeCertificateStateWithChan invokes the cas.DescribeCertificateState API asynchronously

func (*Client) DescribePackageState added in v1.61.357

func (client *Client) DescribePackageState(request *DescribePackageStateRequest) (response *DescribePackageStateResponse, err error)

DescribePackageState invokes the cas.DescribePackageState API synchronously

func (*Client) DescribePackageStateWithCallback added in v1.61.357

func (client *Client) DescribePackageStateWithCallback(request *DescribePackageStateRequest, callback func(response *DescribePackageStateResponse, err error)) <-chan int

DescribePackageStateWithCallback invokes the cas.DescribePackageState API asynchronously

func (*Client) DescribePackageStateWithChan added in v1.61.357

func (client *Client) DescribePackageStateWithChan(request *DescribePackageStateRequest) (<-chan *DescribePackageStateResponse, <-chan error)

DescribePackageStateWithChan invokes the cas.DescribePackageState API asynchronously

func (*Client) Encrypt added in v1.61.1842

func (client *Client) Encrypt(request *EncryptRequest) (response *EncryptResponse, err error)

Encrypt invokes the cas.Encrypt API synchronously

func (*Client) EncryptWithCallback added in v1.61.1842

func (client *Client) EncryptWithCallback(request *EncryptRequest, callback func(response *EncryptResponse, err error)) <-chan int

EncryptWithCallback invokes the cas.Encrypt API asynchronously

func (*Client) EncryptWithChan added in v1.61.1842

func (client *Client) EncryptWithChan(request *EncryptRequest) (<-chan *EncryptResponse, <-chan error)

EncryptWithChan invokes the cas.Encrypt API asynchronously

func (*Client) GetCertWarehouseQuota added in v1.62.20

func (client *Client) GetCertWarehouseQuota(request *GetCertWarehouseQuotaRequest) (response *GetCertWarehouseQuotaResponse, err error)

GetCertWarehouseQuota invokes the cas.GetCertWarehouseQuota API synchronously

func (*Client) GetCertWarehouseQuotaWithCallback added in v1.62.20

func (client *Client) GetCertWarehouseQuotaWithCallback(request *GetCertWarehouseQuotaRequest, callback func(response *GetCertWarehouseQuotaResponse, err error)) <-chan int

GetCertWarehouseQuotaWithCallback invokes the cas.GetCertWarehouseQuota API asynchronously

func (*Client) GetCertWarehouseQuotaWithChan added in v1.62.20

func (client *Client) GetCertWarehouseQuotaWithChan(request *GetCertWarehouseQuotaRequest) (<-chan *GetCertWarehouseQuotaResponse, <-chan error)

GetCertWarehouseQuotaWithChan invokes the cas.GetCertWarehouseQuota API asynchronously

func (*Client) GetUserCertificateDetail added in v1.62.36

func (client *Client) GetUserCertificateDetail(request *GetUserCertificateDetailRequest) (response *GetUserCertificateDetailResponse, err error)

GetUserCertificateDetail invokes the cas.GetUserCertificateDetail API synchronously

func (*Client) GetUserCertificateDetailWithCallback added in v1.62.36

func (client *Client) GetUserCertificateDetailWithCallback(request *GetUserCertificateDetailRequest, callback func(response *GetUserCertificateDetailResponse, err error)) <-chan int

GetUserCertificateDetailWithCallback invokes the cas.GetUserCertificateDetail API asynchronously

func (*Client) GetUserCertificateDetailWithChan added in v1.62.36

func (client *Client) GetUserCertificateDetailWithChan(request *GetUserCertificateDetailRequest) (<-chan *GetUserCertificateDetailResponse, <-chan error)

GetUserCertificateDetailWithChan invokes the cas.GetUserCertificateDetail API asynchronously

func (*Client) ListCert added in v1.61.1842

func (client *Client) ListCert(request *ListCertRequest) (response *ListCertResponse, err error)

ListCert invokes the cas.ListCert API synchronously

func (*Client) ListCertWarehouse added in v1.61.1842

func (client *Client) ListCertWarehouse(request *ListCertWarehouseRequest) (response *ListCertWarehouseResponse, err error)

ListCertWarehouse invokes the cas.ListCertWarehouse API synchronously

func (*Client) ListCertWarehouseWithCallback added in v1.61.1842

func (client *Client) ListCertWarehouseWithCallback(request *ListCertWarehouseRequest, callback func(response *ListCertWarehouseResponse, err error)) <-chan int

ListCertWarehouseWithCallback invokes the cas.ListCertWarehouse API asynchronously

func (*Client) ListCertWarehouseWithChan added in v1.61.1842

func (client *Client) ListCertWarehouseWithChan(request *ListCertWarehouseRequest) (<-chan *ListCertWarehouseResponse, <-chan error)

ListCertWarehouseWithChan invokes the cas.ListCertWarehouse API asynchronously

func (*Client) ListCertWithCallback added in v1.61.1842

func (client *Client) ListCertWithCallback(request *ListCertRequest, callback func(response *ListCertResponse, err error)) <-chan int

ListCertWithCallback invokes the cas.ListCert API asynchronously

func (*Client) ListCertWithChan added in v1.61.1842

func (client *Client) ListCertWithChan(request *ListCertRequest) (<-chan *ListCertResponse, <-chan error)

ListCertWithChan invokes the cas.ListCert API asynchronously

func (*Client) ListUserCertificateOrder added in v1.61.1842

func (client *Client) ListUserCertificateOrder(request *ListUserCertificateOrderRequest) (response *ListUserCertificateOrderResponse, err error)

ListUserCertificateOrder invokes the cas.ListUserCertificateOrder API synchronously

func (*Client) ListUserCertificateOrderWithCallback added in v1.61.1842

func (client *Client) ListUserCertificateOrderWithCallback(request *ListUserCertificateOrderRequest, callback func(response *ListUserCertificateOrderResponse, err error)) <-chan int

ListUserCertificateOrderWithCallback invokes the cas.ListUserCertificateOrder API asynchronously

func (*Client) ListUserCertificateOrderWithChan added in v1.61.1842

func (client *Client) ListUserCertificateOrderWithChan(request *ListUserCertificateOrderRequest) (<-chan *ListUserCertificateOrderResponse, <-chan error)

ListUserCertificateOrderWithChan invokes the cas.ListUserCertificateOrder API asynchronously

func (*Client) RenewCertificateOrderForPackageRequest added in v1.61.1842

func (client *Client) RenewCertificateOrderForPackageRequest(request *RenewCertificateOrderForPackageRequestRequest) (response *RenewCertificateOrderForPackageRequestResponse, err error)

RenewCertificateOrderForPackageRequest invokes the cas.RenewCertificateOrderForPackageRequest API synchronously

func (*Client) RenewCertificateOrderForPackageRequestWithCallback added in v1.61.1842

func (client *Client) RenewCertificateOrderForPackageRequestWithCallback(request *RenewCertificateOrderForPackageRequestRequest, callback func(response *RenewCertificateOrderForPackageRequestResponse, err error)) <-chan int

RenewCertificateOrderForPackageRequestWithCallback invokes the cas.RenewCertificateOrderForPackageRequest API asynchronously

func (*Client) RenewCertificateOrderForPackageRequestWithChan added in v1.61.1842

func (client *Client) RenewCertificateOrderForPackageRequestWithChan(request *RenewCertificateOrderForPackageRequestRequest) (<-chan *RenewCertificateOrderForPackageRequestResponse, <-chan error)

RenewCertificateOrderForPackageRequestWithChan invokes the cas.RenewCertificateOrderForPackageRequest API asynchronously

func (*Client) RevokeWHClientCertificate added in v1.61.1842

func (client *Client) RevokeWHClientCertificate(request *RevokeWHClientCertificateRequest) (response *RevokeWHClientCertificateResponse, err error)

RevokeWHClientCertificate invokes the cas.RevokeWHClientCertificate API synchronously

func (*Client) RevokeWHClientCertificateWithCallback added in v1.61.1842

func (client *Client) RevokeWHClientCertificateWithCallback(request *RevokeWHClientCertificateRequest, callback func(response *RevokeWHClientCertificateResponse, err error)) <-chan int

RevokeWHClientCertificateWithCallback invokes the cas.RevokeWHClientCertificate API asynchronously

func (*Client) RevokeWHClientCertificateWithChan added in v1.61.1842

func (client *Client) RevokeWHClientCertificateWithChan(request *RevokeWHClientCertificateRequest) (<-chan *RevokeWHClientCertificateResponse, <-chan error)

RevokeWHClientCertificateWithChan invokes the cas.RevokeWHClientCertificate API asynchronously

func (*Client) Sign added in v1.61.1842

func (client *Client) Sign(request *SignRequest) (response *SignResponse, err error)

Sign invokes the cas.Sign API synchronously

func (*Client) SignWithCallback added in v1.61.1842

func (client *Client) SignWithCallback(request *SignRequest, callback func(response *SignResponse, err error)) <-chan int

SignWithCallback invokes the cas.Sign API asynchronously

func (*Client) SignWithChan added in v1.61.1842

func (client *Client) SignWithChan(request *SignRequest) (<-chan *SignResponse, <-chan error)

SignWithChan invokes the cas.Sign API asynchronously

func (*Client) UploadPCACert added in v1.61.1842

func (client *Client) UploadPCACert(request *UploadPCACertRequest) (response *UploadPCACertResponse, err error)

UploadPCACert invokes the cas.UploadPCACert API synchronously

func (*Client) UploadPCACertWithCallback added in v1.61.1842

func (client *Client) UploadPCACertWithCallback(request *UploadPCACertRequest, callback func(response *UploadPCACertResponse, err error)) <-chan int

UploadPCACertWithCallback invokes the cas.UploadPCACert API asynchronously

func (*Client) UploadPCACertWithChan added in v1.61.1842

func (client *Client) UploadPCACertWithChan(request *UploadPCACertRequest) (<-chan *UploadPCACertResponse, <-chan error)

UploadPCACertWithChan invokes the cas.UploadPCACert API asynchronously

func (*Client) UploadUserCertificate added in v1.62.36

func (client *Client) UploadUserCertificate(request *UploadUserCertificateRequest) (response *UploadUserCertificateResponse, err error)

UploadUserCertificate invokes the cas.UploadUserCertificate API synchronously

func (*Client) UploadUserCertificateWithCallback added in v1.62.36

func (client *Client) UploadUserCertificateWithCallback(request *UploadUserCertificateRequest, callback func(response *UploadUserCertificateResponse, err error)) <-chan int

UploadUserCertificateWithCallback invokes the cas.UploadUserCertificate API asynchronously

func (*Client) UploadUserCertificateWithChan added in v1.62.36

func (client *Client) UploadUserCertificateWithChan(request *UploadUserCertificateRequest) (<-chan *UploadUserCertificateResponse, <-chan error)

UploadUserCertificateWithChan invokes the cas.UploadUserCertificate API asynchronously

func (*Client) Verify added in v1.61.1842

func (client *Client) Verify(request *VerifyRequest) (response *VerifyResponse, err error)

Verify invokes the cas.Verify API synchronously

func (*Client) VerifyWithCallback added in v1.61.1842

func (client *Client) VerifyWithCallback(request *VerifyRequest, callback func(response *VerifyResponse, err error)) <-chan int

VerifyWithCallback invokes the cas.Verify API asynchronously

func (*Client) VerifyWithChan added in v1.61.1842

func (client *Client) VerifyWithChan(request *VerifyRequest) (<-chan *VerifyResponse, <-chan error)

VerifyWithChan invokes the cas.Verify API asynchronously

type CreateCertificateForPackageRequestRequest added in v1.61.1842

type CreateCertificateForPackageRequestRequest struct {
	*requests.RpcRequest
	ProductCode  string `position:"Query" name:"ProductCode"`
	Csr          string `position:"Query" name:"Csr"`
	ValidateType string `position:"Query" name:"ValidateType"`
	SourceIp     string `position:"Query" name:"SourceIp"`
	Email        string `position:"Query" name:"Email"`
	Phone        string `position:"Query" name:"Phone"`
	CompanyName  string `position:"Query" name:"CompanyName"`
	Domain       string `position:"Query" name:"Domain"`
	Username     string `position:"Query" name:"Username"`
}

CreateCertificateForPackageRequestRequest is the request struct for api CreateCertificateForPackageRequest

func CreateCreateCertificateForPackageRequestRequest added in v1.61.1842

func CreateCreateCertificateForPackageRequestRequest() (request *CreateCertificateForPackageRequestRequest)

CreateCreateCertificateForPackageRequestRequest creates a request to invoke CreateCertificateForPackageRequest API

type CreateCertificateForPackageRequestResponse added in v1.61.1842

type CreateCertificateForPackageRequestResponse struct {
	*responses.BaseResponse
	OrderId   int64  `json:"OrderId" xml:"OrderId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateCertificateForPackageRequestResponse is the response struct for api CreateCertificateForPackageRequest

func CreateCreateCertificateForPackageRequestResponse added in v1.61.1842

func CreateCreateCertificateForPackageRequestResponse() (response *CreateCertificateForPackageRequestResponse)

CreateCreateCertificateForPackageRequestResponse creates a response to parse from CreateCertificateForPackageRequest response

type CreateCertificateRequestRequest added in v1.61.357

type CreateCertificateRequestRequest struct {
	*requests.RpcRequest
	SourceIp     string `position:"Query" name:"SourceIp"`
	ProductCode  string `position:"Query" name:"ProductCode"`
	Username     string `position:"Query" name:"Username"`
	Phone        string `position:"Query" name:"Phone"`
	Email        string `position:"Query" name:"Email"`
	Domain       string `position:"Query" name:"Domain"`
	ValidateType string `position:"Query" name:"ValidateType"`
}

CreateCertificateRequestRequest is the request struct for api CreateCertificateRequest

func CreateCreateCertificateRequestRequest added in v1.61.357

func CreateCreateCertificateRequestRequest() (request *CreateCertificateRequestRequest)

CreateCreateCertificateRequestRequest creates a request to invoke CreateCertificateRequest API

type CreateCertificateRequestResponse added in v1.61.357

type CreateCertificateRequestResponse struct {
	*responses.BaseResponse
	OrderId   int64  `json:"OrderId" xml:"OrderId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateCertificateRequestResponse is the response struct for api CreateCertificateRequest

func CreateCreateCertificateRequestResponse added in v1.61.357

func CreateCreateCertificateRequestResponse() (response *CreateCertificateRequestResponse)

CreateCreateCertificateRequestResponse creates a response to parse from CreateCertificateRequest response

type CreateCertificateWithCsrRequestRequest added in v1.61.357

type CreateCertificateWithCsrRequestRequest struct {
	*requests.RpcRequest
	SourceIp     string `position:"Query" name:"SourceIp"`
	Csr          string `position:"Query" name:"Csr"`
	ProductCode  string `position:"Query" name:"ProductCode"`
	Username     string `position:"Query" name:"Username"`
	Phone        string `position:"Query" name:"Phone"`
	Email        string `position:"Query" name:"Email"`
	ValidateType string `position:"Query" name:"ValidateType"`
}

CreateCertificateWithCsrRequestRequest is the request struct for api CreateCertificateWithCsrRequest

func CreateCreateCertificateWithCsrRequestRequest added in v1.61.357

func CreateCreateCertificateWithCsrRequestRequest() (request *CreateCertificateWithCsrRequestRequest)

CreateCreateCertificateWithCsrRequestRequest creates a request to invoke CreateCertificateWithCsrRequest API

type CreateCertificateWithCsrRequestResponse added in v1.61.357

type CreateCertificateWithCsrRequestResponse struct {
	*responses.BaseResponse
	OrderId   int64  `json:"OrderId" xml:"OrderId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateCertificateWithCsrRequestResponse is the response struct for api CreateCertificateWithCsrRequest

func CreateCreateCertificateWithCsrRequestResponse added in v1.61.357

func CreateCreateCertificateWithCsrRequestResponse() (response *CreateCertificateWithCsrRequestResponse)

CreateCreateCertificateWithCsrRequestResponse creates a response to parse from CreateCertificateWithCsrRequest response

type CreateWHClientCertificateRequest added in v1.61.1842

type CreateWHClientCertificateRequest struct {
	*requests.RpcRequest
	Country          string           `position:"Query" name:"Country"`
	Csr              string           `position:"Query" name:"Csr"`
	Immediately      requests.Integer `position:"Query" name:"Immediately"`
	Years            requests.Integer `position:"Query" name:"Years"`
	CommonName       string           `position:"Query" name:"CommonName"`
	SourceIp         string           `position:"Query" name:"SourceIp"`
	SanValue         string           `position:"Query" name:"SanValue"`
	State            string           `position:"Query" name:"State"`
	Algorithm        string           `position:"Query" name:"Algorithm"`
	Months           requests.Integer `position:"Query" name:"Months"`
	AfterTime        requests.Integer `position:"Query" name:"AfterTime"`
	Locality         string           `position:"Query" name:"Locality"`
	SanType          requests.Integer `position:"Query" name:"SanType"`
	Organization     string           `position:"Query" name:"Organization"`
	Days             requests.Integer `position:"Query" name:"Days"`
	BeforeTime       requests.Integer `position:"Query" name:"BeforeTime"`
	ParentIdentifier string           `position:"Query" name:"ParentIdentifier"`
	OrganizationUnit string           `position:"Query" name:"OrganizationUnit"`
}

CreateWHClientCertificateRequest is the request struct for api CreateWHClientCertificate

func CreateCreateWHClientCertificateRequest added in v1.61.1842

func CreateCreateWHClientCertificateRequest() (request *CreateWHClientCertificateRequest)

CreateCreateWHClientCertificateRequest creates a request to invoke CreateWHClientCertificate API

type CreateWHClientCertificateResponse added in v1.61.1842

type CreateWHClientCertificateResponse struct {
	*responses.BaseResponse
	Identifier            string `json:"Identifier" xml:"Identifier"`
	RequestId             string `json:"RequestId" xml:"RequestId"`
	RootX509Certificate   string `json:"RootX509Certificate" xml:"RootX509Certificate"`
	ParentX509Certificate string `json:"ParentX509Certificate" xml:"ParentX509Certificate"`
	X509Certificate       string `json:"X509Certificate" xml:"X509Certificate"`
	CertificateChain      string `json:"CertificateChain" xml:"CertificateChain"`
}

CreateWHClientCertificateResponse is the response struct for api CreateWHClientCertificate

func CreateCreateWHClientCertificateResponse added in v1.61.1842

func CreateCreateWHClientCertificateResponse() (response *CreateWHClientCertificateResponse)

CreateCreateWHClientCertificateResponse creates a response to parse from CreateWHClientCertificate response

type DecryptRequest added in v1.61.1842

type DecryptRequest struct {
	*requests.RpcRequest
	MessageType    string `position:"Query" name:"MessageType"`
	SourceIp       string `position:"Query" name:"SourceIp"`
	CertIdentifier string `position:"Query" name:"CertIdentifier"`
	Algorithm      string `position:"Query" name:"Algorithm"`
	CiphertextBlob string `position:"Query" name:"CiphertextBlob"`
}

DecryptRequest is the request struct for api Decrypt

func CreateDecryptRequest added in v1.61.1842

func CreateDecryptRequest() (request *DecryptRequest)

CreateDecryptRequest creates a request to invoke Decrypt API

type DecryptResponse added in v1.61.1842

type DecryptResponse struct {
	*responses.BaseResponse
	Plaintext      string `json:"Plaintext" xml:"Plaintext"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	CertIdentifier string `json:"CertIdentifier" xml:"CertIdentifier"`
}

DecryptResponse is the response struct for api Decrypt

func CreateDecryptResponse added in v1.61.1842

func CreateDecryptResponse() (response *DecryptResponse)

CreateDecryptResponse creates a response to parse from Decrypt response

type DeleteCertificateRequestRequest added in v1.61.357

type DeleteCertificateRequestRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	OrderId  requests.Integer `position:"Query" name:"OrderId"`
}

DeleteCertificateRequestRequest is the request struct for api DeleteCertificateRequest

func CreateDeleteCertificateRequestRequest added in v1.61.357

func CreateDeleteCertificateRequestRequest() (request *DeleteCertificateRequestRequest)

CreateDeleteCertificateRequestRequest creates a request to invoke DeleteCertificateRequest API

type DeleteCertificateRequestResponse added in v1.61.357

type DeleteCertificateRequestResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteCertificateRequestResponse is the response struct for api DeleteCertificateRequest

func CreateDeleteCertificateRequestResponse added in v1.61.357

func CreateDeleteCertificateRequestResponse() (response *DeleteCertificateRequestResponse)

CreateDeleteCertificateRequestResponse creates a response to parse from DeleteCertificateRequest response

type DeletePCACertRequest added in v1.61.1842

type DeletePCACertRequest struct {
	*requests.RpcRequest
	Identifier string `position:"Query" name:"Identifier"`
	SourceIp   string `position:"Query" name:"SourceIp"`
}

DeletePCACertRequest is the request struct for api DeletePCACert

func CreateDeletePCACertRequest added in v1.61.1842

func CreateDeletePCACertRequest() (request *DeletePCACertRequest)

CreateDeletePCACertRequest creates a request to invoke DeletePCACert API

type DeletePCACertResponse added in v1.61.1842

type DeletePCACertResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeletePCACertResponse is the response struct for api DeletePCACert

func CreateDeletePCACertResponse added in v1.61.1842

func CreateDeletePCACertResponse() (response *DeletePCACertResponse)

CreateDeletePCACertResponse creates a response to parse from DeletePCACert response

type DeleteUserCertificateRequest

type DeleteUserCertificateRequest struct {
	*requests.RpcRequest
	CertId   requests.Integer `position:"Query" name:"CertId"`
	SourceIp string           `position:"Query" name:"SourceIp"`
}

DeleteUserCertificateRequest is the request struct for api DeleteUserCertificate

func CreateDeleteUserCertificateRequest

func CreateDeleteUserCertificateRequest() (request *DeleteUserCertificateRequest)

CreateDeleteUserCertificateRequest creates a request to invoke DeleteUserCertificate API

type DeleteUserCertificateResponse

type DeleteUserCertificateResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteUserCertificateResponse is the response struct for api DeleteUserCertificate

func CreateDeleteUserCertificateResponse

func CreateDeleteUserCertificateResponse() (response *DeleteUserCertificateResponse)

CreateDeleteUserCertificateResponse creates a response to parse from DeleteUserCertificate response

type DescribeCertificateStateRequest added in v1.61.357

type DescribeCertificateStateRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	OrderId  requests.Integer `position:"Query" name:"OrderId"`
}

DescribeCertificateStateRequest is the request struct for api DescribeCertificateState

func CreateDescribeCertificateStateRequest added in v1.61.357

func CreateDescribeCertificateStateRequest() (request *DescribeCertificateStateRequest)

CreateDescribeCertificateStateRequest creates a request to invoke DescribeCertificateState API

type DescribeCertificateStateResponse added in v1.61.357

type DescribeCertificateStateResponse struct {
	*responses.BaseResponse
	Type         string `json:"Type" xml:"Type"`
	Domain       string `json:"Domain" xml:"Domain"`
	RecordType   string `json:"RecordType" xml:"RecordType"`
	Certificate  string `json:"Certificate" xml:"Certificate"`
	RequestId    string `json:"RequestId" xml:"RequestId"`
	RecordDomain string `json:"RecordDomain" xml:"RecordDomain"`
	PrivateKey   string `json:"PrivateKey" xml:"PrivateKey"`
	ValidateType string `json:"ValidateType" xml:"ValidateType"`
	RecordValue  string `json:"RecordValue" xml:"RecordValue"`
	Content      string `json:"Content" xml:"Content"`
	Uri          string `json:"Uri" xml:"Uri"`
}

DescribeCertificateStateResponse is the response struct for api DescribeCertificateState

func CreateDescribeCertificateStateResponse added in v1.61.357

func CreateDescribeCertificateStateResponse() (response *DescribeCertificateStateResponse)

CreateDescribeCertificateStateResponse creates a response to parse from DescribeCertificateState response

type DescribePackageStateRequest added in v1.61.357

type DescribePackageStateRequest struct {
	*requests.RpcRequest
	SourceIp    string `position:"Query" name:"SourceIp"`
	ProductCode string `position:"Query" name:"ProductCode"`
}

DescribePackageStateRequest is the request struct for api DescribePackageState

func CreateDescribePackageStateRequest added in v1.61.357

func CreateDescribePackageStateRequest() (request *DescribePackageStateRequest)

CreateDescribePackageStateRequest creates a request to invoke DescribePackageState API

type DescribePackageStateResponse added in v1.61.357

type DescribePackageStateResponse struct {
	*responses.BaseResponse
	IssuedCount int64  `json:"IssuedCount" xml:"IssuedCount"`
	RequestId   string `json:"RequestId" xml:"RequestId"`
	TotalCount  int64  `json:"TotalCount" xml:"TotalCount"`
	ProductCode string `json:"ProductCode" xml:"ProductCode"`
	UsedCount   int64  `json:"UsedCount" xml:"UsedCount"`
}

DescribePackageStateResponse is the response struct for api DescribePackageState

func CreateDescribePackageStateResponse added in v1.61.357

func CreateDescribePackageStateResponse() (response *DescribePackageStateResponse)

CreateDescribePackageStateResponse creates a response to parse from DescribePackageState response

type EncryptRequest added in v1.61.1842

type EncryptRequest struct {
	*requests.RpcRequest
	MessageType    string `position:"Query" name:"MessageType"`
	Plaintext      string `position:"Query" name:"Plaintext"`
	SourceIp       string `position:"Query" name:"SourceIp"`
	CertIdentifier string `position:"Query" name:"CertIdentifier"`
	Algorithm      string `position:"Query" name:"Algorithm"`
}

EncryptRequest is the request struct for api Encrypt

func CreateEncryptRequest added in v1.61.1842

func CreateEncryptRequest() (request *EncryptRequest)

CreateEncryptRequest creates a request to invoke Encrypt API

type EncryptResponse added in v1.61.1842

type EncryptResponse struct {
	*responses.BaseResponse
	CertIdentifier string `json:"CertIdentifier" xml:"CertIdentifier"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	CiphertextBlob string `json:"CiphertextBlob" xml:"CiphertextBlob"`
}

EncryptResponse is the response struct for api Encrypt

func CreateEncryptResponse added in v1.61.1842

func CreateEncryptResponse() (response *EncryptResponse)

CreateEncryptResponse creates a response to parse from Encrypt response

type GetCertWarehouseQuotaRequest added in v1.62.20

type GetCertWarehouseQuotaRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
}

GetCertWarehouseQuotaRequest is the request struct for api GetCertWarehouseQuota

func CreateGetCertWarehouseQuotaRequest added in v1.62.20

func CreateGetCertWarehouseQuotaRequest() (request *GetCertWarehouseQuotaRequest)

CreateGetCertWarehouseQuotaRequest creates a request to invoke GetCertWarehouseQuota API

type GetCertWarehouseQuotaResponse added in v1.62.20

type GetCertWarehouseQuotaResponse struct {
	*responses.BaseResponse
	TotalQuota int64  `json:"TotalQuota" xml:"TotalQuota"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	UseCount   int64  `json:"UseCount" xml:"UseCount"`
}

GetCertWarehouseQuotaResponse is the response struct for api GetCertWarehouseQuota

func CreateGetCertWarehouseQuotaResponse added in v1.62.20

func CreateGetCertWarehouseQuotaResponse() (response *GetCertWarehouseQuotaResponse)

CreateGetCertWarehouseQuotaResponse creates a response to parse from GetCertWarehouseQuota response

type GetUserCertificateDetailRequest added in v1.62.36

type GetUserCertificateDetailRequest struct {
	*requests.RpcRequest
	CertId     requests.Integer `position:"Query" name:"CertId"`
	SourceIp   string           `position:"Query" name:"SourceIp"`
	CertFilter requests.Boolean `position:"Query" name:"CertFilter"`
}

GetUserCertificateDetailRequest is the request struct for api GetUserCertificateDetail

func CreateGetUserCertificateDetailRequest added in v1.62.36

func CreateGetUserCertificateDetailRequest() (request *GetUserCertificateDetailRequest)

CreateGetUserCertificateDetailRequest creates a request to invoke GetUserCertificateDetail API

type GetUserCertificateDetailResponse added in v1.62.36

type GetUserCertificateDetailResponse struct {
	*responses.BaseResponse
	Cert              string `json:"Cert" xml:"Cert"`
	Key               string `json:"Key" xml:"Key"`
	EncryptCert       string `json:"EncryptCert" xml:"EncryptCert"`
	EncryptPrivateKey string `json:"EncryptPrivateKey" xml:"EncryptPrivateKey"`
	SignCert          string `json:"SignCert" xml:"SignCert"`
	SignPrivateKey    string `json:"SignPrivateKey" xml:"SignPrivateKey"`
	Id                int64  `json:"Id" xml:"Id"`
	Name              string `json:"Name" xml:"Name"`
	RequestId         string `json:"RequestId" xml:"RequestId"`
	Common            string `json:"Common" xml:"Common"`
	Fingerprint       string `json:"Fingerprint" xml:"Fingerprint"`
	Issuer            string `json:"Issuer" xml:"Issuer"`
	OrgName           string `json:"OrgName" xml:"OrgName"`
	Province          string `json:"Province" xml:"Province"`
	City              string `json:"City" xml:"City"`
	Country           string `json:"Country" xml:"Country"`
	StartDate         string `json:"StartDate" xml:"StartDate"`
	EndDate           string `json:"EndDate" xml:"EndDate"`
	Sans              string `json:"Sans" xml:"Sans"`
	Expired           bool   `json:"Expired" xml:"Expired"`
	BuyInAliyun       bool   `json:"BuyInAliyun" xml:"BuyInAliyun"`
	OrderId           int64  `json:"OrderId" xml:"OrderId"`
	ResourceGroupId   string `json:"ResourceGroupId" xml:"ResourceGroupId"`
	Algorithm         string `json:"Algorithm" xml:"Algorithm"`
}

GetUserCertificateDetailResponse is the response struct for api GetUserCertificateDetail

func CreateGetUserCertificateDetailResponse added in v1.62.36

func CreateGetUserCertificateDetailResponse() (response *GetUserCertificateDetailResponse)

CreateGetUserCertificateDetailResponse creates a response to parse from GetUserCertificateDetail response

type ListCertRequest added in v1.61.1842

type ListCertRequest struct {
	*requests.RpcRequest
	SourceIp    string           `position:"Query" name:"SourceIp"`
	WarehouseId requests.Integer `position:"Query" name:"WarehouseId"`
	CertType    string           `position:"Query" name:"CertType"`
	SourceType  string           `position:"Query" name:"SourceType"`
	KeyWord     string           `position:"Query" name:"KeyWord"`
	ShowSize    requests.Integer `position:"Query" name:"ShowSize"`
	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
	Status      string           `position:"Query" name:"Status"`
}

ListCertRequest is the request struct for api ListCert

func CreateListCertRequest added in v1.61.1842

func CreateListCertRequest() (request *ListCertRequest)

CreateListCertRequest creates a request to invoke ListCert API

type ListCertResponse added in v1.61.1842

type ListCertResponse struct {
	*responses.BaseResponse
	ShowSize    int64  `json:"ShowSize" xml:"ShowSize"`
	CurrentPage int64  `json:"CurrentPage" xml:"CurrentPage"`
	TotalCount  int64  `json:"TotalCount" xml:"TotalCount"`
	RequestId   string `json:"RequestId" xml:"RequestId"`
	CertList    []Cert `json:"CertList" xml:"CertList"`
}

ListCertResponse is the response struct for api ListCert

func CreateListCertResponse added in v1.61.1842

func CreateListCertResponse() (response *ListCertResponse)

CreateListCertResponse creates a response to parse from ListCert response

type ListCertWarehouseRequest added in v1.61.1842

type ListCertWarehouseRequest struct {
	*requests.RpcRequest
	ShowSize    requests.Integer `position:"Query" name:"ShowSize"`
	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
	Type        string           `position:"Query" name:"Type"`
	InstanceId  string           `position:"Query" name:"InstanceId"`
	SourceIp    string           `position:"Query" name:"SourceIp"`
	Name        string           `position:"Query" name:"Name"`
}

ListCertWarehouseRequest is the request struct for api ListCertWarehouse

func CreateListCertWarehouseRequest added in v1.61.1842

func CreateListCertWarehouseRequest() (request *ListCertWarehouseRequest)

CreateListCertWarehouseRequest creates a request to invoke ListCertWarehouse API

type ListCertWarehouseResponse added in v1.61.1842

type ListCertWarehouseResponse struct {
	*responses.BaseResponse
	ShowSize          int64           `json:"ShowSize" xml:"ShowSize"`
	CurrentPage       int64           `json:"CurrentPage" xml:"CurrentPage"`
	TotalCount        int64           `json:"TotalCount" xml:"TotalCount"`
	RequestId         string          `json:"RequestId" xml:"RequestId"`
	CertWarehouseList []CertWarehouse `json:"CertWarehouseList" xml:"CertWarehouseList"`
}

ListCertWarehouseResponse is the response struct for api ListCertWarehouse

func CreateListCertWarehouseResponse added in v1.61.1842

func CreateListCertWarehouseResponse() (response *ListCertWarehouseResponse)

CreateListCertWarehouseResponse creates a response to parse from ListCertWarehouse response

type ListUserCertificateOrderRequest added in v1.61.1842

type ListUserCertificateOrderRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Keyword         string           `position:"Query" name:"Keyword"`
	ShowSize        requests.Integer `position:"Query" name:"ShowSize"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	Status          string           `position:"Query" name:"Status"`
	OrderType       string           `position:"Query" name:"OrderType"`
}

ListUserCertificateOrderRequest is the request struct for api ListUserCertificateOrder

func CreateListUserCertificateOrderRequest added in v1.61.1842

func CreateListUserCertificateOrderRequest() (request *ListUserCertificateOrderRequest)

CreateListUserCertificateOrderRequest creates a request to invoke ListUserCertificateOrder API

type ListUserCertificateOrderResponse added in v1.61.1842

type ListUserCertificateOrderResponse struct {
	*responses.BaseResponse
	ShowSize             int64                      `json:"ShowSize" xml:"ShowSize"`
	CurrentPage          int64                      `json:"CurrentPage" xml:"CurrentPage"`
	TotalCount           int64                      `json:"TotalCount" xml:"TotalCount"`
	RequestId            string                     `json:"RequestId" xml:"RequestId"`
	CertificateOrderList []CertificateOrderListItem `json:"CertificateOrderList" xml:"CertificateOrderList"`
}

ListUserCertificateOrderResponse is the response struct for api ListUserCertificateOrder

func CreateListUserCertificateOrderResponse added in v1.61.1842

func CreateListUserCertificateOrderResponse() (response *ListUserCertificateOrderResponse)

CreateListUserCertificateOrderResponse creates a response to parse from ListUserCertificateOrder response

type RenewCertificateOrderForPackageRequestRequest added in v1.61.1842

type RenewCertificateOrderForPackageRequestRequest struct {
	*requests.RpcRequest
	Csr      string           `position:"Query" name:"Csr"`
	OrderId  requests.Integer `position:"Query" name:"OrderId"`
	SourceIp string           `position:"Query" name:"SourceIp"`
}

RenewCertificateOrderForPackageRequestRequest is the request struct for api RenewCertificateOrderForPackageRequest

func CreateRenewCertificateOrderForPackageRequestRequest added in v1.61.1842

func CreateRenewCertificateOrderForPackageRequestRequest() (request *RenewCertificateOrderForPackageRequestRequest)

CreateRenewCertificateOrderForPackageRequestRequest creates a request to invoke RenewCertificateOrderForPackageRequest API

type RenewCertificateOrderForPackageRequestResponse added in v1.61.1842

type RenewCertificateOrderForPackageRequestResponse struct {
	*responses.BaseResponse
	OrderId   int64  `json:"OrderId" xml:"OrderId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RenewCertificateOrderForPackageRequestResponse is the response struct for api RenewCertificateOrderForPackageRequest

func CreateRenewCertificateOrderForPackageRequestResponse added in v1.61.1842

func CreateRenewCertificateOrderForPackageRequestResponse() (response *RenewCertificateOrderForPackageRequestResponse)

CreateRenewCertificateOrderForPackageRequestResponse creates a response to parse from RenewCertificateOrderForPackageRequest response

type RevokeWHClientCertificateRequest added in v1.61.1842

type RevokeWHClientCertificateRequest struct {
	*requests.RpcRequest
	Identifier string `position:"Query" name:"Identifier"`
	SourceIp   string `position:"Query" name:"SourceIp"`
}

RevokeWHClientCertificateRequest is the request struct for api RevokeWHClientCertificate

func CreateRevokeWHClientCertificateRequest added in v1.61.1842

func CreateRevokeWHClientCertificateRequest() (request *RevokeWHClientCertificateRequest)

CreateRevokeWHClientCertificateRequest creates a request to invoke RevokeWHClientCertificate API

type RevokeWHClientCertificateResponse added in v1.61.1842

type RevokeWHClientCertificateResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RevokeWHClientCertificateResponse is the response struct for api RevokeWHClientCertificate

func CreateRevokeWHClientCertificateResponse added in v1.61.1842

func CreateRevokeWHClientCertificateResponse() (response *RevokeWHClientCertificateResponse)

CreateRevokeWHClientCertificateResponse creates a response to parse from RevokeWHClientCertificate response

type SignRequest added in v1.61.1842

type SignRequest struct {
	*requests.RpcRequest
	MessageType      string `position:"Query" name:"MessageType"`
	SigningAlgorithm string `position:"Query" name:"SigningAlgorithm"`
	Message          string `position:"Query" name:"Message"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	CertIdentifier   string `position:"Query" name:"CertIdentifier"`
}

SignRequest is the request struct for api Sign

func CreateSignRequest added in v1.61.1842

func CreateSignRequest() (request *SignRequest)

CreateSignRequest creates a request to invoke Sign API

type SignResponse added in v1.61.1842

type SignResponse struct {
	*responses.BaseResponse
	Signature string `json:"Signature" xml:"Signature"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SignResponse is the response struct for api Sign

func CreateSignResponse added in v1.61.1842

func CreateSignResponse() (response *SignResponse)

CreateSignResponse creates a response to parse from Sign response

type UploadPCACertRequest added in v1.61.1842

type UploadPCACertRequest struct {
	*requests.RpcRequest
	Cert        string           `position:"Query" name:"Cert"`
	PrivateKey  string           `position:"Query" name:"PrivateKey"`
	SourceIp    string           `position:"Query" name:"SourceIp"`
	WarehouseId requests.Integer `position:"Query" name:"WarehouseId"`
	Name        string           `position:"Query" name:"Name"`
}

UploadPCACertRequest is the request struct for api UploadPCACert

func CreateUploadPCACertRequest added in v1.61.1842

func CreateUploadPCACertRequest() (request *UploadPCACertRequest)

CreateUploadPCACertRequest creates a request to invoke UploadPCACert API

type UploadPCACertResponse added in v1.61.1842

type UploadPCACertResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Identifier string `json:"Identifier" xml:"Identifier"`
}

UploadPCACertResponse is the response struct for api UploadPCACert

func CreateUploadPCACertResponse added in v1.61.1842

func CreateUploadPCACertResponse() (response *UploadPCACertResponse)

CreateUploadPCACertResponse creates a response to parse from UploadPCACert response

type UploadUserCertificateRequest added in v1.62.36

type UploadUserCertificateRequest struct {
	*requests.RpcRequest
	EncryptCert       string `position:"Query" name:"EncryptCert"`
	Cert              string `position:"Query" name:"Cert"`
	ResourceGroupId   string `position:"Query" name:"ResourceGroupId"`
	SourceIp          string `position:"Query" name:"SourceIp"`
	Key               string `position:"Query" name:"Key"`
	EncryptPrivateKey string `position:"Query" name:"EncryptPrivateKey"`
	SignPrivateKey    string `position:"Query" name:"SignPrivateKey"`
	SignCert          string `position:"Query" name:"SignCert"`
	Name              string `position:"Query" name:"Name"`
}

UploadUserCertificateRequest is the request struct for api UploadUserCertificate

func CreateUploadUserCertificateRequest added in v1.62.36

func CreateUploadUserCertificateRequest() (request *UploadUserCertificateRequest)

CreateUploadUserCertificateRequest creates a request to invoke UploadUserCertificate API

type UploadUserCertificateResponse added in v1.62.36

type UploadUserCertificateResponse struct {
	*responses.BaseResponse
	CertId    int64  `json:"CertId" xml:"CertId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UploadUserCertificateResponse is the response struct for api UploadUserCertificate

func CreateUploadUserCertificateResponse added in v1.62.36

func CreateUploadUserCertificateResponse() (response *UploadUserCertificateResponse)

CreateUploadUserCertificateResponse creates a response to parse from UploadUserCertificate response

type VerifyRequest added in v1.61.1842

type VerifyRequest struct {
	*requests.RpcRequest
	MessageType      string `position:"Query" name:"MessageType"`
	SigningAlgorithm string `position:"Query" name:"SigningAlgorithm"`
	Message          string `position:"Query" name:"Message"`
	SignatureValue   string `position:"Query" name:"SignatureValue"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	CertIdentifier   string `position:"Query" name:"CertIdentifier"`
}

VerifyRequest is the request struct for api Verify

func CreateVerifyRequest added in v1.61.1842

func CreateVerifyRequest() (request *VerifyRequest)

CreateVerifyRequest creates a request to invoke Verify API

type VerifyResponse added in v1.61.1842

type VerifyResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	SignatureValid bool   `json:"SignatureValid" xml:"SignatureValid"`
}

VerifyResponse is the response struct for api Verify

func CreateVerifyResponse added in v1.61.1842

func CreateVerifyResponse() (response *VerifyResponse)

CreateVerifyResponse creates a response to parse from Verify response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL