Documentation ¶
Index ¶
- func CcmClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCertificate() *def.HttpRequestDef
- func GenReqDefForCreateCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForCreateCertificateAuthorityObsAgency() *def.HttpRequestDef
- func GenReqDefForCreateCertificateByCsr() *def.HttpRequestDef
- func GenReqDefForDeleteCertificate() *def.HttpRequestDef
- func GenReqDefForDeleteCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForDisableCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForDisableCertificateAuthorityCrl() *def.HttpRequestDef
- func GenReqDefForEnableCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForEnableCertificateAuthorityCrl() *def.HttpRequestDef
- func GenReqDefForExportCertificate() *def.HttpRequestDef
- func GenReqDefForExportCertificateAuthorityCertificate() *def.HttpRequestDef
- func GenReqDefForExportCertificateAuthorityCsr() *def.HttpRequestDef
- func GenReqDefForImportCertificateAuthorityCertificate() *def.HttpRequestDef
- func GenReqDefForIssueCertificateAuthorityCertificate() *def.HttpRequestDef
- func GenReqDefForListCertificate() *def.HttpRequestDef
- func GenReqDefForListCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForListCertificateAuthorityObsBucket() *def.HttpRequestDef
- func GenReqDefForParseCertificateSigningRequest() *def.HttpRequestDef
- func GenReqDefForRestoreCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForRevokeCertificate() *def.HttpRequestDef
- func GenReqDefForRevokeCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForShowCertificate() *def.HttpRequestDef
- func GenReqDefForShowCertificateAuthority() *def.HttpRequestDef
- func GenReqDefForShowCertificateAuthorityObsAgency() *def.HttpRequestDef
- func GenReqDefForShowCertificateAuthorityQuota() *def.HttpRequestDef
- func GenReqDefForShowCertificateQuota() *def.HttpRequestDef
- type CcmClient
- func (c *CcmClient) CreateCertificate(request *model.CreateCertificateRequest) (*model.CreateCertificateResponse, error)
- func (c *CcmClient) CreateCertificateAuthority(request *model.CreateCertificateAuthorityRequest) (*model.CreateCertificateAuthorityResponse, error)
- func (c *CcmClient) CreateCertificateAuthorityInvoker(request *model.CreateCertificateAuthorityRequest) *CreateCertificateAuthorityInvoker
- func (c *CcmClient) CreateCertificateAuthorityObsAgency(request *model.CreateCertificateAuthorityObsAgencyRequest) (*model.CreateCertificateAuthorityObsAgencyResponse, error)
- func (c *CcmClient) CreateCertificateAuthorityObsAgencyInvoker(request *model.CreateCertificateAuthorityObsAgencyRequest) *CreateCertificateAuthorityObsAgencyInvoker
- func (c *CcmClient) CreateCertificateByCsr(request *model.CreateCertificateByCsrRequest) (*model.CreateCertificateByCsrResponse, error)
- func (c *CcmClient) CreateCertificateByCsrInvoker(request *model.CreateCertificateByCsrRequest) *CreateCertificateByCsrInvoker
- func (c *CcmClient) CreateCertificateInvoker(request *model.CreateCertificateRequest) *CreateCertificateInvoker
- func (c *CcmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
- func (c *CcmClient) DeleteCertificateAuthority(request *model.DeleteCertificateAuthorityRequest) (*model.DeleteCertificateAuthorityResponse, error)
- func (c *CcmClient) DeleteCertificateAuthorityInvoker(request *model.DeleteCertificateAuthorityRequest) *DeleteCertificateAuthorityInvoker
- func (c *CcmClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker
- func (c *CcmClient) DisableCertificateAuthority(request *model.DisableCertificateAuthorityRequest) (*model.DisableCertificateAuthorityResponse, error)
- func (c *CcmClient) DisableCertificateAuthorityCrl(request *model.DisableCertificateAuthorityCrlRequest) (*model.DisableCertificateAuthorityCrlResponse, error)
- func (c *CcmClient) DisableCertificateAuthorityCrlInvoker(request *model.DisableCertificateAuthorityCrlRequest) *DisableCertificateAuthorityCrlInvoker
- func (c *CcmClient) DisableCertificateAuthorityInvoker(request *model.DisableCertificateAuthorityRequest) *DisableCertificateAuthorityInvoker
- func (c *CcmClient) EnableCertificateAuthority(request *model.EnableCertificateAuthorityRequest) (*model.EnableCertificateAuthorityResponse, error)
- func (c *CcmClient) EnableCertificateAuthorityCrl(request *model.EnableCertificateAuthorityCrlRequest) (*model.EnableCertificateAuthorityCrlResponse, error)
- func (c *CcmClient) EnableCertificateAuthorityCrlInvoker(request *model.EnableCertificateAuthorityCrlRequest) *EnableCertificateAuthorityCrlInvoker
- func (c *CcmClient) EnableCertificateAuthorityInvoker(request *model.EnableCertificateAuthorityRequest) *EnableCertificateAuthorityInvoker
- func (c *CcmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
- func (c *CcmClient) ExportCertificateAuthorityCertificate(request *model.ExportCertificateAuthorityCertificateRequest) (*model.ExportCertificateAuthorityCertificateResponse, error)
- func (c *CcmClient) ExportCertificateAuthorityCertificateInvoker(request *model.ExportCertificateAuthorityCertificateRequest) *ExportCertificateAuthorityCertificateInvoker
- func (c *CcmClient) ExportCertificateAuthorityCsr(request *model.ExportCertificateAuthorityCsrRequest) (*model.ExportCertificateAuthorityCsrResponse, error)
- func (c *CcmClient) ExportCertificateAuthorityCsrInvoker(request *model.ExportCertificateAuthorityCsrRequest) *ExportCertificateAuthorityCsrInvoker
- func (c *CcmClient) ExportCertificateInvoker(request *model.ExportCertificateRequest) *ExportCertificateInvoker
- func (c *CcmClient) ImportCertificateAuthorityCertificate(request *model.ImportCertificateAuthorityCertificateRequest) (*model.ImportCertificateAuthorityCertificateResponse, error)
- func (c *CcmClient) ImportCertificateAuthorityCertificateInvoker(request *model.ImportCertificateAuthorityCertificateRequest) *ImportCertificateAuthorityCertificateInvoker
- func (c *CcmClient) IssueCertificateAuthorityCertificate(request *model.IssueCertificateAuthorityCertificateRequest) (*model.IssueCertificateAuthorityCertificateResponse, error)
- func (c *CcmClient) IssueCertificateAuthorityCertificateInvoker(request *model.IssueCertificateAuthorityCertificateRequest) *IssueCertificateAuthorityCertificateInvoker
- func (c *CcmClient) ListCertificate(request *model.ListCertificateRequest) (*model.ListCertificateResponse, error)
- func (c *CcmClient) ListCertificateAuthority(request *model.ListCertificateAuthorityRequest) (*model.ListCertificateAuthorityResponse, error)
- func (c *CcmClient) ListCertificateAuthorityInvoker(request *model.ListCertificateAuthorityRequest) *ListCertificateAuthorityInvoker
- func (c *CcmClient) ListCertificateAuthorityObsBucket(request *model.ListCertificateAuthorityObsBucketRequest) (*model.ListCertificateAuthorityObsBucketResponse, error)
- func (c *CcmClient) ListCertificateAuthorityObsBucketInvoker(request *model.ListCertificateAuthorityObsBucketRequest) *ListCertificateAuthorityObsBucketInvoker
- func (c *CcmClient) ListCertificateInvoker(request *model.ListCertificateRequest) *ListCertificateInvoker
- func (c *CcmClient) ParseCertificateSigningRequest(request *model.ParseCertificateSigningRequestRequest) (*model.ParseCertificateSigningRequestResponse, error)
- func (c *CcmClient) ParseCertificateSigningRequestInvoker(request *model.ParseCertificateSigningRequestRequest) *ParseCertificateSigningRequestInvoker
- func (c *CcmClient) RestoreCertificateAuthority(request *model.RestoreCertificateAuthorityRequest) (*model.RestoreCertificateAuthorityResponse, error)
- func (c *CcmClient) RestoreCertificateAuthorityInvoker(request *model.RestoreCertificateAuthorityRequest) *RestoreCertificateAuthorityInvoker
- func (c *CcmClient) RevokeCertificate(request *model.RevokeCertificateRequest) (*model.RevokeCertificateResponse, error)
- func (c *CcmClient) RevokeCertificateAuthority(request *model.RevokeCertificateAuthorityRequest) (*model.RevokeCertificateAuthorityResponse, error)
- func (c *CcmClient) RevokeCertificateAuthorityInvoker(request *model.RevokeCertificateAuthorityRequest) *RevokeCertificateAuthorityInvoker
- func (c *CcmClient) RevokeCertificateInvoker(request *model.RevokeCertificateRequest) *RevokeCertificateInvoker
- func (c *CcmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
- func (c *CcmClient) ShowCertificateAuthority(request *model.ShowCertificateAuthorityRequest) (*model.ShowCertificateAuthorityResponse, error)
- func (c *CcmClient) ShowCertificateAuthorityInvoker(request *model.ShowCertificateAuthorityRequest) *ShowCertificateAuthorityInvoker
- func (c *CcmClient) ShowCertificateAuthorityObsAgency(request *model.ShowCertificateAuthorityObsAgencyRequest) (*model.ShowCertificateAuthorityObsAgencyResponse, error)
- func (c *CcmClient) ShowCertificateAuthorityObsAgencyInvoker(request *model.ShowCertificateAuthorityObsAgencyRequest) *ShowCertificateAuthorityObsAgencyInvoker
- func (c *CcmClient) ShowCertificateAuthorityQuota(request *model.ShowCertificateAuthorityQuotaRequest) (*model.ShowCertificateAuthorityQuotaResponse, error)
- func (c *CcmClient) ShowCertificateAuthorityQuotaInvoker(request *model.ShowCertificateAuthorityQuotaRequest) *ShowCertificateAuthorityQuotaInvoker
- func (c *CcmClient) ShowCertificateInvoker(request *model.ShowCertificateRequest) *ShowCertificateInvoker
- func (c *CcmClient) ShowCertificateQuota(request *model.ShowCertificateQuotaRequest) (*model.ShowCertificateQuotaResponse, error)
- func (c *CcmClient) ShowCertificateQuotaInvoker(request *model.ShowCertificateQuotaRequest) *ShowCertificateQuotaInvoker
- type CreateCertificateAuthorityInvoker
- type CreateCertificateAuthorityObsAgencyInvoker
- type CreateCertificateByCsrInvoker
- type CreateCertificateInvoker
- type DeleteCertificateAuthorityInvoker
- type DeleteCertificateInvoker
- type DisableCertificateAuthorityCrlInvoker
- type DisableCertificateAuthorityInvoker
- type EnableCertificateAuthorityCrlInvoker
- type EnableCertificateAuthorityInvoker
- type ExportCertificateAuthorityCertificateInvoker
- type ExportCertificateAuthorityCsrInvoker
- type ExportCertificateInvoker
- type ImportCertificateAuthorityCertificateInvoker
- type IssueCertificateAuthorityCertificateInvoker
- type ListCertificateAuthorityInvoker
- type ListCertificateAuthorityObsBucketInvoker
- type ListCertificateInvoker
- type ParseCertificateSigningRequestInvoker
- type RestoreCertificateAuthorityInvoker
- type RevokeCertificateAuthorityInvoker
- type RevokeCertificateInvoker
- type ShowCertificateAuthorityInvoker
- type ShowCertificateAuthorityObsAgencyInvoker
- type ShowCertificateAuthorityQuotaInvoker
- type ShowCertificateInvoker
- type ShowCertificateQuotaInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CcmClientBuilder ¶
func CcmClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateCertificate ¶
func GenReqDefForCreateCertificate() *def.HttpRequestDef
func GenReqDefForCreateCertificateAuthority ¶
func GenReqDefForCreateCertificateAuthority() *def.HttpRequestDef
func GenReqDefForCreateCertificateAuthorityObsAgency ¶
func GenReqDefForCreateCertificateAuthorityObsAgency() *def.HttpRequestDef
func GenReqDefForCreateCertificateByCsr ¶
func GenReqDefForCreateCertificateByCsr() *def.HttpRequestDef
func GenReqDefForDeleteCertificate ¶
func GenReqDefForDeleteCertificate() *def.HttpRequestDef
func GenReqDefForDeleteCertificateAuthority ¶
func GenReqDefForDeleteCertificateAuthority() *def.HttpRequestDef
func GenReqDefForDisableCertificateAuthority ¶
func GenReqDefForDisableCertificateAuthority() *def.HttpRequestDef
func GenReqDefForDisableCertificateAuthorityCrl ¶ added in v0.1.23
func GenReqDefForDisableCertificateAuthorityCrl() *def.HttpRequestDef
func GenReqDefForEnableCertificateAuthority ¶
func GenReqDefForEnableCertificateAuthority() *def.HttpRequestDef
func GenReqDefForEnableCertificateAuthorityCrl ¶ added in v0.1.23
func GenReqDefForEnableCertificateAuthorityCrl() *def.HttpRequestDef
func GenReqDefForExportCertificate ¶
func GenReqDefForExportCertificate() *def.HttpRequestDef
func GenReqDefForExportCertificateAuthorityCertificate ¶
func GenReqDefForExportCertificateAuthorityCertificate() *def.HttpRequestDef
func GenReqDefForExportCertificateAuthorityCsr ¶
func GenReqDefForExportCertificateAuthorityCsr() *def.HttpRequestDef
func GenReqDefForImportCertificateAuthorityCertificate ¶
func GenReqDefForImportCertificateAuthorityCertificate() *def.HttpRequestDef
func GenReqDefForIssueCertificateAuthorityCertificate ¶
func GenReqDefForIssueCertificateAuthorityCertificate() *def.HttpRequestDef
func GenReqDefForListCertificate ¶
func GenReqDefForListCertificate() *def.HttpRequestDef
func GenReqDefForListCertificateAuthority ¶
func GenReqDefForListCertificateAuthority() *def.HttpRequestDef
func GenReqDefForListCertificateAuthorityObsBucket ¶
func GenReqDefForListCertificateAuthorityObsBucket() *def.HttpRequestDef
func GenReqDefForParseCertificateSigningRequest ¶
func GenReqDefForParseCertificateSigningRequest() *def.HttpRequestDef
func GenReqDefForRestoreCertificateAuthority ¶
func GenReqDefForRestoreCertificateAuthority() *def.HttpRequestDef
func GenReqDefForRevokeCertificate ¶
func GenReqDefForRevokeCertificate() *def.HttpRequestDef
func GenReqDefForRevokeCertificateAuthority ¶
func GenReqDefForRevokeCertificateAuthority() *def.HttpRequestDef
func GenReqDefForShowCertificate ¶
func GenReqDefForShowCertificate() *def.HttpRequestDef
func GenReqDefForShowCertificateAuthority ¶
func GenReqDefForShowCertificateAuthority() *def.HttpRequestDef
func GenReqDefForShowCertificateAuthorityObsAgency ¶
func GenReqDefForShowCertificateAuthorityObsAgency() *def.HttpRequestDef
func GenReqDefForShowCertificateAuthorityQuota ¶
func GenReqDefForShowCertificateAuthorityQuota() *def.HttpRequestDef
func GenReqDefForShowCertificateQuota ¶
func GenReqDefForShowCertificateQuota() *def.HttpRequestDef
Types ¶
type CcmClient ¶
type CcmClient struct {
HcClient *http_client.HcHttpClient
}
func NewCcmClient ¶
func NewCcmClient(hcClient *http_client.HcHttpClient) *CcmClient
func (*CcmClient) CreateCertificate ¶
func (c *CcmClient) CreateCertificate(request *model.CreateCertificateRequest) (*model.CreateCertificateResponse, error)
CreateCertificate 申请证书
申请证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) CreateCertificateAuthority ¶
func (c *CcmClient) CreateCertificateAuthority(request *model.CreateCertificateAuthorityRequest) (*model.CreateCertificateAuthorityResponse, error)
CreateCertificateAuthority 创建CA
创建CA,分以下三种情况: - 创建根CA,根据参数介绍中,填写必选值; - 创建从属CA,并需要直接激活该证书,根据参数介绍中,填写必选值; - 创建从属CA,不需要直接激活该证书,请求body中只需要缺少此三个参数之一即可:issuer_id、signature_algorithm、validity。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) CreateCertificateAuthorityInvoker ¶
func (c *CcmClient) CreateCertificateAuthorityInvoker(request *model.CreateCertificateAuthorityRequest) *CreateCertificateAuthorityInvoker
CreateCertificateAuthorityInvoker 创建CA
func (*CcmClient) CreateCertificateAuthorityObsAgency ¶
func (c *CcmClient) CreateCertificateAuthorityObsAgency(request *model.CreateCertificateAuthorityObsAgencyRequest) (*model.CreateCertificateAuthorityObsAgencyResponse, error)
CreateCertificateAuthorityObsAgency 创建委托
用户给PCA创建OBS委托授权,用于访问OBS桶,更新吊销列表。 > 用户所使用账号token需要具备安全管理员(secu_admin)权限。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) CreateCertificateAuthorityObsAgencyInvoker ¶
func (c *CcmClient) CreateCertificateAuthorityObsAgencyInvoker(request *model.CreateCertificateAuthorityObsAgencyRequest) *CreateCertificateAuthorityObsAgencyInvoker
CreateCertificateAuthorityObsAgencyInvoker 创建委托
func (*CcmClient) CreateCertificateByCsr ¶
func (c *CcmClient) CreateCertificateByCsr(request *model.CreateCertificateByCsrRequest) (*model.CreateCertificateByCsrResponse, error)
CreateCertificateByCsr 通过CSR签发证书
通过CSR签发证书。功能约束如下: - 1、当前默认参数如下:
- CA 默认参数:
- **keyUsage**: digitalSignature, keyCertSign, cRLSign,优先采用CSR中的参数;
- **SignatureHashAlgorithm**: SHA384;
- **PathLength**:0 (可自定义)。
- 私有证书:
- **keyUsage**: digitalSignature keyAgreement,优先采用CSR中的参数;
- **SignatureHashAlgorithm**: SHA384;
- 2、当传入的type为**INTERMEDIATE_CA**时,创建出的从属CA证书,有以下限制:
- 不占用CA配额。在查询CA列表时,不会返回该证书;
- 只支持通过以下两个接口获取其信息:
- GET /v1/private-certificate-authorities/{ca_id} 获取证书详情
- POST /v1/private-certificate-authorities/{ca_id}/export 导出证书
- 本接口返回的**certificate_id**即代表从属CA的**ca_id**;
- 无法用于签发证书,密钥在用户侧。
- 3、当type为**ENTITY_CERT**时,创建出的私有证书,有以下特点:
- 占用私有证书配额。在查询私有证书列表时,会返回该证书;
- 除了导出时不包含密钥信息(密钥在用户端),其余用法与其它私有证书一致。
> 注:需要使用“\\r\\n”或“\\n”代替换行符,将CSR转换成一串字符,可参考示例请求。注:目前,证书的组织信息、公钥算法以及公钥内容等均来自CSR文件,暂不支持API传入。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) CreateCertificateByCsrInvoker ¶
func (c *CcmClient) CreateCertificateByCsrInvoker(request *model.CreateCertificateByCsrRequest) *CreateCertificateByCsrInvoker
CreateCertificateByCsrInvoker 通过CSR签发证书
func (*CcmClient) CreateCertificateInvoker ¶
func (c *CcmClient) CreateCertificateInvoker(request *model.CreateCertificateRequest) *CreateCertificateInvoker
CreateCertificateInvoker 申请证书
func (*CcmClient) DeleteCertificate ¶
func (c *CcmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
DeleteCertificate 删除证书
删除证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) DeleteCertificateAuthority ¶
func (c *CcmClient) DeleteCertificateAuthority(request *model.DeleteCertificateAuthorityRequest) (*model.DeleteCertificateAuthorityResponse, error)
DeleteCertificateAuthority 删除CA
计划删除CA。计划多少天后删除CA证书,可设置7天~30天内删除。 > 只有当证书状态为”待激活“或”已禁用“状态时,才可删除。”待激活“状态下,将会立即删除证书,不支持延迟删除。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) DeleteCertificateAuthorityInvoker ¶
func (c *CcmClient) DeleteCertificateAuthorityInvoker(request *model.DeleteCertificateAuthorityRequest) *DeleteCertificateAuthorityInvoker
DeleteCertificateAuthorityInvoker 删除CA
func (*CcmClient) DeleteCertificateInvoker ¶
func (c *CcmClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker
DeleteCertificateInvoker 删除证书
func (*CcmClient) DisableCertificateAuthority ¶
func (c *CcmClient) DisableCertificateAuthority(request *model.DisableCertificateAuthorityRequest) (*model.DisableCertificateAuthorityResponse, error)
DisableCertificateAuthority 禁用CA
禁用CA。 > 只有当证书处于\"已激活\"或\"已过期\"状态时,可进行禁用操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) DisableCertificateAuthorityCrl ¶ added in v0.1.23
func (c *CcmClient) DisableCertificateAuthorityCrl(request *model.DisableCertificateAuthorityCrlRequest) (*model.DisableCertificateAuthorityCrlResponse, error)
DisableCertificateAuthorityCrl 禁用CRL
禁用当前CA的CRL。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) DisableCertificateAuthorityCrlInvoker ¶ added in v0.1.23
func (c *CcmClient) DisableCertificateAuthorityCrlInvoker(request *model.DisableCertificateAuthorityCrlRequest) *DisableCertificateAuthorityCrlInvoker
DisableCertificateAuthorityCrlInvoker 禁用CRL
func (*CcmClient) DisableCertificateAuthorityInvoker ¶
func (c *CcmClient) DisableCertificateAuthorityInvoker(request *model.DisableCertificateAuthorityRequest) *DisableCertificateAuthorityInvoker
DisableCertificateAuthorityInvoker 禁用CA
func (*CcmClient) EnableCertificateAuthority ¶
func (c *CcmClient) EnableCertificateAuthority(request *model.EnableCertificateAuthorityRequest) (*model.EnableCertificateAuthorityResponse, error)
EnableCertificateAuthority 启用CA
启用CA。 > 注:只有当证书处于\"已禁用\"状态时,可进行启用操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) EnableCertificateAuthorityCrl ¶ added in v0.1.23
func (c *CcmClient) EnableCertificateAuthorityCrl(request *model.EnableCertificateAuthorityCrlRequest) (*model.EnableCertificateAuthorityCrlResponse, error)
EnableCertificateAuthorityCrl 启用CRL
启用当前CA的CRL。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) EnableCertificateAuthorityCrlInvoker ¶ added in v0.1.23
func (c *CcmClient) EnableCertificateAuthorityCrlInvoker(request *model.EnableCertificateAuthorityCrlRequest) *EnableCertificateAuthorityCrlInvoker
EnableCertificateAuthorityCrlInvoker 启用CRL
func (*CcmClient) EnableCertificateAuthorityInvoker ¶
func (c *CcmClient) EnableCertificateAuthorityInvoker(request *model.EnableCertificateAuthorityRequest) *EnableCertificateAuthorityInvoker
EnableCertificateAuthorityInvoker 启用CA
func (*CcmClient) ExportCertificate ¶
func (c *CcmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
ExportCertificate 导出证书
导出证书。
- 国际算法
- 选择是否压缩时,分以下两种情况:
- is_compressed为true时,返回文件压缩包,命名为:证书名称_type字段小写字母.zip,如”test_apache.zip“。
- 系统生成密钥签发证书
- type = \"**APACHE**\"时,压缩包中包含三个文件:**server.key**(密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**chain.crt**(证书链,内容为PEM格式)、**server.crt**(证书,内容为PEM格式);
- type = \"**IIS**\"时,压缩包中包含两个文件:**keystorePass.txt**(keystore口令,若导出证书时设置密码,则无此密码文件)、**server.pfx**(PFX证书,证书与证书链包含在同一个文件);
- type = \"**NGINX**\"时,压缩包中包含两个文件:**server.key**(密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**server.crt**(内容为PEM格式,证书与证书链包含在同一个文件);
- type = \"**TOMCAT**\"时,压缩包中包含两个文件:**keystorePass.txt**(keystore口令,若导出证书时设置密码,则无此密码文件)、**server.jks**(JKX证书,证书与证书链包含在同一个文件);
- type = \"**OTHER**\"时,压缩包中包含三个文件:**server.key**(密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**chain.pem**(证书链)、**server.pem**(证书)。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**TOMCAT**\"时,压缩包中包含两个文件:**chain.crt**(证书链,内容为PEM格式)、**server.crt**(证书,内容为PEM格式);
- type = \"**NGINX**\"时,压缩包中包含一个文件:**server.crt**(证书,内容为PEM格式);
- type = \"**OTHER**\"时,压缩包中包含两个文件:**chain.pem**(证书链,内容为PEM格式)、**cert.pem**(证书,内容为PEM格式)。
- is_compressed为false时,返回json格式,返回的具体参数如下:
- 系统生成密钥签发证书
- type = \"**APACHE**\"或\"**NGINX**\"或\"**OTHER**\"时,返回参数如下:
- **certificate**(证书内容,PEM格式);
- **certificate_chain**(证书链,PEM格式);
- **private_key**(证书私钥,PEM格式,若导出证书时设置密码,则为加密后的私钥);
- type = \"**IIS**\"或\"**TOMCAT**\"时,暂时未定义。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**NGINX**\"或\"**IIS**\"或\"**TOMCAT**\"或\"**OTHER**\"时,返回参数如下:
- **certificate**(证书内容,PEM格式);
- **certificate_chain**(证书链,PEM格式);
- 国密算法(中国站)
- 选择是否压缩和是否国密标准时,分以下四种情况:
- is_compressed为true、is_sm_standard为true时,返回文件压缩包,命名为:证书名称_type字段小写字母.zip,如”test_apache.zip“。
- 系统生成密钥签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,压缩包中包含五个文件:**chain.pem**(证书链,内容为PEM格式)、**signCert.key**(签名证书密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**signCert.pem**(签名证书,内容为PEM格式)、**encSm2EnvelopedKey.key**(加密证书的国密标准SM2数字信封文件,内容为BASE64编码)、**encCert.pem**(加密证书,内容为PEM格式)。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,压缩包中包含四个文件:**chain.pem**(证书链,内容为PEM格式)、**signCert.pem**(签名证书,内容为PEM格式)、**encSm2EnvelopedKey.key**(加密证书的国密标准SM2数字信封文件,内容为BASE64编码)、**encCert.pem**(加密证书,内容为PEM格式)。
- is_compressed为true、is_sm_standard为false时,返回文件压缩包,命名为:证书名称_type字段小写字母.zip,如”test_apache.zip“。
- 系统生成密钥签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,压缩包中包含五个文件:**chain.pem**(证书链,内容为PEM格式)、**signCert.key**(签名证书密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**signCert.pem**(签名证书,内容为PEM格式)、**encCert.key**(加密证书密钥文件,内容为PEM格式,若导出证书时设置密码,则为加密后的私钥)、**encCert.pem**(加密证书,内容为PEM格式)。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,压缩包中包含四个文件:**chain.pem**(证书链,内容为PEM格式)、**signCert.pem**(签名证书,内容为PEM格式)、**encCert.key**(加密证书密钥文件,内容为PEM格式)、**encCert.pem**(加密证书,内容为PEM格式)。
- is_compressed为false、is_sm_standard为true时,返回json格式,返回的具体参数如下:
- 系统生成密钥签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,返回参数如下:
- **certificate_chain**(证书链,PEM格式);
- **certificate**(签名证书内容,PEM格式);
- **private_key**(签名证书私钥,PEM格式,若导出证书时设置密码,则为加密后的私钥);
- **enc_certificate**(加密证书内容,PEM格式);
- **enc_sm2_enveloped_key**(加密证书的国密GMT0009标准规范SM2数字信封文件,BASE64编码)。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,返回参数如下:
- **certificate_chain**(证书链,PEM格式);
- **certificate**(签名证书内容,PEM格式);
- **enc_certificate**(加密证书内容,PEM格式);
- **enc_sm2_enveloped_key**(加密证书的国密GMT0009标准规范SM2数字信封文件,BASE64编码)。
- is_compressed为false、is_sm_standard为false时,返回json格式,返回的具体参数如下:
- 系统生成密钥签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,返回参数如下:
- **certificate_chain**(证书链,PEM格式);
- **certificate**(签名证书内容,PEM格式);
- **private_key**(签名证书私钥,PEM格式,若导出证书时设置密码,则为加密后的私钥);
- **enc_certificate**(加密证书内容,PEM格式);
- **enc_private_key**(加密证书私钥,PEM格式,若导出证书时设置密码,则为加密后的私钥)。
- 导入CSR签发证书
- type = \"**APACHE**\"或\"**IIS**\"或\"**NGINX**\"或\"**TOMCAT**\"时,暂时未定义;
- type = \"**OTHER**\"时,返回参数如下:
- **certificate_chain**(证书链,PEM格式);
- **certificate**(签名证书内容,PEM格式);
- **enc_certificate**(加密证书内容,PEM格式);
- **enc_private_key**(加密证书私钥,PEM格式)。
> 只有当证书状态为“已签发”时,可进行导出操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ExportCertificateAuthorityCertificate ¶
func (c *CcmClient) ExportCertificateAuthorityCertificate(request *model.ExportCertificateAuthorityCertificateRequest) (*model.ExportCertificateAuthorityCertificateResponse, error)
ExportCertificateAuthorityCertificate 导出CA证书
导出CA证书。 > 注:只有当证书处于\"已激活\"或\"已过期\"时,可进行导出操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ExportCertificateAuthorityCertificateInvoker ¶
func (c *CcmClient) ExportCertificateAuthorityCertificateInvoker(request *model.ExportCertificateAuthorityCertificateRequest) *ExportCertificateAuthorityCertificateInvoker
ExportCertificateAuthorityCertificateInvoker 导出CA证书
func (*CcmClient) ExportCertificateAuthorityCsr ¶
func (c *CcmClient) ExportCertificateAuthorityCsr(request *model.ExportCertificateAuthorityCsrRequest) (*model.ExportCertificateAuthorityCsrResponse, error)
ExportCertificateAuthorityCsr 导出CA的证书签名请求(CSR)
导出CA的证书签名请求。 > 只有当CA处于\"待激活\"状态时,可导出证书签名请求。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ExportCertificateAuthorityCsrInvoker ¶
func (c *CcmClient) ExportCertificateAuthorityCsrInvoker(request *model.ExportCertificateAuthorityCsrRequest) *ExportCertificateAuthorityCsrInvoker
ExportCertificateAuthorityCsrInvoker 导出CA的证书签名请求(CSR)
func (*CcmClient) ExportCertificateInvoker ¶
func (c *CcmClient) ExportCertificateInvoker(request *model.ExportCertificateRequest) *ExportCertificateInvoker
ExportCertificateInvoker 导出证书
func (*CcmClient) ImportCertificateAuthorityCertificate ¶
func (c *CcmClient) ImportCertificateAuthorityCertificate(request *model.ImportCertificateAuthorityCertificateRequest) (*model.ImportCertificateAuthorityCertificateResponse, error)
ImportCertificateAuthorityCertificate 导入CA证书
导入CA证书,使用本接口需要满足以下条件:
- (1)证书为“待激活”状态的从属CA;
- (2)导入的证书体必须满足以下条件:
- a、该证书被签发时的证书签名请求必须是从PCA系统中导出;
- b、其证书链虽然允许不上传,但后期若想要导出完整的证书链,应导入完整的证书链;
- c、证书体与证书链必须为PEM编码。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ImportCertificateAuthorityCertificateInvoker ¶
func (c *CcmClient) ImportCertificateAuthorityCertificateInvoker(request *model.ImportCertificateAuthorityCertificateRequest) *ImportCertificateAuthorityCertificateInvoker
ImportCertificateAuthorityCertificateInvoker 导入CA证书
func (*CcmClient) IssueCertificateAuthorityCertificate ¶
func (c *CcmClient) IssueCertificateAuthorityCertificate(request *model.IssueCertificateAuthorityCertificateRequest) (*model.IssueCertificateAuthorityCertificateResponse, error)
IssueCertificateAuthorityCertificate 激活CA
激活CA。 > 只有当证书处于\"待激活\"状态时,可进行激活操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) IssueCertificateAuthorityCertificateInvoker ¶
func (c *CcmClient) IssueCertificateAuthorityCertificateInvoker(request *model.IssueCertificateAuthorityCertificateRequest) *IssueCertificateAuthorityCertificateInvoker
IssueCertificateAuthorityCertificateInvoker 激活CA
func (*CcmClient) ListCertificate ¶
func (c *CcmClient) ListCertificate(request *model.ListCertificateRequest) (*model.ListCertificateResponse, error)
ListCertificate 查询私有证书列表
查询私有证书列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ListCertificateAuthority ¶
func (c *CcmClient) ListCertificateAuthority(request *model.ListCertificateAuthorityRequest) (*model.ListCertificateAuthorityResponse, error)
ListCertificateAuthority 查询CA列表
查询CA列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ListCertificateAuthorityInvoker ¶
func (c *CcmClient) ListCertificateAuthorityInvoker(request *model.ListCertificateAuthorityRequest) *ListCertificateAuthorityInvoker
ListCertificateAuthorityInvoker 查询CA列表
func (*CcmClient) ListCertificateAuthorityObsBucket ¶
func (c *CcmClient) ListCertificateAuthorityObsBucket(request *model.ListCertificateAuthorityObsBucketRequest) (*model.ListCertificateAuthorityObsBucketResponse, error)
ListCertificateAuthorityObsBucket 查询OBS桶列表
查询OBS桶列表。 > 只有用户创建了委托授权,方可使用此接口。创建委托授权参见本文档:**证书吊销处理>创建委托**。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ListCertificateAuthorityObsBucketInvoker ¶
func (c *CcmClient) ListCertificateAuthorityObsBucketInvoker(request *model.ListCertificateAuthorityObsBucketRequest) *ListCertificateAuthorityObsBucketInvoker
ListCertificateAuthorityObsBucketInvoker 查询OBS桶列表
func (*CcmClient) ListCertificateInvoker ¶
func (c *CcmClient) ListCertificateInvoker(request *model.ListCertificateRequest) *ListCertificateInvoker
ListCertificateInvoker 查询私有证书列表
func (*CcmClient) ParseCertificateSigningRequest ¶
func (c *CcmClient) ParseCertificateSigningRequest(request *model.ParseCertificateSigningRequestRequest) (*model.ParseCertificateSigningRequestResponse, error)
ParseCertificateSigningRequest 解析CSR
解析CSR。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ParseCertificateSigningRequestInvoker ¶
func (c *CcmClient) ParseCertificateSigningRequestInvoker(request *model.ParseCertificateSigningRequestRequest) *ParseCertificateSigningRequestInvoker
ParseCertificateSigningRequestInvoker 解析CSR
func (*CcmClient) RestoreCertificateAuthority ¶
func (c *CcmClient) RestoreCertificateAuthority(request *model.RestoreCertificateAuthorityRequest) (*model.RestoreCertificateAuthorityResponse, error)
RestoreCertificateAuthority 恢复CA
恢复CA,将处于“计划删除”状态的CA证书,重新恢复为“已禁用”状态。 > 注:只有处于“计划删除”状态的CA证书,才可进行恢复操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) RestoreCertificateAuthorityInvoker ¶
func (c *CcmClient) RestoreCertificateAuthorityInvoker(request *model.RestoreCertificateAuthorityRequest) *RestoreCertificateAuthorityInvoker
RestoreCertificateAuthorityInvoker 恢复CA
func (*CcmClient) RevokeCertificate ¶
func (c *CcmClient) RevokeCertificate(request *model.RevokeCertificateRequest) (*model.RevokeCertificateResponse, error)
RevokeCertificate 吊销证书
吊销证书。 > 注:当不想填写吊销理由时,请求body体请置为\"**{}**\",否则将会报错。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) RevokeCertificateAuthority ¶
func (c *CcmClient) RevokeCertificateAuthority(request *model.RevokeCertificateAuthorityRequest) (*model.RevokeCertificateAuthorityResponse, error)
RevokeCertificateAuthority 吊销CA
吊销子CA。 > 注:当不想填写吊销理由时,请求body体请置为\"**{}**\",否则将会报错。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) RevokeCertificateAuthorityInvoker ¶
func (c *CcmClient) RevokeCertificateAuthorityInvoker(request *model.RevokeCertificateAuthorityRequest) *RevokeCertificateAuthorityInvoker
RevokeCertificateAuthorityInvoker 吊销CA
func (*CcmClient) RevokeCertificateInvoker ¶
func (c *CcmClient) RevokeCertificateInvoker(request *model.RevokeCertificateRequest) *RevokeCertificateInvoker
RevokeCertificateInvoker 吊销证书
func (*CcmClient) ShowCertificate ¶
func (c *CcmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
ShowCertificate 查询证书详情
查询证书详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ShowCertificateAuthority ¶
func (c *CcmClient) ShowCertificateAuthority(request *model.ShowCertificateAuthorityRequest) (*model.ShowCertificateAuthorityResponse, error)
ShowCertificateAuthority 查询CA详情
查询CA详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ShowCertificateAuthorityInvoker ¶
func (c *CcmClient) ShowCertificateAuthorityInvoker(request *model.ShowCertificateAuthorityRequest) *ShowCertificateAuthorityInvoker
ShowCertificateAuthorityInvoker 查询CA详情
func (*CcmClient) ShowCertificateAuthorityObsAgency ¶
func (c *CcmClient) ShowCertificateAuthorityObsAgency(request *model.ShowCertificateAuthorityObsAgencyRequest) (*model.ShowCertificateAuthorityObsAgencyResponse, error)
ShowCertificateAuthorityObsAgency 查看是否具有委托权限
查看是否具有委托权限。 > 用户所使用账号token需要具备安全管理员(secu_admin)权限。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ShowCertificateAuthorityObsAgencyInvoker ¶
func (c *CcmClient) ShowCertificateAuthorityObsAgencyInvoker(request *model.ShowCertificateAuthorityObsAgencyRequest) *ShowCertificateAuthorityObsAgencyInvoker
ShowCertificateAuthorityObsAgencyInvoker 查看是否具有委托权限
func (*CcmClient) ShowCertificateAuthorityQuota ¶
func (c *CcmClient) ShowCertificateAuthorityQuota(request *model.ShowCertificateAuthorityQuotaRequest) (*model.ShowCertificateAuthorityQuotaResponse, error)
ShowCertificateAuthorityQuota 查询CA配额
查询CA证书配额。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ShowCertificateAuthorityQuotaInvoker ¶
func (c *CcmClient) ShowCertificateAuthorityQuotaInvoker(request *model.ShowCertificateAuthorityQuotaRequest) *ShowCertificateAuthorityQuotaInvoker
ShowCertificateAuthorityQuotaInvoker 查询CA配额
func (*CcmClient) ShowCertificateInvoker ¶
func (c *CcmClient) ShowCertificateInvoker(request *model.ShowCertificateRequest) *ShowCertificateInvoker
ShowCertificateInvoker 查询证书详情
func (*CcmClient) ShowCertificateQuota ¶
func (c *CcmClient) ShowCertificateQuota(request *model.ShowCertificateQuotaRequest) (*model.ShowCertificateQuotaResponse, error)
ShowCertificateQuota 查询私有证书配额
查询私有证书配额。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcmClient) ShowCertificateQuotaInvoker ¶
func (c *CcmClient) ShowCertificateQuotaInvoker(request *model.ShowCertificateQuotaRequest) *ShowCertificateQuotaInvoker
ShowCertificateQuotaInvoker 查询私有证书配额
type CreateCertificateAuthorityInvoker ¶
type CreateCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*CreateCertificateAuthorityInvoker) Invoke ¶
func (i *CreateCertificateAuthorityInvoker) Invoke() (*model.CreateCertificateAuthorityResponse, error)
type CreateCertificateAuthorityObsAgencyInvoker ¶
type CreateCertificateAuthorityObsAgencyInvoker struct {
*invoker.BaseInvoker
}
func (*CreateCertificateAuthorityObsAgencyInvoker) Invoke ¶
func (i *CreateCertificateAuthorityObsAgencyInvoker) Invoke() (*model.CreateCertificateAuthorityObsAgencyResponse, error)
type CreateCertificateByCsrInvoker ¶
type CreateCertificateByCsrInvoker struct {
*invoker.BaseInvoker
}
func (*CreateCertificateByCsrInvoker) Invoke ¶
func (i *CreateCertificateByCsrInvoker) Invoke() (*model.CreateCertificateByCsrResponse, error)
type CreateCertificateInvoker ¶
type CreateCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*CreateCertificateInvoker) Invoke ¶
func (i *CreateCertificateInvoker) Invoke() (*model.CreateCertificateResponse, error)
type DeleteCertificateAuthorityInvoker ¶
type DeleteCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteCertificateAuthorityInvoker) Invoke ¶
func (i *DeleteCertificateAuthorityInvoker) Invoke() (*model.DeleteCertificateAuthorityResponse, error)
type DeleteCertificateInvoker ¶
type DeleteCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteCertificateInvoker) Invoke ¶
func (i *DeleteCertificateInvoker) Invoke() (*model.DeleteCertificateResponse, error)
type DisableCertificateAuthorityCrlInvoker ¶ added in v0.1.23
type DisableCertificateAuthorityCrlInvoker struct {
*invoker.BaseInvoker
}
func (*DisableCertificateAuthorityCrlInvoker) Invoke ¶ added in v0.1.23
func (i *DisableCertificateAuthorityCrlInvoker) Invoke() (*model.DisableCertificateAuthorityCrlResponse, error)
type DisableCertificateAuthorityInvoker ¶
type DisableCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*DisableCertificateAuthorityInvoker) Invoke ¶
func (i *DisableCertificateAuthorityInvoker) Invoke() (*model.DisableCertificateAuthorityResponse, error)
type EnableCertificateAuthorityCrlInvoker ¶ added in v0.1.23
type EnableCertificateAuthorityCrlInvoker struct {
*invoker.BaseInvoker
}
func (*EnableCertificateAuthorityCrlInvoker) Invoke ¶ added in v0.1.23
func (i *EnableCertificateAuthorityCrlInvoker) Invoke() (*model.EnableCertificateAuthorityCrlResponse, error)
type EnableCertificateAuthorityInvoker ¶
type EnableCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*EnableCertificateAuthorityInvoker) Invoke ¶
func (i *EnableCertificateAuthorityInvoker) Invoke() (*model.EnableCertificateAuthorityResponse, error)
type ExportCertificateAuthorityCertificateInvoker ¶
type ExportCertificateAuthorityCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ExportCertificateAuthorityCertificateInvoker) Invoke ¶
func (i *ExportCertificateAuthorityCertificateInvoker) Invoke() (*model.ExportCertificateAuthorityCertificateResponse, error)
type ExportCertificateAuthorityCsrInvoker ¶
type ExportCertificateAuthorityCsrInvoker struct {
*invoker.BaseInvoker
}
func (*ExportCertificateAuthorityCsrInvoker) Invoke ¶
func (i *ExportCertificateAuthorityCsrInvoker) Invoke() (*model.ExportCertificateAuthorityCsrResponse, error)
type ExportCertificateInvoker ¶
type ExportCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ExportCertificateInvoker) Invoke ¶
func (i *ExportCertificateInvoker) Invoke() (*model.ExportCertificateResponse, error)
type ImportCertificateAuthorityCertificateInvoker ¶
type ImportCertificateAuthorityCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ImportCertificateAuthorityCertificateInvoker) Invoke ¶
func (i *ImportCertificateAuthorityCertificateInvoker) Invoke() (*model.ImportCertificateAuthorityCertificateResponse, error)
type IssueCertificateAuthorityCertificateInvoker ¶
type IssueCertificateAuthorityCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*IssueCertificateAuthorityCertificateInvoker) Invoke ¶
func (i *IssueCertificateAuthorityCertificateInvoker) Invoke() (*model.IssueCertificateAuthorityCertificateResponse, error)
type ListCertificateAuthorityInvoker ¶
type ListCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*ListCertificateAuthorityInvoker) Invoke ¶
func (i *ListCertificateAuthorityInvoker) Invoke() (*model.ListCertificateAuthorityResponse, error)
type ListCertificateAuthorityObsBucketInvoker ¶
type ListCertificateAuthorityObsBucketInvoker struct {
*invoker.BaseInvoker
}
func (*ListCertificateAuthorityObsBucketInvoker) Invoke ¶
func (i *ListCertificateAuthorityObsBucketInvoker) Invoke() (*model.ListCertificateAuthorityObsBucketResponse, error)
type ListCertificateInvoker ¶
type ListCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ListCertificateInvoker) Invoke ¶
func (i *ListCertificateInvoker) Invoke() (*model.ListCertificateResponse, error)
type ParseCertificateSigningRequestInvoker ¶
type ParseCertificateSigningRequestInvoker struct {
*invoker.BaseInvoker
}
func (*ParseCertificateSigningRequestInvoker) Invoke ¶
func (i *ParseCertificateSigningRequestInvoker) Invoke() (*model.ParseCertificateSigningRequestResponse, error)
type RestoreCertificateAuthorityInvoker ¶
type RestoreCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*RestoreCertificateAuthorityInvoker) Invoke ¶
func (i *RestoreCertificateAuthorityInvoker) Invoke() (*model.RestoreCertificateAuthorityResponse, error)
type RevokeCertificateAuthorityInvoker ¶
type RevokeCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*RevokeCertificateAuthorityInvoker) Invoke ¶
func (i *RevokeCertificateAuthorityInvoker) Invoke() (*model.RevokeCertificateAuthorityResponse, error)
type RevokeCertificateInvoker ¶
type RevokeCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*RevokeCertificateInvoker) Invoke ¶
func (i *RevokeCertificateInvoker) Invoke() (*model.RevokeCertificateResponse, error)
type ShowCertificateAuthorityInvoker ¶
type ShowCertificateAuthorityInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateAuthorityInvoker) Invoke ¶
func (i *ShowCertificateAuthorityInvoker) Invoke() (*model.ShowCertificateAuthorityResponse, error)
type ShowCertificateAuthorityObsAgencyInvoker ¶
type ShowCertificateAuthorityObsAgencyInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateAuthorityObsAgencyInvoker) Invoke ¶
func (i *ShowCertificateAuthorityObsAgencyInvoker) Invoke() (*model.ShowCertificateAuthorityObsAgencyResponse, error)
type ShowCertificateAuthorityQuotaInvoker ¶
type ShowCertificateAuthorityQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateAuthorityQuotaInvoker) Invoke ¶
func (i *ShowCertificateAuthorityQuotaInvoker) Invoke() (*model.ShowCertificateAuthorityQuotaResponse, error)
type ShowCertificateInvoker ¶
type ShowCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateInvoker) Invoke ¶
func (i *ShowCertificateInvoker) Invoke() (*model.ShowCertificateResponse, error)
type ShowCertificateQuotaInvoker ¶
type ShowCertificateQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateQuotaInvoker) Invoke ¶
func (i *ShowCertificateQuotaInvoker) Invoke() (*model.ShowCertificateQuotaResponse, error)