Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) CreateClientCertificate(request *CreateClientCertificateRequest) (_result *CreateClientCertificateResponse, _err error)
- func (client *Client) CreateClientCertificateWithCsr(request *CreateClientCertificateWithCsrRequest) (_result *CreateClientCertificateWithCsrResponse, _err error)
- func (client *Client) CreateClientCertificateWithCsrWithOptions(request *CreateClientCertificateWithCsrRequest, runtime *util.RuntimeOptions) (_result *CreateClientCertificateWithCsrResponse, _err error)
- func (client *Client) CreateClientCertificateWithOptions(request *CreateClientCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateClientCertificateResponse, _err error)
- func (client *Client) CreateCustomCertificate(request *CreateCustomCertificateRequest) (_result *CreateCustomCertificateResponse, _err error)
- func (client *Client) CreateCustomCertificateWithOptions(request *CreateCustomCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateCustomCertificateResponse, _err error)
- func (client *Client) CreateRevokeClientCertificate(request *CreateRevokeClientCertificateRequest) (_result *CreateRevokeClientCertificateResponse, _err error)
- func (client *Client) CreateRevokeClientCertificateWithOptions(request *CreateRevokeClientCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateRevokeClientCertificateResponse, _err error)
- func (client *Client) CreateRootCACertificate(request *CreateRootCACertificateRequest) (_result *CreateRootCACertificateResponse, _err error)
- func (client *Client) CreateRootCACertificateWithOptions(request *CreateRootCACertificateRequest, runtime *util.RuntimeOptions) (_result *CreateRootCACertificateResponse, _err error)
- func (client *Client) CreateServerCertificate(request *CreateServerCertificateRequest) (_result *CreateServerCertificateResponse, _err error)
- func (client *Client) CreateServerCertificateWithCsr(request *CreateServerCertificateWithCsrRequest) (_result *CreateServerCertificateWithCsrResponse, _err error)
- func (client *Client) CreateServerCertificateWithCsrWithOptions(request *CreateServerCertificateWithCsrRequest, runtime *util.RuntimeOptions) (_result *CreateServerCertificateWithCsrResponse, _err error)
- func (client *Client) CreateServerCertificateWithOptions(request *CreateServerCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateServerCertificateResponse, _err error)
- func (client *Client) CreateSubCACertificate(request *CreateSubCACertificateRequest) (_result *CreateSubCACertificateResponse, _err error)
- func (client *Client) CreateSubCACertificateWithOptions(request *CreateSubCACertificateRequest, runtime *util.RuntimeOptions) (_result *CreateSubCACertificateResponse, _err error)
- func (client *Client) DeleteClientCertificate(request *DeleteClientCertificateRequest) (_result *DeleteClientCertificateResponse, _err error)
- func (client *Client) DeleteClientCertificateWithOptions(request *DeleteClientCertificateRequest, runtime *util.RuntimeOptions) (_result *DeleteClientCertificateResponse, _err error)
- func (client *Client) DescribeCACertificate(request *DescribeCACertificateRequest) (_result *DescribeCACertificateResponse, _err error)
- func (client *Client) DescribeCACertificateCount() (_result *DescribeCACertificateCountResponse, _err error)
- func (client *Client) DescribeCACertificateCountWithOptions(runtime *util.RuntimeOptions) (_result *DescribeCACertificateCountResponse, _err error)
- func (client *Client) DescribeCACertificateList(request *DescribeCACertificateListRequest) (_result *DescribeCACertificateListResponse, _err error)
- func (client *Client) DescribeCACertificateListWithOptions(request *DescribeCACertificateListRequest, runtime *util.RuntimeOptions) (_result *DescribeCACertificateListResponse, _err error)
- func (client *Client) DescribeCACertificateWithOptions(request *DescribeCACertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeCACertificateResponse, _err error)
- func (client *Client) DescribeCertificatePrivateKey(request *DescribeCertificatePrivateKeyRequest) (_result *DescribeCertificatePrivateKeyResponse, _err error)
- func (client *Client) DescribeCertificatePrivateKeyWithOptions(request *DescribeCertificatePrivateKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeCertificatePrivateKeyResponse, _err error)
- func (client *Client) DescribeClientCertificate(request *DescribeClientCertificateRequest) (_result *DescribeClientCertificateResponse, _err error)
- func (client *Client) DescribeClientCertificateStatus(request *DescribeClientCertificateStatusRequest) (_result *DescribeClientCertificateStatusResponse, _err error)
- func (client *Client) DescribeClientCertificateStatusWithOptions(request *DescribeClientCertificateStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeClientCertificateStatusResponse, _err error)
- func (client *Client) DescribeClientCertificateWithOptions(request *DescribeClientCertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeClientCertificateResponse, _err error)
- func (client *Client) GetCAInstanceStatus(request *GetCAInstanceStatusRequest) (_result *GetCAInstanceStatusResponse, _err error)
- func (client *Client) GetCAInstanceStatusWithOptions(request *GetCAInstanceStatusRequest, runtime *util.RuntimeOptions) (_result *GetCAInstanceStatusResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListClientCertificate(request *ListClientCertificateRequest) (_result *ListClientCertificateResponse, _err error)
- func (client *Client) ListClientCertificateWithOptions(request *ListClientCertificateRequest, runtime *util.RuntimeOptions) (_result *ListClientCertificateResponse, _err error)
- func (client *Client) ListRevokeCertificate(request *ListRevokeCertificateRequest) (_result *ListRevokeCertificateResponse, _err error)
- func (client *Client) ListRevokeCertificateWithOptions(request *ListRevokeCertificateRequest, runtime *util.RuntimeOptions) (_result *ListRevokeCertificateResponse, _err error)
- func (client *Client) UpdateCACertificateStatus(request *UpdateCACertificateStatusRequest) (_result *UpdateCACertificateStatusResponse, _err error)
- func (client *Client) UpdateCACertificateStatusWithOptions(request *UpdateCACertificateStatusRequest, runtime *util.RuntimeOptions) (_result *UpdateCACertificateStatusResponse, _err error)
- type CreateClientCertificateRequest
- func (s CreateClientCertificateRequest) GoString() string
- func (s *CreateClientCertificateRequest) SetAfterTime(v int64) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetAlgorithm(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetBeforeTime(v int64) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetCommonName(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetCountry(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetDays(v int32) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetEnableCrl(v int64) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetImmediately(v int32) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetLocality(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetMonths(v int32) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetOrganization(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetOrganizationUnit(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetParentIdentifier(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetSanType(v int32) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetSanValue(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetState(v string) *CreateClientCertificateRequest
- func (s *CreateClientCertificateRequest) SetYears(v int32) *CreateClientCertificateRequest
- func (s CreateClientCertificateRequest) String() string
- type CreateClientCertificateResponse
- func (s CreateClientCertificateResponse) GoString() string
- func (s *CreateClientCertificateResponse) SetBody(v *CreateClientCertificateResponseBody) *CreateClientCertificateResponse
- func (s *CreateClientCertificateResponse) SetHeaders(v map[string]*string) *CreateClientCertificateResponse
- func (s *CreateClientCertificateResponse) SetStatusCode(v int32) *CreateClientCertificateResponse
- func (s CreateClientCertificateResponse) String() string
- type CreateClientCertificateResponseBody
- func (s CreateClientCertificateResponseBody) GoString() string
- func (s *CreateClientCertificateResponseBody) SetCertificateChain(v string) *CreateClientCertificateResponseBody
- func (s *CreateClientCertificateResponseBody) SetIdentifier(v string) *CreateClientCertificateResponseBody
- func (s *CreateClientCertificateResponseBody) SetRequestId(v string) *CreateClientCertificateResponseBody
- func (s *CreateClientCertificateResponseBody) SetSerialNumber(v string) *CreateClientCertificateResponseBody
- func (s *CreateClientCertificateResponseBody) SetX509Certificate(v string) *CreateClientCertificateResponseBody
- func (s CreateClientCertificateResponseBody) String() string
- type CreateClientCertificateWithCsrRequest
- func (s CreateClientCertificateWithCsrRequest) GoString() string
- func (s *CreateClientCertificateWithCsrRequest) SetAfterTime(v int64) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetAlgorithm(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetBeforeTime(v int64) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetCommonName(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetCountry(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetCsr(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetDays(v int32) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetEnableCrl(v int64) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetImmediately(v int32) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetLocality(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetMonths(v int32) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetOrganization(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetOrganizationUnit(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetParentIdentifier(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetSanType(v int32) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetSanValue(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetState(v string) *CreateClientCertificateWithCsrRequest
- func (s *CreateClientCertificateWithCsrRequest) SetYears(v int32) *CreateClientCertificateWithCsrRequest
- func (s CreateClientCertificateWithCsrRequest) String() string
- type CreateClientCertificateWithCsrResponse
- func (s CreateClientCertificateWithCsrResponse) GoString() string
- func (s *CreateClientCertificateWithCsrResponse) SetBody(v *CreateClientCertificateWithCsrResponseBody) *CreateClientCertificateWithCsrResponse
- func (s *CreateClientCertificateWithCsrResponse) SetHeaders(v map[string]*string) *CreateClientCertificateWithCsrResponse
- func (s *CreateClientCertificateWithCsrResponse) SetStatusCode(v int32) *CreateClientCertificateWithCsrResponse
- func (s CreateClientCertificateWithCsrResponse) String() string
- type CreateClientCertificateWithCsrResponseBody
- func (s CreateClientCertificateWithCsrResponseBody) GoString() string
- func (s *CreateClientCertificateWithCsrResponseBody) SetCertificateChain(v string) *CreateClientCertificateWithCsrResponseBody
- func (s *CreateClientCertificateWithCsrResponseBody) SetIdentifier(v string) *CreateClientCertificateWithCsrResponseBody
- func (s *CreateClientCertificateWithCsrResponseBody) SetRequestId(v string) *CreateClientCertificateWithCsrResponseBody
- func (s *CreateClientCertificateWithCsrResponseBody) SetSerialNumber(v string) *CreateClientCertificateWithCsrResponseBody
- func (s *CreateClientCertificateWithCsrResponseBody) SetX509Certificate(v string) *CreateClientCertificateWithCsrResponseBody
- func (s CreateClientCertificateWithCsrResponseBody) String() string
- type CreateCustomCertificateRequest
- func (s CreateCustomCertificateRequest) GoString() string
- func (s *CreateCustomCertificateRequest) SetApiPassthrough(v *CreateCustomCertificateRequestApiPassthrough) *CreateCustomCertificateRequest
- func (s *CreateCustomCertificateRequest) SetCsr(v string) *CreateCustomCertificateRequest
- func (s *CreateCustomCertificateRequest) SetEnableCrl(v int64) *CreateCustomCertificateRequest
- func (s *CreateCustomCertificateRequest) SetImmediately(v int32) *CreateCustomCertificateRequest
- func (s *CreateCustomCertificateRequest) SetParentIdentifier(v string) *CreateCustomCertificateRequest
- func (s *CreateCustomCertificateRequest) SetValidity(v string) *CreateCustomCertificateRequest
- func (s CreateCustomCertificateRequest) String() string
- type CreateCustomCertificateRequestApiPassthrough
- func (s CreateCustomCertificateRequestApiPassthrough) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthrough) SetExtensions(v *CreateCustomCertificateRequestApiPassthroughExtensions) *CreateCustomCertificateRequestApiPassthrough
- func (s *CreateCustomCertificateRequestApiPassthrough) SetSerialNumber(v string) *CreateCustomCertificateRequestApiPassthrough
- func (s *CreateCustomCertificateRequestApiPassthrough) SetSubject(v *CreateCustomCertificateRequestApiPassthroughSubject) *CreateCustomCertificateRequestApiPassthrough
- func (s CreateCustomCertificateRequestApiPassthrough) String() string
- type CreateCustomCertificateRequestApiPassthroughExtensions
- func (s CreateCustomCertificateRequestApiPassthroughExtensions) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetCriticals(v []*string) *CreateCustomCertificateRequestApiPassthroughExtensions
- func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetExtendedKeyUsages(v []*string) *CreateCustomCertificateRequestApiPassthroughExtensions
- func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetKeyUsage(v *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) *CreateCustomCertificateRequestApiPassthroughExtensions
- func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetSubjectAlternativeNames(...) *CreateCustomCertificateRequestApiPassthroughExtensions
- func (s CreateCustomCertificateRequestApiPassthroughExtensions) String() string
- type CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetContentCommitment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDataEncipherment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDecipherOnly(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDigitalSignature(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetEncipherOnly(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyAgreement(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyEncipherment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetNonRepudiation(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
- func (s CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) String() string
- type CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames
- func (s CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) SetType(v string) *CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames
- func (s *CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) SetValue(v string) *CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames
- func (s CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) String() string
- type CreateCustomCertificateRequestApiPassthroughSubject
- func (s CreateCustomCertificateRequestApiPassthroughSubject) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetCommonName(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetCountry(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetCustomAttributes(v []*CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetLocality(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetOrganization(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetOrganizationUnit(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetState(v string) *CreateCustomCertificateRequestApiPassthroughSubject
- func (s CreateCustomCertificateRequestApiPassthroughSubject) String() string
- type CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes
- func (s CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) GoString() string
- func (s *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) SetObjectIdentifier(v string) *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes
- func (s *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) SetValue(v string) *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes
- func (s CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) String() string
- type CreateCustomCertificateResponse
- func (s CreateCustomCertificateResponse) GoString() string
- func (s *CreateCustomCertificateResponse) SetBody(v *CreateCustomCertificateResponseBody) *CreateCustomCertificateResponse
- func (s *CreateCustomCertificateResponse) SetHeaders(v map[string]*string) *CreateCustomCertificateResponse
- func (s *CreateCustomCertificateResponse) SetStatusCode(v int32) *CreateCustomCertificateResponse
- func (s CreateCustomCertificateResponse) String() string
- type CreateCustomCertificateResponseBody
- func (s CreateCustomCertificateResponseBody) GoString() string
- func (s *CreateCustomCertificateResponseBody) SetCertificate(v string) *CreateCustomCertificateResponseBody
- func (s *CreateCustomCertificateResponseBody) SetCertificateChain(v string) *CreateCustomCertificateResponseBody
- func (s *CreateCustomCertificateResponseBody) SetIdentifier(v string) *CreateCustomCertificateResponseBody
- func (s *CreateCustomCertificateResponseBody) SetRequestId(v string) *CreateCustomCertificateResponseBody
- func (s *CreateCustomCertificateResponseBody) SetSerialNumber(v string) *CreateCustomCertificateResponseBody
- func (s CreateCustomCertificateResponseBody) String() string
- type CreateRevokeClientCertificateRequest
- type CreateRevokeClientCertificateResponse
- func (s CreateRevokeClientCertificateResponse) GoString() string
- func (s *CreateRevokeClientCertificateResponse) SetBody(v *CreateRevokeClientCertificateResponseBody) *CreateRevokeClientCertificateResponse
- func (s *CreateRevokeClientCertificateResponse) SetHeaders(v map[string]*string) *CreateRevokeClientCertificateResponse
- func (s *CreateRevokeClientCertificateResponse) SetStatusCode(v int32) *CreateRevokeClientCertificateResponse
- func (s CreateRevokeClientCertificateResponse) String() string
- type CreateRevokeClientCertificateResponseBody
- type CreateRootCACertificateRequest
- func (s CreateRootCACertificateRequest) GoString() string
- func (s *CreateRootCACertificateRequest) SetAlgorithm(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetCommonName(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetCountryCode(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetLocality(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetOrganization(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetOrganizationUnit(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetState(v string) *CreateRootCACertificateRequest
- func (s *CreateRootCACertificateRequest) SetYears(v int32) *CreateRootCACertificateRequest
- func (s CreateRootCACertificateRequest) String() string
- type CreateRootCACertificateResponse
- func (s CreateRootCACertificateResponse) GoString() string
- func (s *CreateRootCACertificateResponse) SetBody(v *CreateRootCACertificateResponseBody) *CreateRootCACertificateResponse
- func (s *CreateRootCACertificateResponse) SetHeaders(v map[string]*string) *CreateRootCACertificateResponse
- func (s *CreateRootCACertificateResponse) SetStatusCode(v int32) *CreateRootCACertificateResponse
- func (s CreateRootCACertificateResponse) String() string
- type CreateRootCACertificateResponseBody
- func (s CreateRootCACertificateResponseBody) GoString() string
- func (s *CreateRootCACertificateResponseBody) SetCertificate(v string) *CreateRootCACertificateResponseBody
- func (s *CreateRootCACertificateResponseBody) SetCertificateChain(v string) *CreateRootCACertificateResponseBody
- func (s *CreateRootCACertificateResponseBody) SetIdentifier(v string) *CreateRootCACertificateResponseBody
- func (s *CreateRootCACertificateResponseBody) SetRequestId(v string) *CreateRootCACertificateResponseBody
- func (s CreateRootCACertificateResponseBody) String() string
- type CreateServerCertificateRequest
- func (s CreateServerCertificateRequest) GoString() string
- func (s *CreateServerCertificateRequest) SetAfterTime(v int64) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetAlgorithm(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetBeforeTime(v int64) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetCommonName(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetCountry(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetDays(v int32) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetDomain(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetEnableCrl(v int64) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetImmediately(v int32) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetLocality(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetMonths(v int32) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetOrganization(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetOrganizationUnit(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetParentIdentifier(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetState(v string) *CreateServerCertificateRequest
- func (s *CreateServerCertificateRequest) SetYears(v int32) *CreateServerCertificateRequest
- func (s CreateServerCertificateRequest) String() string
- type CreateServerCertificateResponse
- func (s CreateServerCertificateResponse) GoString() string
- func (s *CreateServerCertificateResponse) SetBody(v *CreateServerCertificateResponseBody) *CreateServerCertificateResponse
- func (s *CreateServerCertificateResponse) SetHeaders(v map[string]*string) *CreateServerCertificateResponse
- func (s *CreateServerCertificateResponse) SetStatusCode(v int32) *CreateServerCertificateResponse
- func (s CreateServerCertificateResponse) String() string
- type CreateServerCertificateResponseBody
- func (s CreateServerCertificateResponseBody) GoString() string
- func (s *CreateServerCertificateResponseBody) SetCertificateChain(v string) *CreateServerCertificateResponseBody
- func (s *CreateServerCertificateResponseBody) SetIdentifier(v string) *CreateServerCertificateResponseBody
- func (s *CreateServerCertificateResponseBody) SetRequestId(v string) *CreateServerCertificateResponseBody
- func (s *CreateServerCertificateResponseBody) SetSerialNumber(v string) *CreateServerCertificateResponseBody
- func (s *CreateServerCertificateResponseBody) SetX509Certificate(v string) *CreateServerCertificateResponseBody
- func (s CreateServerCertificateResponseBody) String() string
- type CreateServerCertificateWithCsrRequest
- func (s CreateServerCertificateWithCsrRequest) GoString() string
- func (s *CreateServerCertificateWithCsrRequest) SetAfterTime(v int64) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetAlgorithm(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetBeforeTime(v int64) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetCommonName(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetCountry(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetCsr(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetDays(v int32) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetDomain(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetEnableCrl(v int64) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetImmediately(v int32) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetLocality(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetMonths(v int32) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetOrganization(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetOrganizationUnit(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetParentIdentifier(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetState(v string) *CreateServerCertificateWithCsrRequest
- func (s *CreateServerCertificateWithCsrRequest) SetYears(v int32) *CreateServerCertificateWithCsrRequest
- func (s CreateServerCertificateWithCsrRequest) String() string
- type CreateServerCertificateWithCsrResponse
- func (s CreateServerCertificateWithCsrResponse) GoString() string
- func (s *CreateServerCertificateWithCsrResponse) SetBody(v *CreateServerCertificateWithCsrResponseBody) *CreateServerCertificateWithCsrResponse
- func (s *CreateServerCertificateWithCsrResponse) SetHeaders(v map[string]*string) *CreateServerCertificateWithCsrResponse
- func (s *CreateServerCertificateWithCsrResponse) SetStatusCode(v int32) *CreateServerCertificateWithCsrResponse
- func (s CreateServerCertificateWithCsrResponse) String() string
- type CreateServerCertificateWithCsrResponseBody
- func (s CreateServerCertificateWithCsrResponseBody) GoString() string
- func (s *CreateServerCertificateWithCsrResponseBody) SetCertificateChain(v string) *CreateServerCertificateWithCsrResponseBody
- func (s *CreateServerCertificateWithCsrResponseBody) SetIdentifier(v string) *CreateServerCertificateWithCsrResponseBody
- func (s *CreateServerCertificateWithCsrResponseBody) SetRequestId(v string) *CreateServerCertificateWithCsrResponseBody
- func (s *CreateServerCertificateWithCsrResponseBody) SetSerialNumber(v string) *CreateServerCertificateWithCsrResponseBody
- func (s *CreateServerCertificateWithCsrResponseBody) SetX509Certificate(v string) *CreateServerCertificateWithCsrResponseBody
- func (s CreateServerCertificateWithCsrResponseBody) String() string
- type CreateSubCACertificateRequest
- func (s CreateSubCACertificateRequest) GoString() string
- func (s *CreateSubCACertificateRequest) SetAlgorithm(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetCommonName(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetCountryCode(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetCrlDay(v int32) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetEnableCrl(v bool) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetExtendedKeyUsages(v []*string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetLocality(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetOrganization(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetOrganizationUnit(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetParentIdentifier(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetPathLenConstraint(v int32) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetState(v string) *CreateSubCACertificateRequest
- func (s *CreateSubCACertificateRequest) SetYears(v int32) *CreateSubCACertificateRequest
- func (s CreateSubCACertificateRequest) String() string
- type CreateSubCACertificateResponse
- func (s CreateSubCACertificateResponse) GoString() string
- func (s *CreateSubCACertificateResponse) SetBody(v *CreateSubCACertificateResponseBody) *CreateSubCACertificateResponse
- func (s *CreateSubCACertificateResponse) SetHeaders(v map[string]*string) *CreateSubCACertificateResponse
- func (s *CreateSubCACertificateResponse) SetStatusCode(v int32) *CreateSubCACertificateResponse
- func (s CreateSubCACertificateResponse) String() string
- type CreateSubCACertificateResponseBody
- func (s CreateSubCACertificateResponseBody) GoString() string
- func (s *CreateSubCACertificateResponseBody) SetCertificate(v string) *CreateSubCACertificateResponseBody
- func (s *CreateSubCACertificateResponseBody) SetCertificateChain(v string) *CreateSubCACertificateResponseBody
- func (s *CreateSubCACertificateResponseBody) SetIdentifier(v string) *CreateSubCACertificateResponseBody
- func (s *CreateSubCACertificateResponseBody) SetRequestId(v string) *CreateSubCACertificateResponseBody
- func (s CreateSubCACertificateResponseBody) String() string
- type DeleteClientCertificateRequest
- type DeleteClientCertificateResponse
- func (s DeleteClientCertificateResponse) GoString() string
- func (s *DeleteClientCertificateResponse) SetBody(v *DeleteClientCertificateResponseBody) *DeleteClientCertificateResponse
- func (s *DeleteClientCertificateResponse) SetHeaders(v map[string]*string) *DeleteClientCertificateResponse
- func (s *DeleteClientCertificateResponse) SetStatusCode(v int32) *DeleteClientCertificateResponse
- func (s DeleteClientCertificateResponse) String() string
- type DeleteClientCertificateResponseBody
- type DescribeCACertificateCountResponse
- func (s DescribeCACertificateCountResponse) GoString() string
- func (s *DescribeCACertificateCountResponse) SetBody(v *DescribeCACertificateCountResponseBody) *DescribeCACertificateCountResponse
- func (s *DescribeCACertificateCountResponse) SetHeaders(v map[string]*string) *DescribeCACertificateCountResponse
- func (s *DescribeCACertificateCountResponse) SetStatusCode(v int32) *DescribeCACertificateCountResponse
- func (s DescribeCACertificateCountResponse) String() string
- type DescribeCACertificateCountResponseBody
- func (s DescribeCACertificateCountResponseBody) GoString() string
- func (s *DescribeCACertificateCountResponseBody) SetRequestId(v string) *DescribeCACertificateCountResponseBody
- func (s *DescribeCACertificateCountResponseBody) SetTotalCount(v int32) *DescribeCACertificateCountResponseBody
- func (s DescribeCACertificateCountResponseBody) String() string
- type DescribeCACertificateListRequest
- func (s DescribeCACertificateListRequest) GoString() string
- func (s *DescribeCACertificateListRequest) SetCurrentPage(v int32) *DescribeCACertificateListRequest
- func (s *DescribeCACertificateListRequest) SetIdentifier(v string) *DescribeCACertificateListRequest
- func (s *DescribeCACertificateListRequest) SetShowSize(v int32) *DescribeCACertificateListRequest
- func (s DescribeCACertificateListRequest) String() string
- type DescribeCACertificateListResponse
- func (s DescribeCACertificateListResponse) GoString() string
- func (s *DescribeCACertificateListResponse) SetBody(v *DescribeCACertificateListResponseBody) *DescribeCACertificateListResponse
- func (s *DescribeCACertificateListResponse) SetHeaders(v map[string]*string) *DescribeCACertificateListResponse
- func (s *DescribeCACertificateListResponse) SetStatusCode(v int32) *DescribeCACertificateListResponse
- func (s DescribeCACertificateListResponse) String() string
- type DescribeCACertificateListResponseBody
- func (s DescribeCACertificateListResponseBody) GoString() string
- func (s *DescribeCACertificateListResponseBody) SetCertificateList(v []*DescribeCACertificateListResponseBodyCertificateList) *DescribeCACertificateListResponseBody
- func (s *DescribeCACertificateListResponseBody) SetCurrentPage(v int32) *DescribeCACertificateListResponseBody
- func (s *DescribeCACertificateListResponseBody) SetPageCount(v int32) *DescribeCACertificateListResponseBody
- func (s *DescribeCACertificateListResponseBody) SetRequestId(v string) *DescribeCACertificateListResponseBody
- func (s *DescribeCACertificateListResponseBody) SetShowSize(v int32) *DescribeCACertificateListResponseBody
- func (s *DescribeCACertificateListResponseBody) SetTotalCount(v int32) *DescribeCACertificateListResponseBody
- func (s DescribeCACertificateListResponseBody) String() string
- type DescribeCACertificateListResponseBodyCertificateList
- func (s DescribeCACertificateListResponseBodyCertificateList) GoString() string
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetAfterDate(v int64) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetAlgorithm(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetBeforeDate(v int64) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetCertificateType(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetCommonName(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetCountryCode(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetIdentifier(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetKeySize(v int32) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetLocality(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetMd5(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetOrganization(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetOrganizationUnit(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetParentIdentifier(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetSans(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetSerialNumber(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetSha2(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetSignAlgorithm(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetState(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetStatus(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetSubjectDN(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetX509Certificate(v string) *DescribeCACertificateListResponseBodyCertificateList
- func (s *DescribeCACertificateListResponseBodyCertificateList) SetYears(v int32) *DescribeCACertificateListResponseBodyCertificateList
- func (s DescribeCACertificateListResponseBodyCertificateList) String() string
- type DescribeCACertificateRequest
- type DescribeCACertificateResponse
- func (s DescribeCACertificateResponse) GoString() string
- func (s *DescribeCACertificateResponse) SetBody(v *DescribeCACertificateResponseBody) *DescribeCACertificateResponse
- func (s *DescribeCACertificateResponse) SetHeaders(v map[string]*string) *DescribeCACertificateResponse
- func (s *DescribeCACertificateResponse) SetStatusCode(v int32) *DescribeCACertificateResponse
- func (s DescribeCACertificateResponse) String() string
- type DescribeCACertificateResponseBody
- func (s DescribeCACertificateResponseBody) GoString() string
- func (s *DescribeCACertificateResponseBody) SetCertificate(v *DescribeCACertificateResponseBodyCertificate) *DescribeCACertificateResponseBody
- func (s *DescribeCACertificateResponseBody) SetRequestId(v string) *DescribeCACertificateResponseBody
- func (s *DescribeCACertificateResponseBody) SetYears(v int32) *DescribeCACertificateResponseBody
- func (s DescribeCACertificateResponseBody) String() string
- type DescribeCACertificateResponseBodyCertificate
- func (s DescribeCACertificateResponseBodyCertificate) GoString() string
- func (s *DescribeCACertificateResponseBodyCertificate) SetAfterDate(v int64) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetAlgorithm(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetBeforeDate(v int64) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCaCertChain(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCertIssuedCount(v int64) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCertRemainingCount(v int64) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCertTotalCount(v int64) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCertificateType(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCommonName(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCountryCode(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCrlDay(v int32) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCrlStatus(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetCrlUrl(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetIdentifier(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetKeySize(v int32) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetLocality(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetMd5(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetOrganization(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetOrganizationUnit(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetParentIdentifier(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetSans(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetSerialNumber(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetSha2(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetSignAlgorithm(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetState(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetStatus(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetSubjectDN(v string) *DescribeCACertificateResponseBodyCertificate
- func (s *DescribeCACertificateResponseBodyCertificate) SetX509Certificate(v string) *DescribeCACertificateResponseBodyCertificate
- func (s DescribeCACertificateResponseBodyCertificate) String() string
- type DescribeCertificatePrivateKeyRequest
- func (s DescribeCertificatePrivateKeyRequest) GoString() string
- func (s *DescribeCertificatePrivateKeyRequest) SetEncryptedCode(v string) *DescribeCertificatePrivateKeyRequest
- func (s *DescribeCertificatePrivateKeyRequest) SetIdentifier(v string) *DescribeCertificatePrivateKeyRequest
- func (s DescribeCertificatePrivateKeyRequest) String() string
- type DescribeCertificatePrivateKeyResponse
- func (s DescribeCertificatePrivateKeyResponse) GoString() string
- func (s *DescribeCertificatePrivateKeyResponse) SetBody(v *DescribeCertificatePrivateKeyResponseBody) *DescribeCertificatePrivateKeyResponse
- func (s *DescribeCertificatePrivateKeyResponse) SetHeaders(v map[string]*string) *DescribeCertificatePrivateKeyResponse
- func (s *DescribeCertificatePrivateKeyResponse) SetStatusCode(v int32) *DescribeCertificatePrivateKeyResponse
- func (s DescribeCertificatePrivateKeyResponse) String() string
- type DescribeCertificatePrivateKeyResponseBody
- func (s DescribeCertificatePrivateKeyResponseBody) GoString() string
- func (s *DescribeCertificatePrivateKeyResponseBody) SetEncryptedData(v string) *DescribeCertificatePrivateKeyResponseBody
- func (s *DescribeCertificatePrivateKeyResponseBody) SetRequestId(v string) *DescribeCertificatePrivateKeyResponseBody
- func (s DescribeCertificatePrivateKeyResponseBody) String() string
- type DescribeClientCertificateRequest
- type DescribeClientCertificateResponse
- func (s DescribeClientCertificateResponse) GoString() string
- func (s *DescribeClientCertificateResponse) SetBody(v *DescribeClientCertificateResponseBody) *DescribeClientCertificateResponse
- func (s *DescribeClientCertificateResponse) SetHeaders(v map[string]*string) *DescribeClientCertificateResponse
- func (s *DescribeClientCertificateResponse) SetStatusCode(v int32) *DescribeClientCertificateResponse
- func (s DescribeClientCertificateResponse) String() string
- type DescribeClientCertificateResponseBody
- func (s DescribeClientCertificateResponseBody) GoString() string
- func (s *DescribeClientCertificateResponseBody) SetCertificate(v *DescribeClientCertificateResponseBodyCertificate) *DescribeClientCertificateResponseBody
- func (s *DescribeClientCertificateResponseBody) SetRequestId(v string) *DescribeClientCertificateResponseBody
- func (s DescribeClientCertificateResponseBody) String() string
- type DescribeClientCertificateResponseBodyCertificate
- func (s DescribeClientCertificateResponseBodyCertificate) GoString() string
- func (s *DescribeClientCertificateResponseBodyCertificate) SetAfterDate(v int64) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetAlgorithm(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetBeforeDate(v int64) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetCertificateType(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetCommonName(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetCountryCode(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetDays(v int32) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetIdentifier(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetKeySize(v int32) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetLocality(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetMd5(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetOrganization(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetOrganizationUnit(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetParentIdentifier(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetSans(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetSerialNumber(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetSha2(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetSignAlgorithm(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetState(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetStatus(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetSubjectDN(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s *DescribeClientCertificateResponseBodyCertificate) SetX509Certificate(v string) *DescribeClientCertificateResponseBodyCertificate
- func (s DescribeClientCertificateResponseBodyCertificate) String() string
- type DescribeClientCertificateStatusRequest
- type DescribeClientCertificateStatusResponse
- func (s DescribeClientCertificateStatusResponse) GoString() string
- func (s *DescribeClientCertificateStatusResponse) SetBody(v *DescribeClientCertificateStatusResponseBody) *DescribeClientCertificateStatusResponse
- func (s *DescribeClientCertificateStatusResponse) SetHeaders(v map[string]*string) *DescribeClientCertificateStatusResponse
- func (s *DescribeClientCertificateStatusResponse) SetStatusCode(v int32) *DescribeClientCertificateStatusResponse
- func (s DescribeClientCertificateStatusResponse) String() string
- type DescribeClientCertificateStatusResponseBody
- func (s DescribeClientCertificateStatusResponseBody) GoString() string
- func (s *DescribeClientCertificateStatusResponseBody) SetCertificateStatus(v []*DescribeClientCertificateStatusResponseBodyCertificateStatus) *DescribeClientCertificateStatusResponseBody
- func (s *DescribeClientCertificateStatusResponseBody) SetRequestId(v string) *DescribeClientCertificateStatusResponseBody
- func (s DescribeClientCertificateStatusResponseBody) String() string
- type DescribeClientCertificateStatusResponseBodyCertificateStatus
- func (s DescribeClientCertificateStatusResponseBodyCertificateStatus) GoString() string
- func (s *DescribeClientCertificateStatusResponseBodyCertificateStatus) SetRevokeTime(v int64) *DescribeClientCertificateStatusResponseBodyCertificateStatus
- func (s *DescribeClientCertificateStatusResponseBodyCertificateStatus) SetSerialNumber(v string) *DescribeClientCertificateStatusResponseBodyCertificateStatus
- func (s *DescribeClientCertificateStatusResponseBodyCertificateStatus) SetStatus(v string) *DescribeClientCertificateStatusResponseBodyCertificateStatus
- func (s DescribeClientCertificateStatusResponseBodyCertificateStatus) String() string
- type GetCAInstanceStatusRequest
- type GetCAInstanceStatusResponse
- func (s GetCAInstanceStatusResponse) GoString() string
- func (s *GetCAInstanceStatusResponse) SetBody(v *GetCAInstanceStatusResponseBody) *GetCAInstanceStatusResponse
- func (s *GetCAInstanceStatusResponse) SetHeaders(v map[string]*string) *GetCAInstanceStatusResponse
- func (s *GetCAInstanceStatusResponse) SetStatusCode(v int32) *GetCAInstanceStatusResponse
- func (s GetCAInstanceStatusResponse) String() string
- type GetCAInstanceStatusResponseBody
- func (s GetCAInstanceStatusResponseBody) GoString() string
- func (s *GetCAInstanceStatusResponseBody) SetInstanceStatusList(v []*GetCAInstanceStatusResponseBodyInstanceStatusList) *GetCAInstanceStatusResponseBody
- func (s *GetCAInstanceStatusResponseBody) SetRequestId(v string) *GetCAInstanceStatusResponseBody
- func (s GetCAInstanceStatusResponseBody) String() string
- type GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s GetCAInstanceStatusResponseBodyInstanceStatusList) GoString() string
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetAfterTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetBeforeTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertIssuedCount(v int32) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertTotalCount(v int32) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetIdentifier(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetInstanceId(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetStatus(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetType(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetUseExpireTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
- func (s GetCAInstanceStatusResponseBodyInstanceStatusList) String() string
- type ListClientCertificateRequest
- func (s ListClientCertificateRequest) GoString() string
- func (s *ListClientCertificateRequest) SetCurrentPage(v int32) *ListClientCertificateRequest
- func (s *ListClientCertificateRequest) SetIdentifier(v string) *ListClientCertificateRequest
- func (s *ListClientCertificateRequest) SetShowSize(v int32) *ListClientCertificateRequest
- func (s ListClientCertificateRequest) String() string
- type ListClientCertificateResponse
- func (s ListClientCertificateResponse) GoString() string
- func (s *ListClientCertificateResponse) SetBody(v *ListClientCertificateResponseBody) *ListClientCertificateResponse
- func (s *ListClientCertificateResponse) SetHeaders(v map[string]*string) *ListClientCertificateResponse
- func (s *ListClientCertificateResponse) SetStatusCode(v int32) *ListClientCertificateResponse
- func (s ListClientCertificateResponse) String() string
- type ListClientCertificateResponseBody
- func (s ListClientCertificateResponseBody) GoString() string
- func (s *ListClientCertificateResponseBody) SetCertificateList(v []*ListClientCertificateResponseBodyCertificateList) *ListClientCertificateResponseBody
- func (s *ListClientCertificateResponseBody) SetCurrentPage(v int32) *ListClientCertificateResponseBody
- func (s *ListClientCertificateResponseBody) SetPageCount(v int32) *ListClientCertificateResponseBody
- func (s *ListClientCertificateResponseBody) SetRequestId(v string) *ListClientCertificateResponseBody
- func (s *ListClientCertificateResponseBody) SetShowSize(v int32) *ListClientCertificateResponseBody
- func (s *ListClientCertificateResponseBody) SetTotalCount(v int64) *ListClientCertificateResponseBody
- func (s ListClientCertificateResponseBody) String() string
- type ListClientCertificateResponseBodyCertificateList
- func (s ListClientCertificateResponseBodyCertificateList) GoString() string
- func (s *ListClientCertificateResponseBodyCertificateList) SetAfterDate(v int64) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetAlgorithm(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetBeforeDate(v int64) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetCertificateType(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetCommonName(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetCountryCode(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetDays(v int32) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetIdentifier(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetKeySize(v int32) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetLocality(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetMd5(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetOrganization(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetOrganizationUnit(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetParentIdentifier(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetSans(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetSerialNumber(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetSha2(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetSignAlgorithm(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetState(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetStatus(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetSubjectDN(v string) *ListClientCertificateResponseBodyCertificateList
- func (s *ListClientCertificateResponseBodyCertificateList) SetX509Certificate(v string) *ListClientCertificateResponseBodyCertificateList
- func (s ListClientCertificateResponseBodyCertificateList) String() string
- type ListRevokeCertificateRequest
- type ListRevokeCertificateResponse
- func (s ListRevokeCertificateResponse) GoString() string
- func (s *ListRevokeCertificateResponse) SetBody(v *ListRevokeCertificateResponseBody) *ListRevokeCertificateResponse
- func (s *ListRevokeCertificateResponse) SetHeaders(v map[string]*string) *ListRevokeCertificateResponse
- func (s *ListRevokeCertificateResponse) SetStatusCode(v int32) *ListRevokeCertificateResponse
- func (s ListRevokeCertificateResponse) String() string
- type ListRevokeCertificateResponseBody
- func (s ListRevokeCertificateResponseBody) GoString() string
- func (s *ListRevokeCertificateResponseBody) SetCertificateList(v []*ListRevokeCertificateResponseBodyCertificateList) *ListRevokeCertificateResponseBody
- func (s *ListRevokeCertificateResponseBody) SetCurrentPage(v int32) *ListRevokeCertificateResponseBody
- func (s *ListRevokeCertificateResponseBody) SetPageCount(v int32) *ListRevokeCertificateResponseBody
- func (s *ListRevokeCertificateResponseBody) SetRequestId(v string) *ListRevokeCertificateResponseBody
- func (s *ListRevokeCertificateResponseBody) SetShowSize(v int32) *ListRevokeCertificateResponseBody
- func (s *ListRevokeCertificateResponseBody) SetTotalCount(v int64) *ListRevokeCertificateResponseBody
- func (s ListRevokeCertificateResponseBody) String() string
- type ListRevokeCertificateResponseBodyCertificateList
- func (s ListRevokeCertificateResponseBodyCertificateList) GoString() string
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetAfterDate(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetAlgorithm(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetBeforeDate(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetCertificateType(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetCommonName(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetCountryCode(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetIdentifier(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetKeySize(v int32) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetLocality(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetMd5(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetOrganization(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetOrganizationUnit(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetParentIdentifier(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetRevokeDate(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetSans(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetSerialNumber(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetSha2(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetSignAlgorithm(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetState(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetStatus(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s *ListRevokeCertificateResponseBodyCertificateList) SetSubjectDN(v string) *ListRevokeCertificateResponseBodyCertificateList
- func (s ListRevokeCertificateResponseBodyCertificateList) String() string
- type UpdateCACertificateStatusRequest
- func (s UpdateCACertificateStatusRequest) GoString() string
- func (s *UpdateCACertificateStatusRequest) SetIdentifier(v string) *UpdateCACertificateStatusRequest
- func (s *UpdateCACertificateStatusRequest) SetStatus(v string) *UpdateCACertificateStatusRequest
- func (s UpdateCACertificateStatusRequest) String() string
- type UpdateCACertificateStatusResponse
- func (s UpdateCACertificateStatusResponse) GoString() string
- func (s *UpdateCACertificateStatusResponse) SetBody(v *UpdateCACertificateStatusResponseBody) *UpdateCACertificateStatusResponse
- func (s *UpdateCACertificateStatusResponse) SetHeaders(v map[string]*string) *UpdateCACertificateStatusResponse
- func (s *UpdateCACertificateStatusResponse) SetStatusCode(v int32) *UpdateCACertificateStatusResponse
- func (s UpdateCACertificateStatusResponse) String() string
- type UpdateCACertificateStatusResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateClientCertificate ¶
func (client *Client) CreateClientCertificate(request *CreateClientCertificateRequest) (_result *CreateClientCertificateResponse, _err error)
Summary:
Issues a client certificate by using a system-generated certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](~~CreateRootCACertificate~~) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](~~CreateRootCACertificate~~) operation. Only intermediate CA certificates can issue client certificates.
## QPS limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateClientCertificateRequest
@return CreateClientCertificateResponse
func (*Client) CreateClientCertificateWithCsr ¶
func (client *Client) CreateClientCertificateWithCsr(request *CreateClientCertificateWithCsrRequest) (_result *CreateClientCertificateWithCsrResponse, _err error)
Summary:
Issues a client certificate by using a custom certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue client certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateClientCertificateWithCsrRequest
@return CreateClientCertificateWithCsrResponse
func (*Client) CreateClientCertificateWithCsrWithOptions ¶
func (client *Client) CreateClientCertificateWithCsrWithOptions(request *CreateClientCertificateWithCsrRequest, runtime *util.RuntimeOptions) (_result *CreateClientCertificateWithCsrResponse, _err error)
Summary:
Issues a client certificate by using a custom certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue client certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateClientCertificateWithCsrRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateClientCertificateWithCsrResponse
func (*Client) CreateClientCertificateWithOptions ¶
func (client *Client) CreateClientCertificateWithOptions(request *CreateClientCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateClientCertificateResponse, _err error)
Summary:
Issues a client certificate by using a system-generated certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](~~CreateRootCACertificate~~) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](~~CreateRootCACertificate~~) operation. Only intermediate CA certificates can issue client certificates.
## QPS limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateClientCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateClientCertificateResponse
func (*Client) CreateCustomCertificate ¶ added in v1.0.15
func (client *Client) CreateCustomCertificate(request *CreateCustomCertificateRequest) (_result *CreateCustomCertificateResponse, _err error)
Summary:
Issues a certificate based on the specified key usage, extended key usage, and name and alias of the entity that uses the certificate.
Description:
By default, the name of the entity is obtained from the certificate signing request (CSR) of the certificate that you want to issue. If you specify a different name for the entity, the name of the entity in the CSR becomes invalid. The specified name is used to issue the certificate.
You must specify the key usage and extended key usage based on the certificate type. The following list describes common certificate types:
- Server certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: serverAuth
- Client certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: clientAuth
- Mutual Transport Layer Security (TLS) authentication certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: serverAuth or clientAuth
- Email certificate
Key usage: digitalSignature or contentCommitment
Extended key usage: emailProtection
Note: Compliant certificate authorities (CAs) are managed by third-party authorities. This operation is not supported for compliant CAs.
@param request - CreateCustomCertificateRequest
@return CreateCustomCertificateResponse
func (*Client) CreateCustomCertificateWithOptions ¶ added in v1.0.15
func (client *Client) CreateCustomCertificateWithOptions(request *CreateCustomCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateCustomCertificateResponse, _err error)
Summary:
Issues a certificate based on the specified key usage, extended key usage, and name and alias of the entity that uses the certificate.
Description:
By default, the name of the entity is obtained from the certificate signing request (CSR) of the certificate that you want to issue. If you specify a different name for the entity, the name of the entity in the CSR becomes invalid. The specified name is used to issue the certificate.
You must specify the key usage and extended key usage based on the certificate type. The following list describes common certificate types:
- Server certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: serverAuth
- Client certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: clientAuth
- Mutual Transport Layer Security (TLS) authentication certificate
Key usage: digitalSignature or keyEncipherment
Extended key usage: serverAuth or clientAuth
- Email certificate
Key usage: digitalSignature or contentCommitment
Extended key usage: emailProtection
Note: Compliant certificate authorities (CAs) are managed by third-party authorities. This operation is not supported for compliant CAs.
@param request - CreateCustomCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateCustomCertificateResponse
func (*Client) CreateRevokeClientCertificate ¶
func (client *Client) CreateRevokeClientCertificate(request *CreateRevokeClientCertificateRequest) (_result *CreateRevokeClientCertificateResponse, _err error)
Summary:
Revokes a client certificate or a server certificate.
Description:
After a client certificate or a server certificate is revoked, the client or the server on which the certificate is installed cannot establish HTTPS connections with other devices.
After a client certificate or a server certificate is revoked, you can call the [DeleteClientCertificate](https://help.aliyun.com/document_detail/330880.html) operation to permanently delete the certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateRevokeClientCertificateRequest
@return CreateRevokeClientCertificateResponse
func (*Client) CreateRevokeClientCertificateWithOptions ¶
func (client *Client) CreateRevokeClientCertificateWithOptions(request *CreateRevokeClientCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateRevokeClientCertificateResponse, _err error)
Summary:
Revokes a client certificate or a server certificate.
Description:
After a client certificate or a server certificate is revoked, the client or the server on which the certificate is installed cannot establish HTTPS connections with other devices.
After a client certificate or a server certificate is revoked, you can call the [DeleteClientCertificate](https://help.aliyun.com/document_detail/330880.html) operation to permanently delete the certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateRevokeClientCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateRevokeClientCertificateResponse
func (*Client) CreateRootCACertificate ¶
func (client *Client) CreateRootCACertificate(request *CreateRootCACertificateRequest) (_result *CreateRootCACertificateResponse, _err error)
Summary:
Creates a root certificate authority (CA) certificate.
Description:
You can call the CreateRootCACertificate operation to create a self-signed root CA certificate. A root CA certificate is the trust anchor in a chain of trust for private certificates that are used within an enterprise. You must create a root CA certificate before you can use the root CA certificate to issue intermediate CA certificates. Then, you can use the intermediate CA certificates to issue client certificates and server certificates.
Before you call this operation, make sure that you have purchased a private root CA instance by using the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Create a private CA](https://help.aliyun.com/document_detail/208553.html).
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateRootCACertificateRequest
@return CreateRootCACertificateResponse
func (*Client) CreateRootCACertificateWithOptions ¶
func (client *Client) CreateRootCACertificateWithOptions(request *CreateRootCACertificateRequest, runtime *util.RuntimeOptions) (_result *CreateRootCACertificateResponse, _err error)
Summary:
Creates a root certificate authority (CA) certificate.
Description:
You can call the CreateRootCACertificate operation to create a self-signed root CA certificate. A root CA certificate is the trust anchor in a chain of trust for private certificates that are used within an enterprise. You must create a root CA certificate before you can use the root CA certificate to issue intermediate CA certificates. Then, you can use the intermediate CA certificates to issue client certificates and server certificates.
Before you call this operation, make sure that you have purchased a private root CA instance by using the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Create a private CA](https://help.aliyun.com/document_detail/208553.html).
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateRootCACertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateRootCACertificateResponse
func (*Client) CreateServerCertificate ¶
func (client *Client) CreateServerCertificate(request *CreateServerCertificateRequest) (_result *CreateServerCertificateResponse, _err error)
Summary:
Issues a server certificate by using a system-generated certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue server certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateServerCertificateRequest
@return CreateServerCertificateResponse
func (*Client) CreateServerCertificateWithCsr ¶
func (client *Client) CreateServerCertificateWithCsr(request *CreateServerCertificateWithCsrRequest) (_result *CreateServerCertificateWithCsrResponse, _err error)
Summary:
Issues a server certificate by using a custom certificate signing request (CSR) file.
Description:
## Usage notes
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue server certificates.
@param request - CreateServerCertificateWithCsrRequest
@return CreateServerCertificateWithCsrResponse
func (*Client) CreateServerCertificateWithCsrWithOptions ¶
func (client *Client) CreateServerCertificateWithCsrWithOptions(request *CreateServerCertificateWithCsrRequest, runtime *util.RuntimeOptions) (_result *CreateServerCertificateWithCsrResponse, _err error)
Summary:
Issues a server certificate by using a custom certificate signing request (CSR) file.
Description:
## Usage notes
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue server certificates.
@param request - CreateServerCertificateWithCsrRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateServerCertificateWithCsrResponse
func (*Client) CreateServerCertificateWithOptions ¶
func (client *Client) CreateServerCertificateWithOptions(request *CreateServerCertificateRequest, runtime *util.RuntimeOptions) (_result *CreateServerCertificateResponse, _err error)
Summary:
Issues a server certificate by using a system-generated certificate signing request (CSR) file.
Description:
Before you call this operation, make sure that you have created a root certificate authority (CA) certificate by calling the [CreateRootCACertificate](https://help.aliyun.com/document_detail/328093.html) operation and an intermediate CA certificate by calling the [CreateSubCACertificate](https://help.aliyun.com/document_detail/328094.html) operation. Only intermediate CA certificates can be used to issue server certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateServerCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateServerCertificateResponse
func (*Client) CreateSubCACertificate ¶
func (client *Client) CreateSubCACertificate(request *CreateSubCACertificateRequest) (_result *CreateSubCACertificateResponse, _err error)
Summary:
Creates an intermediate certificate authority (CA) certificate.
Description:
You can call this operation to issue an intermediate certificate authority (CA) certificate by using an existing root CA certificate. Intermediate CA certificates can be used to issue client certificates and server certificates.
Before you call this operation, make sure that you have issued a root CA certificate by calling the [CreateRootCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateSubCACertificateRequest
@return CreateSubCACertificateResponse
func (*Client) CreateSubCACertificateWithOptions ¶
func (client *Client) CreateSubCACertificateWithOptions(request *CreateSubCACertificateRequest, runtime *util.RuntimeOptions) (_result *CreateSubCACertificateResponse, _err error)
Summary:
Creates an intermediate certificate authority (CA) certificate.
Description:
You can call this operation to issue an intermediate certificate authority (CA) certificate by using an existing root CA certificate. Intermediate CA certificates can be used to issue client certificates and server certificates.
Before you call this operation, make sure that you have issued a root CA certificate by calling the [CreateRootCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - CreateSubCACertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return CreateSubCACertificateResponse
func (*Client) DeleteClientCertificate ¶
func (client *Client) DeleteClientCertificate(request *DeleteClientCertificateRequest) (_result *DeleteClientCertificateResponse, _err error)
Summary:
Deletes a client certificate or a server certificate that is revoked.
Description:
Before you call this operation, you must call the [CreateRevokeClientCertificate](https://help.aliyun.com/document_detail/330876.html) operation to revoke a client certificate or a server certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DeleteClientCertificateRequest
@return DeleteClientCertificateResponse
func (*Client) DeleteClientCertificateWithOptions ¶
func (client *Client) DeleteClientCertificateWithOptions(request *DeleteClientCertificateRequest, runtime *util.RuntimeOptions) (_result *DeleteClientCertificateResponse, _err error)
Summary:
Deletes a client certificate or a server certificate that is revoked.
Description:
Before you call this operation, you must call the [CreateRevokeClientCertificate](https://help.aliyun.com/document_detail/330876.html) operation to revoke a client certificate or a server certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DeleteClientCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return DeleteClientCertificateResponse
func (*Client) DescribeCACertificate ¶
func (client *Client) DescribeCACertificate(request *DescribeCACertificateRequest) (_result *DescribeCACertificateResponse, _err error)
Summary:
Queries the details about a root certificate authority (CA) certificate or an intermediate CA certificate.
Description:
You can call the DescribeCACertificate operation to query the details about a root CA certificate or an intermediate CA certificate by using the unique identifier of the root CA certificate or intermediate CA certificate. The details include the serial number, user information, and content of a CA certificate.
Before you call this operation, make sure that you have created a root CA by calling the [CreateRootCACertificate] operation or an intermediate CA certificate by calling the [CreateSubCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCACertificateRequest
@return DescribeCACertificateResponse
func (*Client) DescribeCACertificateCount ¶
func (client *Client) DescribeCACertificateCount() (_result *DescribeCACertificateCountResponse, _err error)
Summary:
Queries the number of certificate authority (CA) certificates that you create.
Description:
You can call the DescribeCACertificateCount operation to query the number of created CA certificates, which includes root CA certificates and intermediate CA certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@return DescribeCACertificateCountResponse
func (*Client) DescribeCACertificateCountWithOptions ¶
func (client *Client) DescribeCACertificateCountWithOptions(runtime *util.RuntimeOptions) (_result *DescribeCACertificateCountResponse, _err error)
Summary:
Queries the number of certificate authority (CA) certificates that you create.
Description:
You can call the DescribeCACertificateCount operation to query the number of created CA certificates, which includes root CA certificates and intermediate CA certificates.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCACertificateCountRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCACertificateCountResponse
func (*Client) DescribeCACertificateList ¶
func (client *Client) DescribeCACertificateList(request *DescribeCACertificateListRequest) (_result *DescribeCACertificateListResponse, _err error)
Summary:
Queries the details about all root certificate authority (CA) certificates and intermediate CA certificates.
Description:
You can call the DescribeCACertificateList operation to perform a paged query of the details about all CA certificates that you create. The details include the unique identifier, serial number, user information, and content of each root CA certificate or intermediate CA certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCACertificateListRequest
@return DescribeCACertificateListResponse
func (*Client) DescribeCACertificateListWithOptions ¶
func (client *Client) DescribeCACertificateListWithOptions(request *DescribeCACertificateListRequest, runtime *util.RuntimeOptions) (_result *DescribeCACertificateListResponse, _err error)
Summary:
Queries the details about all root certificate authority (CA) certificates and intermediate CA certificates.
Description:
You can call the DescribeCACertificateList operation to perform a paged query of the details about all CA certificates that you create. The details include the unique identifier, serial number, user information, and content of each root CA certificate or intermediate CA certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCACertificateListRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCACertificateListResponse
func (*Client) DescribeCACertificateWithOptions ¶
func (client *Client) DescribeCACertificateWithOptions(request *DescribeCACertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeCACertificateResponse, _err error)
Summary:
Queries the details about a root certificate authority (CA) certificate or an intermediate CA certificate.
Description:
You can call the DescribeCACertificate operation to query the details about a root CA certificate or an intermediate CA certificate by using the unique identifier of the root CA certificate or intermediate CA certificate. The details include the serial number, user information, and content of a CA certificate.
Before you call this operation, make sure that you have created a root CA by calling the [CreateRootCACertificate] operation or an intermediate CA certificate by calling the [CreateSubCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCACertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCACertificateResponse
func (*Client) DescribeCertificatePrivateKey ¶
func (client *Client) DescribeCertificatePrivateKey(request *DescribeCertificatePrivateKeyRequest) (_result *DescribeCertificatePrivateKeyResponse, _err error)
Summary:
Queries the encrypted private key of a client certificate or a server certificate.
Description:
## Usage notes
You can call the DescribeCertificatePrivateKey operation to obtain the encrypted private key of a client certificate or a server certificate. The certificate is issued based on a system-generated certificate signing request (CSR). Before you call this operation, make sure that you have issued a client certificate or a server certificate by calling the following operation:
[CreateClientCertificate](https://help.aliyun.com/document_detail/330873.html)
[CreateServerCertificate](https://help.aliyun.com/document_detail/330877.html)
To ensure the security of private key transmission, the DescribeCertificatePrivateKey operation encrypts the private key by using the private key password that you specify and returns the encrypted private key. The private key password is a string that is used to encrypt the private key. After you obtain the encrypted private key of the certificate, you can use the following methods to decrypt the private key:
If the encryption algorithm of the certificate is RSA, you must run the `openssl rsa -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [OpenSSL](https://www.openssl.org/source/) or [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
If the encryption algorithm of the certificate is ECC, you must run the `openssl ec -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [OpenSSL](https://www.openssl.org/source/) or [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
If the encryption algorithm of the certificate is SM2, you must run the `openssl ec -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
> You can call the [DescribeClientCertificate] operation to query the encryption algorithm type of a client certificate or a server certificate.
## Limits
You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCertificatePrivateKeyRequest
@return DescribeCertificatePrivateKeyResponse
func (*Client) DescribeCertificatePrivateKeyWithOptions ¶
func (client *Client) DescribeCertificatePrivateKeyWithOptions(request *DescribeCertificatePrivateKeyRequest, runtime *util.RuntimeOptions) (_result *DescribeCertificatePrivateKeyResponse, _err error)
Summary:
Queries the encrypted private key of a client certificate or a server certificate.
Description:
## Usage notes
You can call the DescribeCertificatePrivateKey operation to obtain the encrypted private key of a client certificate or a server certificate. The certificate is issued based on a system-generated certificate signing request (CSR). Before you call this operation, make sure that you have issued a client certificate or a server certificate by calling the following operation:
[CreateClientCertificate](https://help.aliyun.com/document_detail/330873.html)
[CreateServerCertificate](https://help.aliyun.com/document_detail/330877.html)
To ensure the security of private key transmission, the DescribeCertificatePrivateKey operation encrypts the private key by using the private key password that you specify and returns the encrypted private key. The private key password is a string that is used to encrypt the private key. After you obtain the encrypted private key of the certificate, you can use the following methods to decrypt the private key:
If the encryption algorithm of the certificate is RSA, you must run the `openssl rsa -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [OpenSSL](https://www.openssl.org/source/) or [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
If the encryption algorithm of the certificate is ECC, you must run the `openssl ec -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [OpenSSL](https://www.openssl.org/source/) or [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
If the encryption algorithm of the certificate is SM2, you must run the `openssl ec -in <Encrypted private key file> -passin pass:<Private key password> -out <Decrypted private key file>` command in the computer on which [BabaSSL](https://github.com/BabaSSL/BabaSSL) is installed.
> You can call the [DescribeClientCertificate] operation to query the encryption algorithm type of a client certificate or a server certificate.
## Limits
You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCertificatePrivateKeyRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCertificatePrivateKeyResponse
func (*Client) DescribeClientCertificate ¶
func (client *Client) DescribeClientCertificate(request *DescribeClientCertificateRequest) (_result *DescribeClientCertificateResponse, _err error)
Summary:
Queries the details about a client certificate or a server certificate by using the unique identifier of the certificate.
Description:
You can call the DescribeClientCertificate operation to query the details about a client certificate or a server certificate by using the unique identifier of the certificate. The details include the serial number, user information, content, and status of each certificate.
Before you call this operation, make sure that you have created a client certificate or a server certificate.
For more information about how to call an operation to create a client certificate, see the following topics:
[CreateClientCertificate](https://help.aliyun.com/document_detail/330873.html)
[CreateClientCertificateWithCsr](https://help.aliyun.com/document_detail/330875.html)
For more information about how to call an operation to create a server certificate, see the following topics:
[CreateServerCertificate](https://help.aliyun.com/document_detail/330877.html)
[CreateServerCertificateWithCsr](https://help.aliyun.com/document_detail/330878.html)
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeClientCertificateRequest
@return DescribeClientCertificateResponse
func (*Client) DescribeClientCertificateStatus ¶
func (client *Client) DescribeClientCertificateStatus(request *DescribeClientCertificateStatusRequest) (_result *DescribeClientCertificateStatusResponse, _err error)
Summary:
Queries the status information about client certificates and server certificates by using the unique identifiers of the certificates.
Description:
You can call the DescribeClientCertificateStatus operation to query the status information about multiple client certificates or server certificates at a time by using the unique identifiers of the certificates. For example, you can check whether a certificate is revoked.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeClientCertificateStatusRequest
@return DescribeClientCertificateStatusResponse
func (*Client) DescribeClientCertificateStatusWithOptions ¶
func (client *Client) DescribeClientCertificateStatusWithOptions(request *DescribeClientCertificateStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeClientCertificateStatusResponse, _err error)
Summary:
Queries the status information about client certificates and server certificates by using the unique identifiers of the certificates.
Description:
You can call the DescribeClientCertificateStatus operation to query the status information about multiple client certificates or server certificates at a time by using the unique identifiers of the certificates. For example, you can check whether a certificate is revoked.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeClientCertificateStatusRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClientCertificateStatusResponse
func (*Client) DescribeClientCertificateWithOptions ¶
func (client *Client) DescribeClientCertificateWithOptions(request *DescribeClientCertificateRequest, runtime *util.RuntimeOptions) (_result *DescribeClientCertificateResponse, _err error)
Summary:
Queries the details about a client certificate or a server certificate by using the unique identifier of the certificate.
Description:
You can call the DescribeClientCertificate operation to query the details about a client certificate or a server certificate by using the unique identifier of the certificate. The details include the serial number, user information, content, and status of each certificate.
Before you call this operation, make sure that you have created a client certificate or a server certificate.
For more information about how to call an operation to create a client certificate, see the following topics:
[CreateClientCertificate](https://help.aliyun.com/document_detail/330873.html)
[CreateClientCertificateWithCsr](https://help.aliyun.com/document_detail/330875.html)
For more information about how to call an operation to create a server certificate, see the following topics:
[CreateServerCertificate](https://help.aliyun.com/document_detail/330877.html)
[CreateServerCertificateWithCsr](https://help.aliyun.com/document_detail/330878.html)
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeClientCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClientCertificateResponse
func (*Client) GetCAInstanceStatus ¶
func (client *Client) GetCAInstanceStatus(request *GetCAInstanceStatusRequest) (_result *GetCAInstanceStatusResponse, _err error)
Summary:
Queries the status information about a private root certificate authority (CA) instance or a private intermediate CA instance that you purchase by using the Certificate Management Service console.
Description:
## Usage notes
You can call the GetCAInstanceStatus operation to query the status information of a private CA instance by using the ID of the instance. The instance is purchased by using the SSL Certificates Service console. The status information includes the status of the private CA instance, the number of certificates that can be issued by using the private CA instance, and the number of issued certificates.
Before you call this operation, make sure that you have purchased a private CA by using the [SSL Certificates Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Create a private CA](https://help.aliyun.com/document_detail/208553.html).
@param request - GetCAInstanceStatusRequest
@return GetCAInstanceStatusResponse
func (*Client) GetCAInstanceStatusWithOptions ¶
func (client *Client) GetCAInstanceStatusWithOptions(request *GetCAInstanceStatusRequest, runtime *util.RuntimeOptions) (_result *GetCAInstanceStatusResponse, _err error)
Summary:
Queries the status information about a private root certificate authority (CA) instance or a private intermediate CA instance that you purchase by using the Certificate Management Service console.
Description:
## Usage notes
You can call the GetCAInstanceStatus operation to query the status information of a private CA instance by using the ID of the instance. The instance is purchased by using the SSL Certificates Service console. The status information includes the status of the private CA instance, the number of certificates that can be issued by using the private CA instance, and the number of issued certificates.
Before you call this operation, make sure that you have purchased a private CA by using the [SSL Certificates Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Create a private CA](https://help.aliyun.com/document_detail/208553.html).
@param request - GetCAInstanceStatusRequest
@param runtime - runtime options for this request RuntimeOptions
@return GetCAInstanceStatusResponse
func (*Client) GetEndpoint ¶
func (*Client) ListClientCertificate ¶
func (client *Client) ListClientCertificate(request *ListClientCertificateRequest) (_result *ListClientCertificateResponse, _err error)
Summary:
Queries the details about all client certificates and server certificates.
Description:
You can call the ListClientCertificate operation to perform a paged query of the details about all client certificates and server certificates that you create. The details include the unique identifier, serial number, user information, content, and status of each certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ListClientCertificateRequest
@return ListClientCertificateResponse
func (*Client) ListClientCertificateWithOptions ¶
func (client *Client) ListClientCertificateWithOptions(request *ListClientCertificateRequest, runtime *util.RuntimeOptions) (_result *ListClientCertificateResponse, _err error)
Summary:
Queries the details about all client certificates and server certificates.
Description:
You can call the ListClientCertificate operation to perform a paged query of the details about all client certificates and server certificates that you create. The details include the unique identifier, serial number, user information, content, and status of each certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ListClientCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListClientCertificateResponse
func (*Client) ListRevokeCertificate ¶
func (client *Client) ListRevokeCertificate(request *ListRevokeCertificateRequest) (_result *ListRevokeCertificateResponse, _err error)
Summary:
Queries the details about all client certificates and server certificates that are revoked.
Description:
You can call the ListRevokeCertificate operation to perform a paged query of the details about all revoked client certificates and server certificates. The details include the unique identifier, serial number, and revocation date of each certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ListRevokeCertificateRequest
@return ListRevokeCertificateResponse
func (*Client) ListRevokeCertificateWithOptions ¶
func (client *Client) ListRevokeCertificateWithOptions(request *ListRevokeCertificateRequest, runtime *util.RuntimeOptions) (_result *ListRevokeCertificateResponse, _err error)
Summary:
Queries the details about all client certificates and server certificates that are revoked.
Description:
You can call the ListRevokeCertificate operation to perform a paged query of the details about all revoked client certificates and server certificates. The details include the unique identifier, serial number, and revocation date of each certificate.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ListRevokeCertificateRequest
@param runtime - runtime options for this request RuntimeOptions
@return ListRevokeCertificateResponse
func (*Client) UpdateCACertificateStatus ¶
func (client *Client) UpdateCACertificateStatus(request *UpdateCACertificateStatusRequest) (_result *UpdateCACertificateStatusResponse, _err error)
Summary:
Changes the status of a root certificate authority (CA) certificate or an intermediate CA certificate from ISSUE to REVOKE.
Description:
After a CA certificate is created, the CA certificate is in the ISSUE state by default. You can call the UpdateCACertificateStatus operation to change the status of a CA certificate from ISSUE to REVOKE. If a CA certificate is in the ISSUE state, the CA certificate can be used to issue certificates. If a CA certificate is in the REVOKE state, the CA certificate cannot be used to issue certificates, and the certificates that are issued from the CA certificate become invalid.
Before you call this operation, make sure that you have created a root CA by calling the [CreateRootCACertificate] operation or an intermediate CA certificate by calling the [CreateSubCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - UpdateCACertificateStatusRequest
@return UpdateCACertificateStatusResponse
func (*Client) UpdateCACertificateStatusWithOptions ¶
func (client *Client) UpdateCACertificateStatusWithOptions(request *UpdateCACertificateStatusRequest, runtime *util.RuntimeOptions) (_result *UpdateCACertificateStatusResponse, _err error)
Summary:
Changes the status of a root certificate authority (CA) certificate or an intermediate CA certificate from ISSUE to REVOKE.
Description:
After a CA certificate is created, the CA certificate is in the ISSUE state by default. You can call the UpdateCACertificateStatus operation to change the status of a CA certificate from ISSUE to REVOKE. If a CA certificate is in the ISSUE state, the CA certificate can be used to issue certificates. If a CA certificate is in the REVOKE state, the CA certificate cannot be used to issue certificates, and the certificates that are issued from the CA certificate become invalid.
Before you call this operation, make sure that you have created a root CA by calling the [CreateRootCACertificate] operation or an intermediate CA certificate by calling the [CreateSubCACertificate] operation.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - UpdateCACertificateStatusRequest
@param runtime - runtime options for this request RuntimeOptions
@return UpdateCACertificateStatusResponse
type CreateClientCertificateRequest ¶
type CreateClientCertificateRequest struct { // The expiration time of the client certificate. This value is a UNIX timestamp. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1665819958 AfterTime *int64 `json:"AfterTime,omitempty" xml:"AfterTime,omitempty"` // The key algorithm of the client certificate. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **ECC_384**: The signature algorithm is Sha256WithECDSA. // // - **ECC_512**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of the client certificate must be the same with the encryption algorithm of the intermediate certificate authority (CA) certificate. The key length can be different. For example, if the key algorithm of the intermediate CA certificate is RSA_2048, the key algorithm of the client certificate must be RSA_1024, RSA_2048, or RSA_4096. // // > You can call the [DescribeCACertificate] operation to query the key algorithm of an intermediate CA certificate. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance time of the client certificate. This value is a UNIX timestamp. The default value is the time when you call this operation. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1634283958 BeforeTime *int64 `json:"BeforeTime,omitempty" xml:"BeforeTime,omitempty"` // The name of the client certificate user. In most cases, the user of a client certificate is an individual, a company, an organization, or an application. We recommend that you enter the common name of a user. Examples: Bob, Alibaba, Alibaba Cloud password platform, and Tmall Genie. // // example: // // aliyun CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The country in which the organization is located. Default value: CN. // // example: // // CN Country *string `json:"Country,omitempty" xml:"Country,omitempty"` // The validity period of the client certificate. Unit: day. You must specify at least one of the **Days**, **BeforeTime**, and **AfterTime* - parameters. The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. The following list describes how to specify these parameters: // // - If you specify the **Days* - parameter, you can specify both the **BeforeTime* - and **AfterTime* - parameters or leave them both empty. // // - If you do not specify the **Days* - parameter, you must specify both the **BeforeTime* - and **AfterTime* - parameters. // // > // // - If you specify the **Days**, **BeforeTime**, and **AfterTime* - parameters at the same time, the validity period of the client certificate is determined by the value of the **Days* - parameter. // // - The validity period of the client certificate cannot exceed the validity period of the intermediate CA certificate. You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/465954.html) operation to query the validity period of an intermediate CA certificate. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // include the CRL address. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *int64 `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // Specifies whether to return the certificate. Valid values: // // - **0**: does not return the certificate. This is the default value. // // - **1**: returns the certificate. // // - **2**: returns the certificate and the certificate chain of the certificate. // // example: // // 1 Immediately *int32 `json:"Immediately,omitempty" xml:"Immediately,omitempty"` // The name of the city in which the organization is located. The value can contain letters. The default value is the name of the city in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The validity period of the client certificate. Unit: months. // // example: // // 1 Months *int32 `json:"Months,omitempty" xml:"Months,omitempty"` // The name of the organization. Default value: Alibaba Inc. // // example: // // Alibaba Cloud Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department. Default value: Aliyun CDN. // // example: // // IT OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate CA certificate from which the server certificate is issued. // // > You can call the [DescribeCACertificateList] operation to query the unique identifier of an intermediate CA certificate. // // example: // // 273ae6bb538d538c70c01f81jh2**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The type of the Subject Alternative Name (SAN) extension that is supported by the client certificate. Valid values: // // - **1**: an email address // // - **6**: a Uniform Resource Identifier (URI) // // example: // // 1 SanType *int32 `json:"SanType,omitempty" xml:"SanType,omitempty"` // The content of the extension. You can specify multiple SAN extensions. If you want to specify multiple SAN extensions, separate them with commas (,). // // example: // // somebody@example.com SanValue *string `json:"SanValue,omitempty" xml:"SanValue,omitempty"` // The province, municipality, or autonomous region in which the organization is located. The value can contain letters. The default value is the name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the client certificate. Unit: years. // // example: // // 5 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateClientCertificateRequest) GoString ¶
func (s CreateClientCertificateRequest) GoString() string
func (*CreateClientCertificateRequest) SetAfterTime ¶
func (s *CreateClientCertificateRequest) SetAfterTime(v int64) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetAlgorithm ¶
func (s *CreateClientCertificateRequest) SetAlgorithm(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetBeforeTime ¶
func (s *CreateClientCertificateRequest) SetBeforeTime(v int64) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetCommonName ¶
func (s *CreateClientCertificateRequest) SetCommonName(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetCountry ¶
func (s *CreateClientCertificateRequest) SetCountry(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetDays ¶
func (s *CreateClientCertificateRequest) SetDays(v int32) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateClientCertificateRequest) SetEnableCrl(v int64) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetImmediately ¶
func (s *CreateClientCertificateRequest) SetImmediately(v int32) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetLocality ¶
func (s *CreateClientCertificateRequest) SetLocality(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetMonths ¶
func (s *CreateClientCertificateRequest) SetMonths(v int32) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetOrganization ¶
func (s *CreateClientCertificateRequest) SetOrganization(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetOrganizationUnit ¶
func (s *CreateClientCertificateRequest) SetOrganizationUnit(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetParentIdentifier ¶
func (s *CreateClientCertificateRequest) SetParentIdentifier(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetSanType ¶
func (s *CreateClientCertificateRequest) SetSanType(v int32) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetSanValue ¶
func (s *CreateClientCertificateRequest) SetSanValue(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetState ¶
func (s *CreateClientCertificateRequest) SetState(v string) *CreateClientCertificateRequest
func (*CreateClientCertificateRequest) SetYears ¶
func (s *CreateClientCertificateRequest) SetYears(v int32) *CreateClientCertificateRequest
func (CreateClientCertificateRequest) String ¶
func (s CreateClientCertificateRequest) String() string
type CreateClientCertificateResponse ¶
type CreateClientCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateClientCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateClientCertificateResponse) GoString ¶
func (s CreateClientCertificateResponse) GoString() string
func (*CreateClientCertificateResponse) SetBody ¶
func (s *CreateClientCertificateResponse) SetBody(v *CreateClientCertificateResponseBody) *CreateClientCertificateResponse
func (*CreateClientCertificateResponse) SetHeaders ¶
func (s *CreateClientCertificateResponse) SetHeaders(v map[string]*string) *CreateClientCertificateResponse
func (*CreateClientCertificateResponse) SetStatusCode ¶
func (s *CreateClientCertificateResponse) SetStatusCode(v int32) *CreateClientCertificateResponse
func (CreateClientCertificateResponse) String ¶
func (s CreateClientCertificateResponse) String() string
type CreateClientCertificateResponseBody ¶
type CreateClientCertificateResponseBody struct { // The certificate chain of the client certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the client certificate. // // example: // // 190ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 8C467B38-3910-447D-87BC-AC049166F216 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the certificate. // // example: // // 0f29522da2dae7a1c4b6ab7132ad3c06 SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The content of the client certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (CreateClientCertificateResponseBody) GoString ¶
func (s CreateClientCertificateResponseBody) GoString() string
func (*CreateClientCertificateResponseBody) SetCertificateChain ¶
func (s *CreateClientCertificateResponseBody) SetCertificateChain(v string) *CreateClientCertificateResponseBody
func (*CreateClientCertificateResponseBody) SetIdentifier ¶
func (s *CreateClientCertificateResponseBody) SetIdentifier(v string) *CreateClientCertificateResponseBody
func (*CreateClientCertificateResponseBody) SetRequestId ¶
func (s *CreateClientCertificateResponseBody) SetRequestId(v string) *CreateClientCertificateResponseBody
func (*CreateClientCertificateResponseBody) SetSerialNumber ¶ added in v1.0.14
func (s *CreateClientCertificateResponseBody) SetSerialNumber(v string) *CreateClientCertificateResponseBody
func (*CreateClientCertificateResponseBody) SetX509Certificate ¶
func (s *CreateClientCertificateResponseBody) SetX509Certificate(v string) *CreateClientCertificateResponseBody
func (CreateClientCertificateResponseBody) String ¶
func (s CreateClientCertificateResponseBody) String() string
type CreateClientCertificateWithCsrRequest ¶
type CreateClientCertificateWithCsrRequest struct { // The expiration time of the client certificate. This value is a UNIX timestamp. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1665819958 AfterTime *int64 `json:"AfterTime,omitempty" xml:"AfterTime,omitempty"` // The key algorithm of the client certificate. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **ECC_384**: The signature algorithm is Sha256WithECDSA. // // - **ECC_512**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of the client certificate must be the same with the encryption algorithm of the intermediate CA certificate. The key length can be different. For example, if the key algorithm of the intermediate CA certificate is RSA_2048, the key algorithm of the client certificate must be RSA_1024, RSA_2048, or RSA_4096. // // > You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the key algorithm of an intermediate CA certificate. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance time of the client certificate. This value is a UNIX timestamp. The default value is the time when you call this operation. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1634283958 BeforeTime *int64 `json:"BeforeTime,omitempty" xml:"BeforeTime,omitempty"` // The common name of the certificate. The value can contain letters. // // > If you specify the **CsrPemString* - parameter, the value of the **CommonName* - parameter is determined by the **CsrPemString* - parameter. // // example: // // aliyundoc.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located, such as **CN* - and **US**. // // example: // // CN Country *string `json:"Country,omitempty" xml:"Country,omitempty"` // The content of the CSR file. You can generate a CSR file by using the OpenSSL tool or Keytool. For more information, see [How do I create a CSR file?](https://help.aliyun.com/document_detail/42218.html) You can also create a CSR file in the Certificate Management Service console. For more information, see [Create a CSR](https://help.aliyun.com/document_detail/313297.html). // // example: // // -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST----- Csr *string `json:"Csr,omitempty" xml:"Csr,omitempty"` // The validity period of the client certificate. Unit: days. You must specify at least one of the **Days**, **BeforeTime**, and **AfterTime* - parameters. The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. The following list describes how to specify these parameters: // // - If you specify the **Days* - parameter, you can specify both the **BeforeTime* - and **AfterTime* - parameters or leave them both empty.******** // // - If you do not specify the **Days* - parameter, you must specify both the **BeforeTime* - and **AfterTime* - parameters. // // > // // - If you specify the **Days**, **BeforeTime**, and **AfterTime* - parameters together, the validity period of the client certificate is determined by the value of the **Days* - parameter. // // - The validity period of the client certificate cannot exceed the validity period of the intermediate CA certificate. You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the validity period of an intermediate CA certificate. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // include the CRL address. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *int64 `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // Specifies whether to return the certificate. Valid values: // // - **0**: does not return the certificate. This is the default value. // // - **1**: returns the certificate. // // - **2**: returns the certificate and the certificate chain of the certificate. // // example: // // 1 Immediately *int32 `json:"Immediately,omitempty" xml:"Immediately,omitempty"` // The name of the city in which the organization is located. The value can contain letters. The default value is the name of the city in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The validity period of the client certificate. Unit: months. // // example: // // 12 Months *int32 `json:"Months,omitempty" xml:"Months,omitempty"` // The name of the organization. Default value: Alibaba Inc. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department. Default value: Aliyun CDN. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate CA certificate from which the client certificate is issued. // // > You can call the [DescribeCACertificateList](https://help.aliyun.com/document_detail/328095.html) operation to query the unique identifier of an intermediate CA certificate. // // example: // // 270ae6bb538d538c70c01f81fg3**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The type of the Subject Alternative Name (SAN) extension that is supported by the client certificate. Valid values: // // - **1**: an email address // // - **6**: a Uniform Resource Identifier (URI) // // example: // // 1 SanType *int32 `json:"SanType,omitempty" xml:"SanType,omitempty"` // The content of the extension. You can specify multiple SAN extensions. If you want to specify multiple SAN extensions, separate them with commas (,). // // example: // // somebody@example.com SanValue *string `json:"SanValue,omitempty" xml:"SanValue,omitempty"` // The province, municipality, or autonomous region in which the organization is located. The value can contain letters. The default value is the name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the client certificate. Unit: years. // // example: // // 1 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateClientCertificateWithCsrRequest) GoString ¶
func (s CreateClientCertificateWithCsrRequest) GoString() string
func (*CreateClientCertificateWithCsrRequest) SetAfterTime ¶
func (s *CreateClientCertificateWithCsrRequest) SetAfterTime(v int64) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetAlgorithm ¶
func (s *CreateClientCertificateWithCsrRequest) SetAlgorithm(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetBeforeTime ¶
func (s *CreateClientCertificateWithCsrRequest) SetBeforeTime(v int64) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetCommonName ¶
func (s *CreateClientCertificateWithCsrRequest) SetCommonName(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetCountry ¶
func (s *CreateClientCertificateWithCsrRequest) SetCountry(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetCsr ¶
func (s *CreateClientCertificateWithCsrRequest) SetCsr(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetDays ¶
func (s *CreateClientCertificateWithCsrRequest) SetDays(v int32) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateClientCertificateWithCsrRequest) SetEnableCrl(v int64) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetImmediately ¶
func (s *CreateClientCertificateWithCsrRequest) SetImmediately(v int32) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetLocality ¶
func (s *CreateClientCertificateWithCsrRequest) SetLocality(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetMonths ¶
func (s *CreateClientCertificateWithCsrRequest) SetMonths(v int32) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetOrganization ¶
func (s *CreateClientCertificateWithCsrRequest) SetOrganization(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetOrganizationUnit ¶
func (s *CreateClientCertificateWithCsrRequest) SetOrganizationUnit(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetParentIdentifier ¶
func (s *CreateClientCertificateWithCsrRequest) SetParentIdentifier(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetSanType ¶
func (s *CreateClientCertificateWithCsrRequest) SetSanType(v int32) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetSanValue ¶
func (s *CreateClientCertificateWithCsrRequest) SetSanValue(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetState ¶
func (s *CreateClientCertificateWithCsrRequest) SetState(v string) *CreateClientCertificateWithCsrRequest
func (*CreateClientCertificateWithCsrRequest) SetYears ¶
func (s *CreateClientCertificateWithCsrRequest) SetYears(v int32) *CreateClientCertificateWithCsrRequest
func (CreateClientCertificateWithCsrRequest) String ¶
func (s CreateClientCertificateWithCsrRequest) String() string
type CreateClientCertificateWithCsrResponse ¶
type CreateClientCertificateWithCsrResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateClientCertificateWithCsrResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateClientCertificateWithCsrResponse) GoString ¶
func (s CreateClientCertificateWithCsrResponse) GoString() string
func (*CreateClientCertificateWithCsrResponse) SetHeaders ¶
func (s *CreateClientCertificateWithCsrResponse) SetHeaders(v map[string]*string) *CreateClientCertificateWithCsrResponse
func (*CreateClientCertificateWithCsrResponse) SetStatusCode ¶
func (s *CreateClientCertificateWithCsrResponse) SetStatusCode(v int32) *CreateClientCertificateWithCsrResponse
func (CreateClientCertificateWithCsrResponse) String ¶
func (s CreateClientCertificateWithCsrResponse) String() string
type CreateClientCertificateWithCsrResponseBody ¶
type CreateClientCertificateWithCsrResponseBody struct { // The certificate chain of the client certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the client certificate. // // example: // // 200ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 31C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the server certificate. // // example: // // 0f29522da2dae7a1c4b6ab7132ad3c06 SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The content of the client certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (CreateClientCertificateWithCsrResponseBody) GoString ¶
func (s CreateClientCertificateWithCsrResponseBody) GoString() string
func (*CreateClientCertificateWithCsrResponseBody) SetCertificateChain ¶
func (s *CreateClientCertificateWithCsrResponseBody) SetCertificateChain(v string) *CreateClientCertificateWithCsrResponseBody
func (*CreateClientCertificateWithCsrResponseBody) SetIdentifier ¶
func (s *CreateClientCertificateWithCsrResponseBody) SetIdentifier(v string) *CreateClientCertificateWithCsrResponseBody
func (*CreateClientCertificateWithCsrResponseBody) SetRequestId ¶
func (s *CreateClientCertificateWithCsrResponseBody) SetRequestId(v string) *CreateClientCertificateWithCsrResponseBody
func (*CreateClientCertificateWithCsrResponseBody) SetSerialNumber ¶ added in v1.0.14
func (s *CreateClientCertificateWithCsrResponseBody) SetSerialNumber(v string) *CreateClientCertificateWithCsrResponseBody
func (*CreateClientCertificateWithCsrResponseBody) SetX509Certificate ¶
func (s *CreateClientCertificateWithCsrResponseBody) SetX509Certificate(v string) *CreateClientCertificateWithCsrResponseBody
func (CreateClientCertificateWithCsrResponseBody) String ¶
func (s CreateClientCertificateWithCsrResponseBody) String() string
type CreateCustomCertificateRequest ¶ added in v1.0.15
type CreateCustomCertificateRequest struct { // The passthrough parameters. ApiPassthrough *CreateCustomCertificateRequestApiPassthrough `json:"ApiPassthrough,omitempty" xml:"ApiPassthrough,omitempty" type:"Struct"` // The content of the CSR. You can generate a CSR by using the OpenSSL tool or the Keytool tool. For more information, see [How do I create a CSR file?](https://help.aliyun.com/document_detail/42218.html) // // This parameter is required. // // example: // // -----BEGIN CERTIFICATE REQUEST----- // // MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ // // ... // // ... // // ... // // vbIgMQIhAKHDWD6/WAMbtezAt4bysJ/BZIDz1jPWuUR5GV4TJ/mS // // -----END CERTIFICATE REQUEST----- Csr *string `json:"Csr,omitempty" xml:"Csr,omitempty"` // include the CRL address. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *int64 `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // Specifies whether to immediately issue the certificate. Valid values: // // - 0: asynchronously issues the certificate. // // - 1: immediately issues the certificate. // // - 2: immediately issues the certificate and returns the certificate chain. // // example: // // 0 Immediately *int32 `json:"Immediately,omitempty" xml:"Immediately,omitempty"` // The identifier of the certificate. // // This parameter is required. // // example: // // 1ed4068c-6f1b-6deb-8e32-3f8439a851cb ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The validity period of the certificate. The value cannot exceed the validity period of the certificate instance. Relative time and absolute time are supported. // // Units of relative time: year, month, and day. // // - Use y to specify years. // // - Use m to specify months. // // - Use d to specify days. // // Absolute time: Use Greenwich Mean Time (GMT). Format: `yyyy-MM-dd\\"T\\"HH:mm:ss\\"Z\\"` // // - Format of the end time: $NotAfter // // - Format of the start time and end time: $NotBefore/$NotAfter // // This parameter is required. // // example: // // Relative time: // // ● 1y // // ● 3m // // ● 7d // // Absolute time: // // ● 2006-01-02T15:04:05Z // // ● 2006-01-02T15:04:05Z/2023-03-09T17:48:13Z Validity *string `json:"Validity,omitempty" xml:"Validity,omitempty"` }
func (CreateCustomCertificateRequest) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequest) GoString() string
func (*CreateCustomCertificateRequest) SetApiPassthrough ¶ added in v1.0.15
func (s *CreateCustomCertificateRequest) SetApiPassthrough(v *CreateCustomCertificateRequestApiPassthrough) *CreateCustomCertificateRequest
func (*CreateCustomCertificateRequest) SetCsr ¶ added in v1.0.15
func (s *CreateCustomCertificateRequest) SetCsr(v string) *CreateCustomCertificateRequest
func (*CreateCustomCertificateRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateCustomCertificateRequest) SetEnableCrl(v int64) *CreateCustomCertificateRequest
func (*CreateCustomCertificateRequest) SetImmediately ¶ added in v1.0.15
func (s *CreateCustomCertificateRequest) SetImmediately(v int32) *CreateCustomCertificateRequest
func (*CreateCustomCertificateRequest) SetParentIdentifier ¶ added in v1.0.15
func (s *CreateCustomCertificateRequest) SetParentIdentifier(v string) *CreateCustomCertificateRequest
func (*CreateCustomCertificateRequest) SetValidity ¶ added in v1.0.15
func (s *CreateCustomCertificateRequest) SetValidity(v string) *CreateCustomCertificateRequest
func (CreateCustomCertificateRequest) String ¶ added in v1.0.15
func (s CreateCustomCertificateRequest) String() string
type CreateCustomCertificateRequestApiPassthrough ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthrough struct { // The extensions of the certificate. Extensions *CreateCustomCertificateRequestApiPassthroughExtensions `json:"Extensions,omitempty" xml:"Extensions,omitempty" type:"Struct"` // The serial number MUST be a positive integer assigned by the CA to each certificate. // // example: // // 16889526086333 SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The name of the entity that uses the certificate. Subject *CreateCustomCertificateRequestApiPassthroughSubject `json:"Subject,omitempty" xml:"Subject,omitempty" type:"Struct"` }
func (CreateCustomCertificateRequestApiPassthrough) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthrough) GoString() string
func (*CreateCustomCertificateRequestApiPassthrough) SetExtensions ¶ added in v1.0.15
func (*CreateCustomCertificateRequestApiPassthrough) SetSerialNumber ¶ added in v1.0.16
func (s *CreateCustomCertificateRequestApiPassthrough) SetSerialNumber(v string) *CreateCustomCertificateRequestApiPassthrough
func (*CreateCustomCertificateRequestApiPassthrough) SetSubject ¶ added in v1.0.15
func (CreateCustomCertificateRequestApiPassthrough) String ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthrough) String() string
type CreateCustomCertificateRequestApiPassthroughExtensions ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthroughExtensions struct { // If it is a necessary parameter, the critical list contains the parameter name. Criticals []*string `json:"Criticals,omitempty" xml:"Criticals,omitempty" type:"Repeated"` // The extended key usage. ExtendedKeyUsages []*string `json:"ExtendedKeyUsages,omitempty" xml:"ExtendedKeyUsages,omitempty" type:"Repeated"` // The key usage. KeyUsage *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage `json:"KeyUsage,omitempty" xml:"KeyUsage,omitempty" type:"Struct"` // The aliases of the entities. SubjectAlternativeNames []*CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames `json:"SubjectAlternativeNames,omitempty" xml:"SubjectAlternativeNames,omitempty" type:"Repeated"` }
func (CreateCustomCertificateRequestApiPassthroughExtensions) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughExtensions) GoString() string
func (*CreateCustomCertificateRequestApiPassthroughExtensions) SetCriticals ¶ added in v1.0.16
func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetCriticals(v []*string) *CreateCustomCertificateRequestApiPassthroughExtensions
func (*CreateCustomCertificateRequestApiPassthroughExtensions) SetExtendedKeyUsages ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensions) SetExtendedKeyUsages(v []*string) *CreateCustomCertificateRequestApiPassthroughExtensions
func (*CreateCustomCertificateRequestApiPassthroughExtensions) SetKeyUsage ¶ added in v1.0.15
func (*CreateCustomCertificateRequestApiPassthroughExtensions) SetSubjectAlternativeNames ¶ added in v1.0.15
func (CreateCustomCertificateRequestApiPassthroughExtensions) String ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughExtensions) String() string
type CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage struct { // The original name of the parameter is NonRepudiation. // // example: // // false ContentCommitment *bool `json:"ContentCommitment,omitempty" xml:"ContentCommitment,omitempty"` // Specifies whether the key can be used for data encryption. // // example: // // false DataEncipherment *bool `json:"DataEncipherment,omitempty" xml:"DataEncipherment,omitempty"` // Specifies whether the key can be used only for data decryption. // // example: // // false DecipherOnly *bool `json:"DecipherOnly,omitempty" xml:"DecipherOnly,omitempty"` // Specifies whether the key can be used for digital signing. If you set this parameter to true, the private key of the certificate can be used to generate digital signatures, and the public key of the certificate can be used to verify digital signatures. // // example: // // true DigitalSignature *bool `json:"DigitalSignature,omitempty" xml:"DigitalSignature,omitempty"` // Specifies whether the key can be used only for data encryption. // // example: // // false EncipherOnly *bool `json:"EncipherOnly,omitempty" xml:"EncipherOnly,omitempty"` // Specifies whether the key can be used for key agreement. // // example: // // false KeyAgreement *bool `json:"KeyAgreement,omitempty" xml:"KeyAgreement,omitempty"` // Specifies whether the key can be used for data encipherment. // // example: // // false KeyEncipherment *bool `json:"KeyEncipherment,omitempty" xml:"KeyEncipherment,omitempty"` // Specifies whether the key can be used for non-repudiation. This parameter is renamed ContentCommitment in the X.509 standard. // // example: // // false NonRepudiation *bool `json:"NonRepudiation,omitempty" xml:"NonRepudiation,omitempty"` }
func (CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) GoString() string
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetContentCommitment ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetContentCommitment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDataEncipherment ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDataEncipherment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDecipherOnly ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDecipherOnly(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDigitalSignature ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetDigitalSignature(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetEncipherOnly ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetEncipherOnly(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyAgreement ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyAgreement(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyEncipherment ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetKeyEncipherment(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (*CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetNonRepudiation ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) SetNonRepudiation(v bool) *CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage
func (CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) String ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughExtensionsKeyUsage) String() string
type CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames struct { // The type of the alias. Valid values: // // - rfc822Name: email address // // - dNSName: domain name // // - uniformResourceIdentifier: URI // // - iPAddress: IP address // // This parameter is required. // // example: // // dNSName Type *string `json:"Type,omitempty" xml:"Type,omitempty"` // The alias that meets the requirement of a specified type. // // example: // // rfc822Name: // // exmaple@certqa.cn // // dNSName: // // www.certqa.cn // // uniformResourceIdentifier: // // acs:ecs:regionid:15619224785*****:instance/i-bp1bzvz55uz27hf***** // // iPAddress: // // 127.0.0.1 Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) GoString() string
func (*CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) SetType ¶ added in v1.0.15
func (*CreateCustomCertificateRequestApiPassthroughExtensionsSubjectAlternativeNames) SetValue ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthroughSubject ¶ added in v1.0.15
type CreateCustomCertificateRequestApiPassthroughSubject struct { // The common name of the certificate user. // // example: // // Bob CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country. The value is an alpha-2 country code that complies with the ISO 3166-1 standard. For more information about country codes, visit <https://www.iso.org/obp/ui/#search/code/>. // // example: // // CN Country *string `json:"Country,omitempty" xml:"Country,omitempty"` // Customize the Subject attributes of the certificate. CustomAttributes []*CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes `json:"CustomAttributes,omitempty" xml:"CustomAttributes,omitempty" type:"Repeated"` // The name of the city in which the organization is located. The value can contain letters. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The name of the organization. // // example: // // XXX company Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department or branch in the organization. // // example: // // XXX department OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The name of the province or state in which the organization associated with the certificate is located. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` }
func (CreateCustomCertificateRequestApiPassthroughSubject) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughSubject) GoString() string
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetCommonName ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetCommonName(v string) *CreateCustomCertificateRequestApiPassthroughSubject
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetCountry ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetCountry(v string) *CreateCustomCertificateRequestApiPassthroughSubject
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetCustomAttributes ¶ added in v1.0.16
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetLocality ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetLocality(v string) *CreateCustomCertificateRequestApiPassthroughSubject
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetOrganization ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetOrganization(v string) *CreateCustomCertificateRequestApiPassthroughSubject
func (*CreateCustomCertificateRequestApiPassthroughSubject) SetOrganizationUnit ¶ added in v1.0.15
func (s *CreateCustomCertificateRequestApiPassthroughSubject) SetOrganizationUnit(v string) *CreateCustomCertificateRequestApiPassthroughSubject
func (CreateCustomCertificateRequestApiPassthroughSubject) String ¶ added in v1.0.15
func (s CreateCustomCertificateRequestApiPassthroughSubject) String() string
type CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes ¶ added in v1.0.16
type CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes struct { // Custom attribute type as: // // - 2.5.4.6 : country // // - 2.5.4.10 : organization // // - 2.5.4.11 : organizational unit // // - 2.5.4.12 : title // // - 2.5.4.3 : common name // // - 2.5.4.9 : street // // - 2.5.4.5 : serial number // // - 2.5.4.7 : locality // // - 2.5.4.8 : state // // - 1.3.6.1.4.1.37244.1.1 : Matter Operational Certificate - Node ID // // - 1.3.6.1.4.1.37244.1.5 : Matter Operational Certificate - Fabric ID // // - 1.3.6.1.4.1.37244.2.1 : Matter Device Attestation Certificate Vender ID (VID) // // - 1.3.6.1.4.1.37244.2.2 : Matter Device Attestation Certificate Product ID (PID). // // example: // // 2.5.4.3 ObjectIdentifier *string `json:"ObjectIdentifier,omitempty" xml:"ObjectIdentifier,omitempty"` // Custom attribute value. // // example: // // Aliyun Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) GoString ¶ added in v1.0.16
func (s CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) GoString() string
func (*CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) SetObjectIdentifier ¶ added in v1.0.16
func (s *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) SetObjectIdentifier(v string) *CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes
func (*CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) SetValue ¶ added in v1.0.16
func (CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) String ¶ added in v1.0.16
func (s CreateCustomCertificateRequestApiPassthroughSubjectCustomAttributes) String() string
type CreateCustomCertificateResponse ¶ added in v1.0.15
type CreateCustomCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateCustomCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateCustomCertificateResponse) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateResponse) GoString() string
func (*CreateCustomCertificateResponse) SetBody ¶ added in v1.0.15
func (s *CreateCustomCertificateResponse) SetBody(v *CreateCustomCertificateResponseBody) *CreateCustomCertificateResponse
func (*CreateCustomCertificateResponse) SetHeaders ¶ added in v1.0.15
func (s *CreateCustomCertificateResponse) SetHeaders(v map[string]*string) *CreateCustomCertificateResponse
func (*CreateCustomCertificateResponse) SetStatusCode ¶ added in v1.0.15
func (s *CreateCustomCertificateResponse) SetStatusCode(v int32) *CreateCustomCertificateResponse
func (CreateCustomCertificateResponse) String ¶ added in v1.0.15
func (s CreateCustomCertificateResponse) String() string
type CreateCustomCertificateResponseBody ¶ added in v1.0.15
type CreateCustomCertificateResponseBody struct { // The content of the certificate. This parameter is returned only if Immediately is set to 1 or 2. // // example: // // -----BEGIN CERTIFICATE----- // // MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/ // // ... // // ... // // ... // // KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg== // // -----END CERTIFICATE----- Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"` // The certificate chain of the certificate. This parameter is returned only if Immediately is set to 2. // // example: // // -----BEGIN CERTIFICATE----- // // MIIBfzCCATGgAwIBAgIUfI5kSdcO2S0+LkpdL3b2VUJG10YwBQYDK2VwMDUxCzAJ // // ... // // ... // // ... // // ZYYG // // -----END CERTIFICATE----- // // -----BEGIN CERTIFICATE----- // // MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ // // ... // // ... // // ... // // KL5cUmF // // -----END CERTIFICATE----- CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The request ID. // // example: // // 12345678-1234-1234-1234-123456789ABC RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the certificate. This parameter is returned only if Immediately is set to 1 or 2. // // example: // // 084bde9cd233f0ddae33adc438cfbbbd**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` }
func (CreateCustomCertificateResponseBody) GoString ¶ added in v1.0.15
func (s CreateCustomCertificateResponseBody) GoString() string
func (*CreateCustomCertificateResponseBody) SetCertificate ¶ added in v1.0.15
func (s *CreateCustomCertificateResponseBody) SetCertificate(v string) *CreateCustomCertificateResponseBody
func (*CreateCustomCertificateResponseBody) SetCertificateChain ¶ added in v1.0.15
func (s *CreateCustomCertificateResponseBody) SetCertificateChain(v string) *CreateCustomCertificateResponseBody
func (*CreateCustomCertificateResponseBody) SetIdentifier ¶ added in v1.0.15
func (s *CreateCustomCertificateResponseBody) SetIdentifier(v string) *CreateCustomCertificateResponseBody
func (*CreateCustomCertificateResponseBody) SetRequestId ¶ added in v1.0.15
func (s *CreateCustomCertificateResponseBody) SetRequestId(v string) *CreateCustomCertificateResponseBody
func (*CreateCustomCertificateResponseBody) SetSerialNumber ¶ added in v1.0.15
func (s *CreateCustomCertificateResponseBody) SetSerialNumber(v string) *CreateCustomCertificateResponseBody
func (CreateCustomCertificateResponseBody) String ¶ added in v1.0.15
func (s CreateCustomCertificateResponseBody) String() string
type CreateRevokeClientCertificateRequest ¶
type CreateRevokeClientCertificateRequest struct { // The unique identifier of the client certificate or server certificate that you want to revoke. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // This parameter is required. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (CreateRevokeClientCertificateRequest) GoString ¶
func (s CreateRevokeClientCertificateRequest) GoString() string
func (*CreateRevokeClientCertificateRequest) SetIdentifier ¶
func (s *CreateRevokeClientCertificateRequest) SetIdentifier(v string) *CreateRevokeClientCertificateRequest
func (CreateRevokeClientCertificateRequest) String ¶
func (s CreateRevokeClientCertificateRequest) String() string
type CreateRevokeClientCertificateResponse ¶
type CreateRevokeClientCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateRevokeClientCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateRevokeClientCertificateResponse) GoString ¶
func (s CreateRevokeClientCertificateResponse) GoString() string
func (*CreateRevokeClientCertificateResponse) SetHeaders ¶
func (s *CreateRevokeClientCertificateResponse) SetHeaders(v map[string]*string) *CreateRevokeClientCertificateResponse
func (*CreateRevokeClientCertificateResponse) SetStatusCode ¶
func (s *CreateRevokeClientCertificateResponse) SetStatusCode(v int32) *CreateRevokeClientCertificateResponse
func (CreateRevokeClientCertificateResponse) String ¶
func (s CreateRevokeClientCertificateResponse) String() string
type CreateRevokeClientCertificateResponseBody ¶
type CreateRevokeClientCertificateResponseBody struct { // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateRevokeClientCertificateResponseBody) GoString ¶
func (s CreateRevokeClientCertificateResponseBody) GoString() string
func (*CreateRevokeClientCertificateResponseBody) SetRequestId ¶
func (s *CreateRevokeClientCertificateResponseBody) SetRequestId(v string) *CreateRevokeClientCertificateResponseBody
func (CreateRevokeClientCertificateResponseBody) String ¶
func (s CreateRevokeClientCertificateResponseBody) String() string
type CreateRootCACertificateRequest ¶
type CreateRootCACertificateRequest struct { // The key algorithm of the root CA certificate. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **ECC_384**: The signature algorithm is Sha256WithECDSA. // // - **ECC_512**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of the root CA certificate must be consistent with the **encryption algorithm* - of the private root CA instance that you purchase. For example, if the **encryption algorithm* - of the private root CA instance that you purchase is **RSA**, the key algorithm of the root CA certificate must be **RSA_1024**, **RSA_2048**, or **RSA_4096**. // // This parameter is required. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The common name or abbreviation of the organization. The value can contain letters. // // This parameter is required. // // example: // // Alibaba CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country or region in which the organization is located. You can enter an alpha-2 code. For example, you can use **CN* - to indicate China and use **US* - to indicate the United States. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // The name of the city in which the organization is located. The value can contain letters. // // This parameter is required. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The name of the organization that is associated with the root CA certificate. You can enter the name of your enterprise or company. The value can contain letters. // // This parameter is required. // // example: // // Alibaba Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department or branch in the organization. The value can contain letters. // // This parameter is required. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. The value can contain letters. // // This parameter is required. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the root CA certificate. Unit: years. // // > We recommend that you set this parameter to a value from 5 to 10. // // This parameter is required. // // example: // // 10 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateRootCACertificateRequest) GoString ¶
func (s CreateRootCACertificateRequest) GoString() string
func (*CreateRootCACertificateRequest) SetAlgorithm ¶
func (s *CreateRootCACertificateRequest) SetAlgorithm(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetCommonName ¶
func (s *CreateRootCACertificateRequest) SetCommonName(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetCountryCode ¶
func (s *CreateRootCACertificateRequest) SetCountryCode(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetLocality ¶
func (s *CreateRootCACertificateRequest) SetLocality(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetOrganization ¶
func (s *CreateRootCACertificateRequest) SetOrganization(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetOrganizationUnit ¶
func (s *CreateRootCACertificateRequest) SetOrganizationUnit(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetState ¶
func (s *CreateRootCACertificateRequest) SetState(v string) *CreateRootCACertificateRequest
func (*CreateRootCACertificateRequest) SetYears ¶
func (s *CreateRootCACertificateRequest) SetYears(v int32) *CreateRootCACertificateRequest
func (CreateRootCACertificateRequest) String ¶
func (s CreateRootCACertificateRequest) String() string
type CreateRootCACertificateResponse ¶
type CreateRootCACertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateRootCACertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateRootCACertificateResponse) GoString ¶
func (s CreateRootCACertificateResponse) GoString() string
func (*CreateRootCACertificateResponse) SetBody ¶
func (s *CreateRootCACertificateResponse) SetBody(v *CreateRootCACertificateResponseBody) *CreateRootCACertificateResponse
func (*CreateRootCACertificateResponse) SetHeaders ¶
func (s *CreateRootCACertificateResponse) SetHeaders(v map[string]*string) *CreateRootCACertificateResponse
func (*CreateRootCACertificateResponse) SetStatusCode ¶
func (s *CreateRootCACertificateResponse) SetStatusCode(v int32) *CreateRootCACertificateResponse
func (CreateRootCACertificateResponse) String ¶
func (s CreateRootCACertificateResponse) String() string
type CreateRootCACertificateResponseBody ¶
type CreateRootCACertificateResponseBody struct { // The root CA certificate in the PEM format. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"` // The certificate chain of the root CA certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the root CA certificate. // // example: // // 1a83bcbb89e562885e40aa0108f5**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 6D9B4C5F-7140-5B41-924C-329181DC00C1 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateRootCACertificateResponseBody) GoString ¶
func (s CreateRootCACertificateResponseBody) GoString() string
func (*CreateRootCACertificateResponseBody) SetCertificate ¶
func (s *CreateRootCACertificateResponseBody) SetCertificate(v string) *CreateRootCACertificateResponseBody
func (*CreateRootCACertificateResponseBody) SetCertificateChain ¶
func (s *CreateRootCACertificateResponseBody) SetCertificateChain(v string) *CreateRootCACertificateResponseBody
func (*CreateRootCACertificateResponseBody) SetIdentifier ¶
func (s *CreateRootCACertificateResponseBody) SetIdentifier(v string) *CreateRootCACertificateResponseBody
func (*CreateRootCACertificateResponseBody) SetRequestId ¶
func (s *CreateRootCACertificateResponseBody) SetRequestId(v string) *CreateRootCACertificateResponseBody
func (CreateRootCACertificateResponseBody) String ¶
func (s CreateRootCACertificateResponseBody) String() string
type CreateServerCertificateRequest ¶
type CreateServerCertificateRequest struct { // The expiration time of the server certificate. This value is a UNIX timestamp. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1665819958 AfterTime *int64 `json:"AfterTime,omitempty" xml:"AfterTime,omitempty"` // The key algorithm of the server certificate. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **ECC_384**: The signature algorithm is Sha256WithECDSA. // // - **ECC_512**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of the server certificate must be the same as the encryption algorithm of the intermediate CA certificate. The key length can be different. For example, if the key algorithm of the intermediate CA certificate is RSA_2048, the key algorithm of the server certificate must be RSA_1024, RSA_2048, or RSA_4096. // // > You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the key algorithm of an intermediate CA certificate. // // This parameter is required. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance time of the server certificate. This value is a UNIX timestamp. The default value is the time when you call this operation. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1634283958 BeforeTime *int64 `json:"BeforeTime,omitempty" xml:"BeforeTime,omitempty"` // The name of the certificate user. The user of a server certificate is a server. We recommend that you enter the domain name or IP address of the server. // // This parameter is required. // // example: // // www.example.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located, such as CN or US. // // example: // // CN Country *string `json:"Country,omitempty" xml:"Country,omitempty"` // The validity period of the server certificate. Unit: days. You must specify at least one of the **Days**, **BeforeTime**, and **AfterTime* - parameters. The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. The following list describes how to specify these parameters: // // - If you specify the **Days* - parameter, you can specify both the **BeforeTime* - and **AfterTime* - parameters or leave them both empty. // // - If you do not specify the **Days* - parameter, you must specify both the **BeforeTime* - and **AfterTime* - parameters. // // > // // - If you specify the **Days**, **BeforeTime**, and **AfterTime* - parameters together, the validity period of the server certificate is determined by the value of the **Days* - parameter. // // - The validity period of the server certificate cannot exceed the validity period of the intermediate CA certificate. You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the validity period of an intermediate CA certificate. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // The additional domain names and additional IP addresses of the server certificate. After you add additional domain names and additional IP addresses to a certificate, you can apply the certificate to the domain names and IP addresses. // // Separate multiple domain names and multiple IP addresses with commas (,). // // example: // // example.com Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"` // include the CRL address. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *int64 `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // Specifies whether to return the certificate. Valid values: // // - **0**: does not return the certificate. This is the default value. // // - **1**: returns the certificate. // // - **2**: returns the certificate and the certificate chain of the certificate. // // example: // // 1 Immediately *int32 `json:"Immediately,omitempty" xml:"Immediately,omitempty"` // The name of the city in which the organization is located. The value can contain letters. The default value is the name of the city in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The validity period of the server certificate. Unit: months. // // example: // // 12 Months *int32 `json:"Months,omitempty" xml:"Months,omitempty"` // The name of the organization. Default value: Alibaba Inc. // // example: // // Alibaba Cloud Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department. Default value: Aliyun CDN. // // example: // // IT OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate CA certificate from which the server certificate is issued. // // > You can call the [DescribeCACertificateList](https://help.aliyun.com/document_detail/328095.html) operation to query the unique identifier of an intermediate CA certificate. // // This parameter is required. // // example: // // 271ae6bb538d538c70c01f81dg3**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The province, municipality, or autonomous region in which the organization is located. The value can contain letters. The default value is the name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the server certificate. Unit: years. // // example: // // 1 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateServerCertificateRequest) GoString ¶
func (s CreateServerCertificateRequest) GoString() string
func (*CreateServerCertificateRequest) SetAfterTime ¶
func (s *CreateServerCertificateRequest) SetAfterTime(v int64) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetAlgorithm ¶
func (s *CreateServerCertificateRequest) SetAlgorithm(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetBeforeTime ¶
func (s *CreateServerCertificateRequest) SetBeforeTime(v int64) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetCommonName ¶
func (s *CreateServerCertificateRequest) SetCommonName(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetCountry ¶
func (s *CreateServerCertificateRequest) SetCountry(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetDays ¶
func (s *CreateServerCertificateRequest) SetDays(v int32) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetDomain ¶
func (s *CreateServerCertificateRequest) SetDomain(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateServerCertificateRequest) SetEnableCrl(v int64) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetImmediately ¶
func (s *CreateServerCertificateRequest) SetImmediately(v int32) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetLocality ¶
func (s *CreateServerCertificateRequest) SetLocality(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetMonths ¶
func (s *CreateServerCertificateRequest) SetMonths(v int32) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetOrganization ¶
func (s *CreateServerCertificateRequest) SetOrganization(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetOrganizationUnit ¶
func (s *CreateServerCertificateRequest) SetOrganizationUnit(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetParentIdentifier ¶
func (s *CreateServerCertificateRequest) SetParentIdentifier(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetState ¶
func (s *CreateServerCertificateRequest) SetState(v string) *CreateServerCertificateRequest
func (*CreateServerCertificateRequest) SetYears ¶
func (s *CreateServerCertificateRequest) SetYears(v int32) *CreateServerCertificateRequest
func (CreateServerCertificateRequest) String ¶
func (s CreateServerCertificateRequest) String() string
type CreateServerCertificateResponse ¶
type CreateServerCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateServerCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateServerCertificateResponse) GoString ¶
func (s CreateServerCertificateResponse) GoString() string
func (*CreateServerCertificateResponse) SetBody ¶
func (s *CreateServerCertificateResponse) SetBody(v *CreateServerCertificateResponseBody) *CreateServerCertificateResponse
func (*CreateServerCertificateResponse) SetHeaders ¶
func (s *CreateServerCertificateResponse) SetHeaders(v map[string]*string) *CreateServerCertificateResponse
func (*CreateServerCertificateResponse) SetStatusCode ¶
func (s *CreateServerCertificateResponse) SetStatusCode(v int32) *CreateServerCertificateResponse
func (CreateServerCertificateResponse) String ¶
func (s CreateServerCertificateResponse) String() string
type CreateServerCertificateResponseBody ¶
type CreateServerCertificateResponseBody struct { // The certificate chain of the server certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the server certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the server certificate. // // example: // // 0f29522da2dae7a1c4b6ab7132ad3c06 SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The content of the server certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (CreateServerCertificateResponseBody) GoString ¶
func (s CreateServerCertificateResponseBody) GoString() string
func (*CreateServerCertificateResponseBody) SetCertificateChain ¶
func (s *CreateServerCertificateResponseBody) SetCertificateChain(v string) *CreateServerCertificateResponseBody
func (*CreateServerCertificateResponseBody) SetIdentifier ¶
func (s *CreateServerCertificateResponseBody) SetIdentifier(v string) *CreateServerCertificateResponseBody
func (*CreateServerCertificateResponseBody) SetRequestId ¶
func (s *CreateServerCertificateResponseBody) SetRequestId(v string) *CreateServerCertificateResponseBody
func (*CreateServerCertificateResponseBody) SetSerialNumber ¶ added in v1.0.14
func (s *CreateServerCertificateResponseBody) SetSerialNumber(v string) *CreateServerCertificateResponseBody
func (*CreateServerCertificateResponseBody) SetX509Certificate ¶
func (s *CreateServerCertificateResponseBody) SetX509Certificate(v string) *CreateServerCertificateResponseBody
func (CreateServerCertificateResponseBody) String ¶
func (s CreateServerCertificateResponseBody) String() string
type CreateServerCertificateWithCsrRequest ¶
type CreateServerCertificateWithCsrRequest struct { // The expiration time of the server certificate. This value is a UNIX timestamp. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1665819958 AfterTime *int64 `json:"AfterTime,omitempty" xml:"AfterTime,omitempty"` // The key algorithm of the server certificate. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **ECC_384**: The signature algorithm is Sha256WithECDSA. // // - **ECC_512**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of the server certificate must be the same as the encryption algorithm of the intermediate CA certificate. The key length can be different. For example, if the key algorithm of the intermediate CA certificate is RSA_2048, the key algorithm of the server certificate must be RSA_1024, RSA_2048, or RSA_4096. // // > You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the key algorithm of an intermediate CA certificate. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance time of the server certificate. This value is a UNIX timestamp. The default value is the time when you call this operation. Unit: seconds. // // > The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. // // example: // // 1634283958 BeforeTime *int64 `json:"BeforeTime,omitempty" xml:"BeforeTime,omitempty"` // The name of the certificate user. The user of a server certificate is a server. We recommend that you enter the domain name or IP address of the server. // // example: // // mtcsq.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located, such as CN or US. // // example: // // CN Country *string `json:"Country,omitempty" xml:"Country,omitempty"` // The content of the CSR. // // You can generate a CSR by using the OpenSSL tool or the Keytool tool. For more information, see [How do I create a CSR file?](https://help.aliyun.com/document_detail/42218.html) // // This parameter is required. // // example: // // -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST----- Csr *string `json:"Csr,omitempty" xml:"Csr,omitempty"` // The validity period of the server certificate. Unit: days. // // You must specify at least one of the **Days**, **BeforeTime**, and **AfterTime* - parameters. The **BeforeTime* - and **AfterTime* - parameters must be both empty or both specified. The following list describes how to specify these parameters: // // - If you specify the **Days* - parameter, you can specify both the **BeforeTime* - and **AfterTime* - parameters or leave them both empty.******** // // - If you do not specify the **Days* - parameter, you must specify both the **BeforeTime* - and **AfterTime* - parameters. // // > // // - If you specify the **Days**, **BeforeTime**, and **AfterTime* - parameters at the same time, the validity period of the server certificate is determined by the value of the **Days* - parameter. // // - The validity period of the server certificate cannot exceed the validity period of the intermediate CA certificate. You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the validity period of an intermediate CA certificate. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // The additional domain names or additional IP addresses of the server certificate. After you add additional domain names and additional IP addresses to a certificate, you can apply the certificate to the domain names and IP addresses. // // You can specify multiple domain names and IP addresses. If you specify multiple domain names and IP addresses, separate them with commas (,). // // example: // // example.com Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"` // include the CRL address. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *int64 `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // Specifies whether to return the certificate. Valid values: // // - **0**: does not return the certificate. This is the default value. // // - **1**: returns the certificate. // // - **2**: returns the certificate and the certificate chain of the certificate. // // example: // // 1 Immediately *int32 `json:"Immediately,omitempty" xml:"Immediately,omitempty"` // The name of the city in which the organization is located. The value can contain letters. The default value is the name of the city in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The validity period of the server certificate. Unit: months. // // example: // // 12 Months *int32 `json:"Months,omitempty" xml:"Months,omitempty"` // The name of the organization. Default value: Alibaba Inc. // // example: // // ec server o Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department. Default value: Aliyun CDN. // // example: // // IT OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate CA certificate from which the server certificate is issued. // // > You can call the [DescribeCACertificateList](https://help.aliyun.com/document_detail/328095.html) operation to query the unique identifier of an intermediate CA certificate. // // This parameter is required. // // example: // // 270oe6bb538d538c70c01f81hfd3**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The province, municipality, or autonomous region in which the organization is located. The value can contain letters. The default value is the name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the server certificate. Unit: years. // // example: // // 1 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateServerCertificateWithCsrRequest) GoString ¶
func (s CreateServerCertificateWithCsrRequest) GoString() string
func (*CreateServerCertificateWithCsrRequest) SetAfterTime ¶
func (s *CreateServerCertificateWithCsrRequest) SetAfterTime(v int64) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetAlgorithm ¶
func (s *CreateServerCertificateWithCsrRequest) SetAlgorithm(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetBeforeTime ¶
func (s *CreateServerCertificateWithCsrRequest) SetBeforeTime(v int64) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetCommonName ¶
func (s *CreateServerCertificateWithCsrRequest) SetCommonName(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetCountry ¶
func (s *CreateServerCertificateWithCsrRequest) SetCountry(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetCsr ¶
func (s *CreateServerCertificateWithCsrRequest) SetCsr(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetDays ¶
func (s *CreateServerCertificateWithCsrRequest) SetDays(v int32) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetDomain ¶
func (s *CreateServerCertificateWithCsrRequest) SetDomain(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateServerCertificateWithCsrRequest) SetEnableCrl(v int64) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetImmediately ¶
func (s *CreateServerCertificateWithCsrRequest) SetImmediately(v int32) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetLocality ¶
func (s *CreateServerCertificateWithCsrRequest) SetLocality(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetMonths ¶
func (s *CreateServerCertificateWithCsrRequest) SetMonths(v int32) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetOrganization ¶
func (s *CreateServerCertificateWithCsrRequest) SetOrganization(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetOrganizationUnit ¶
func (s *CreateServerCertificateWithCsrRequest) SetOrganizationUnit(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetParentIdentifier ¶
func (s *CreateServerCertificateWithCsrRequest) SetParentIdentifier(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetState ¶
func (s *CreateServerCertificateWithCsrRequest) SetState(v string) *CreateServerCertificateWithCsrRequest
func (*CreateServerCertificateWithCsrRequest) SetYears ¶
func (s *CreateServerCertificateWithCsrRequest) SetYears(v int32) *CreateServerCertificateWithCsrRequest
func (CreateServerCertificateWithCsrRequest) String ¶
func (s CreateServerCertificateWithCsrRequest) String() string
type CreateServerCertificateWithCsrResponse ¶
type CreateServerCertificateWithCsrResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateServerCertificateWithCsrResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateServerCertificateWithCsrResponse) GoString ¶
func (s CreateServerCertificateWithCsrResponse) GoString() string
func (*CreateServerCertificateWithCsrResponse) SetHeaders ¶
func (s *CreateServerCertificateWithCsrResponse) SetHeaders(v map[string]*string) *CreateServerCertificateWithCsrResponse
func (*CreateServerCertificateWithCsrResponse) SetStatusCode ¶
func (s *CreateServerCertificateWithCsrResponse) SetStatusCode(v int32) *CreateServerCertificateWithCsrResponse
func (CreateServerCertificateWithCsrResponse) String ¶
func (s CreateServerCertificateWithCsrResponse) String() string
type CreateServerCertificateWithCsrResponseBody ¶
type CreateServerCertificateWithCsrResponseBody struct { // The certificate chain of the server certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the server certificate. // // example: // // 180ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 55C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The serial number of the server certificate. // // example: // // 084bde9cd233f0ddae33adc438cfbbbd**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The content of the server certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (CreateServerCertificateWithCsrResponseBody) GoString ¶
func (s CreateServerCertificateWithCsrResponseBody) GoString() string
func (*CreateServerCertificateWithCsrResponseBody) SetCertificateChain ¶
func (s *CreateServerCertificateWithCsrResponseBody) SetCertificateChain(v string) *CreateServerCertificateWithCsrResponseBody
func (*CreateServerCertificateWithCsrResponseBody) SetIdentifier ¶
func (s *CreateServerCertificateWithCsrResponseBody) SetIdentifier(v string) *CreateServerCertificateWithCsrResponseBody
func (*CreateServerCertificateWithCsrResponseBody) SetRequestId ¶
func (s *CreateServerCertificateWithCsrResponseBody) SetRequestId(v string) *CreateServerCertificateWithCsrResponseBody
func (*CreateServerCertificateWithCsrResponseBody) SetSerialNumber ¶ added in v1.0.14
func (s *CreateServerCertificateWithCsrResponseBody) SetSerialNumber(v string) *CreateServerCertificateWithCsrResponseBody
func (*CreateServerCertificateWithCsrResponseBody) SetX509Certificate ¶
func (s *CreateServerCertificateWithCsrResponseBody) SetX509Certificate(v string) *CreateServerCertificateWithCsrResponseBody
func (CreateServerCertificateWithCsrResponseBody) String ¶
func (s CreateServerCertificateWithCsrResponseBody) String() string
type CreateSubCACertificateRequest ¶
type CreateSubCACertificateRequest struct { // The type of the key algorithm of the intermediate CA. The key algorithm is in the `<Encryption algorithm>_<Key length>` format. Valid values: // // - **RSA_1024**: The signature algorithm is Sha256WithRSA. // // - **RSA_2048**: The signature algorithm is Sha256WithRSA. // // - **RSA_4096**: The signature algorithm is Sha256WithRSA. // // - **ECC_256**: The signature algorithm is Sha256WithECDSA. // // - **SM2_256**: The signature algorithm is SM3WithSM2. // // The encryption algorithm of an intermediate CA certificate must be consistent with the encryption algorithm of a root CA certificate. The length of the keys can be different. For example, if the key algorithm of the root CA certificate is **RSA_2048**, the key algorithm of the intermediate CA certificate must be **RSA_1024**, **RSA_2048**, or **RSA_4096**. // // > You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/465954.html) operation to query the key algorithm of a root CA certificate. // // This parameter is required. // // example: // // RSA_2048 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The common name or abbreviation of the organization. The value can contain letters. // // This parameter is required. // // example: // // Aliyun CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country or region in which the organization is located. You can enter an alpha-2 or alpha-3 code. For example, you can use **CN* - to indicate China and use **US* - to indicate the United States. // // For more information about country codes, see the **"Country codes"* - section in [Manage company profiles](https://help.aliyun.com/document_detail/198289.html). // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // CRL validity period: 1-365 days // // example: // // 30 CrlDay *int32 `json:"CrlDay,omitempty" xml:"CrlDay,omitempty"` // Enable Crl Service. // // - 0- No // // - 1- Yes // // example: // // 1 EnableCrl *bool `json:"EnableCrl,omitempty" xml:"EnableCrl,omitempty"` // The extended key usages of the certificate. ExtendedKeyUsages []*string `json:"ExtendedKeyUsages,omitempty" xml:"ExtendedKeyUsages,omitempty" type:"Repeated"` // The name of the city in which the organization is located. The value can contain letters. // // This parameter is required. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The name of the organization that is associated with the intermediate CA certificate. You can enter the name of your enterprise or company. The value can contain letters. // // This parameter is required. // // example: // // Maizi Technology Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department or branch in the organization. The value can contain letters. // // This parameter is required. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the root CA certificate. // // > You can call the [DescribeCACertificateList] operation to query the unique identifiers of all CA certificates. // // This parameter is required. // // example: // // 1a83bcbb89e562885e40aa0108f5**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The path length constraint of the certificate. Default value: 0. // // example: // // 0 PathLenConstraint *int32 `json:"PathLenConstraint,omitempty" xml:"PathLenConstraint,omitempty"` // The name of the province or state in which the organization is located. The value can contain letters. // // This parameter is required. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The validity period of the intermediate CA certificate. Unit: years. // // We recommend that you set this parameter to 5 to 10. // // > The validity period of the intermediate CA certificate cannot exceed the validity period of the root CA certificate. You can call the [DescribeCACertificate]operation to query the validity period of a root CA certificate. // // This parameter is required. // // example: // // 5 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (CreateSubCACertificateRequest) GoString ¶
func (s CreateSubCACertificateRequest) GoString() string
func (*CreateSubCACertificateRequest) SetAlgorithm ¶
func (s *CreateSubCACertificateRequest) SetAlgorithm(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetCommonName ¶
func (s *CreateSubCACertificateRequest) SetCommonName(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetCountryCode ¶
func (s *CreateSubCACertificateRequest) SetCountryCode(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetCrlDay ¶ added in v1.0.16
func (s *CreateSubCACertificateRequest) SetCrlDay(v int32) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetEnableCrl ¶ added in v1.0.16
func (s *CreateSubCACertificateRequest) SetEnableCrl(v bool) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetExtendedKeyUsages ¶ added in v1.0.15
func (s *CreateSubCACertificateRequest) SetExtendedKeyUsages(v []*string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetLocality ¶
func (s *CreateSubCACertificateRequest) SetLocality(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetOrganization ¶
func (s *CreateSubCACertificateRequest) SetOrganization(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetOrganizationUnit ¶
func (s *CreateSubCACertificateRequest) SetOrganizationUnit(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetParentIdentifier ¶
func (s *CreateSubCACertificateRequest) SetParentIdentifier(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetPathLenConstraint ¶ added in v1.0.15
func (s *CreateSubCACertificateRequest) SetPathLenConstraint(v int32) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetState ¶
func (s *CreateSubCACertificateRequest) SetState(v string) *CreateSubCACertificateRequest
func (*CreateSubCACertificateRequest) SetYears ¶
func (s *CreateSubCACertificateRequest) SetYears(v int32) *CreateSubCACertificateRequest
func (CreateSubCACertificateRequest) String ¶
func (s CreateSubCACertificateRequest) String() string
type CreateSubCACertificateResponse ¶
type CreateSubCACertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateSubCACertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateSubCACertificateResponse) GoString ¶
func (s CreateSubCACertificateResponse) GoString() string
func (*CreateSubCACertificateResponse) SetBody ¶
func (s *CreateSubCACertificateResponse) SetBody(v *CreateSubCACertificateResponseBody) *CreateSubCACertificateResponse
func (*CreateSubCACertificateResponse) SetHeaders ¶
func (s *CreateSubCACertificateResponse) SetHeaders(v map[string]*string) *CreateSubCACertificateResponse
func (*CreateSubCACertificateResponse) SetStatusCode ¶
func (s *CreateSubCACertificateResponse) SetStatusCode(v int32) *CreateSubCACertificateResponse
func (CreateSubCACertificateResponse) String ¶
func (s CreateSubCACertificateResponse) String() string
type CreateSubCACertificateResponseBody ¶
type CreateSubCACertificateResponseBody struct { // The CA certificate in the PEM format. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE----- Certificate *string `json:"Certificate,omitempty" xml:"Certificate,omitempty"` // The certificate chain of the CA certificate. // // example: // // -----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n CertificateChain *string `json:"CertificateChain,omitempty" xml:"CertificateChain,omitempty"` // The unique identifier of the sub CA certificate created in this request. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of this call request is a unique identifier generated by Alibaba Cloud for the request, which can be used for troubleshooting and locating issues. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateSubCACertificateResponseBody) GoString ¶
func (s CreateSubCACertificateResponseBody) GoString() string
func (*CreateSubCACertificateResponseBody) SetCertificate ¶
func (s *CreateSubCACertificateResponseBody) SetCertificate(v string) *CreateSubCACertificateResponseBody
func (*CreateSubCACertificateResponseBody) SetCertificateChain ¶
func (s *CreateSubCACertificateResponseBody) SetCertificateChain(v string) *CreateSubCACertificateResponseBody
func (*CreateSubCACertificateResponseBody) SetIdentifier ¶
func (s *CreateSubCACertificateResponseBody) SetIdentifier(v string) *CreateSubCACertificateResponseBody
func (*CreateSubCACertificateResponseBody) SetRequestId ¶
func (s *CreateSubCACertificateResponseBody) SetRequestId(v string) *CreateSubCACertificateResponseBody
func (CreateSubCACertificateResponseBody) String ¶
func (s CreateSubCACertificateResponseBody) String() string
type DeleteClientCertificateRequest ¶
type DeleteClientCertificateRequest struct { // The unique identifier of the client certificate or server certificate that you want to delete. The status of the certificate must be **REVOKE**. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers and status of all client certificates and server certificates. // // This parameter is required. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (DeleteClientCertificateRequest) GoString ¶
func (s DeleteClientCertificateRequest) GoString() string
func (*DeleteClientCertificateRequest) SetIdentifier ¶
func (s *DeleteClientCertificateRequest) SetIdentifier(v string) *DeleteClientCertificateRequest
func (DeleteClientCertificateRequest) String ¶
func (s DeleteClientCertificateRequest) String() string
type DeleteClientCertificateResponse ¶
type DeleteClientCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteClientCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteClientCertificateResponse) GoString ¶
func (s DeleteClientCertificateResponse) GoString() string
func (*DeleteClientCertificateResponse) SetBody ¶
func (s *DeleteClientCertificateResponse) SetBody(v *DeleteClientCertificateResponseBody) *DeleteClientCertificateResponse
func (*DeleteClientCertificateResponse) SetHeaders ¶
func (s *DeleteClientCertificateResponse) SetHeaders(v map[string]*string) *DeleteClientCertificateResponse
func (*DeleteClientCertificateResponse) SetStatusCode ¶
func (s *DeleteClientCertificateResponse) SetStatusCode(v int32) *DeleteClientCertificateResponse
func (DeleteClientCertificateResponse) String ¶
func (s DeleteClientCertificateResponse) String() string
type DeleteClientCertificateResponseBody ¶
type DeleteClientCertificateResponseBody struct { // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteClientCertificateResponseBody) GoString ¶
func (s DeleteClientCertificateResponseBody) GoString() string
func (*DeleteClientCertificateResponseBody) SetRequestId ¶
func (s *DeleteClientCertificateResponseBody) SetRequestId(v string) *DeleteClientCertificateResponseBody
func (DeleteClientCertificateResponseBody) String ¶
func (s DeleteClientCertificateResponseBody) String() string
type DescribeCACertificateCountResponse ¶
type DescribeCACertificateCountResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCACertificateCountResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCACertificateCountResponse) GoString ¶
func (s DescribeCACertificateCountResponse) GoString() string
func (*DescribeCACertificateCountResponse) SetHeaders ¶
func (s *DescribeCACertificateCountResponse) SetHeaders(v map[string]*string) *DescribeCACertificateCountResponse
func (*DescribeCACertificateCountResponse) SetStatusCode ¶
func (s *DescribeCACertificateCountResponse) SetStatusCode(v int32) *DescribeCACertificateCountResponse
func (DescribeCACertificateCountResponse) String ¶
func (s DescribeCACertificateCountResponse) String() string
type DescribeCACertificateCountResponseBody ¶
type DescribeCACertificateCountResponseBody struct { // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The number of created CA certificates, which includes root CA certificates and intermediate CA certificates. // // example: // // 2 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (DescribeCACertificateCountResponseBody) GoString ¶
func (s DescribeCACertificateCountResponseBody) GoString() string
func (*DescribeCACertificateCountResponseBody) SetRequestId ¶
func (s *DescribeCACertificateCountResponseBody) SetRequestId(v string) *DescribeCACertificateCountResponseBody
func (*DescribeCACertificateCountResponseBody) SetTotalCount ¶
func (s *DescribeCACertificateCountResponseBody) SetTotalCount(v int32) *DescribeCACertificateCountResponseBody
func (DescribeCACertificateCountResponseBody) String ¶
func (s DescribeCACertificateCountResponseBody) String() string
type DescribeCACertificateListRequest ¶
type DescribeCACertificateListRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The unique identifier of the client certificate or server certificate that you want to revoke. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The number of CA certificates to return on each page. Default value: **20**. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` }
func (DescribeCACertificateListRequest) GoString ¶
func (s DescribeCACertificateListRequest) GoString() string
func (*DescribeCACertificateListRequest) SetCurrentPage ¶
func (s *DescribeCACertificateListRequest) SetCurrentPage(v int32) *DescribeCACertificateListRequest
func (*DescribeCACertificateListRequest) SetIdentifier ¶ added in v1.0.16
func (s *DescribeCACertificateListRequest) SetIdentifier(v string) *DescribeCACertificateListRequest
func (*DescribeCACertificateListRequest) SetShowSize ¶
func (s *DescribeCACertificateListRequest) SetShowSize(v int32) *DescribeCACertificateListRequest
func (DescribeCACertificateListRequest) String ¶
func (s DescribeCACertificateListRequest) String() string
type DescribeCACertificateListResponse ¶
type DescribeCACertificateListResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCACertificateListResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCACertificateListResponse) GoString ¶
func (s DescribeCACertificateListResponse) GoString() string
func (*DescribeCACertificateListResponse) SetHeaders ¶
func (s *DescribeCACertificateListResponse) SetHeaders(v map[string]*string) *DescribeCACertificateListResponse
func (*DescribeCACertificateListResponse) SetStatusCode ¶
func (s *DescribeCACertificateListResponse) SetStatusCode(v int32) *DescribeCACertificateListResponse
func (DescribeCACertificateListResponse) String ¶
func (s DescribeCACertificateListResponse) String() string
type DescribeCACertificateListResponseBody ¶
type DescribeCACertificateListResponseBody struct { // An array that consists of the details about the CA certificate. CertificateList []*DescribeCACertificateListResponseBodyCertificateList `json:"CertificateList,omitempty" xml:"CertificateList,omitempty" type:"Repeated"` // The page number of the returned page. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The number of returned pages. // // example: // // 1 PageCount *int32 `json:"PageCount,omitempty" xml:"PageCount,omitempty"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The number of CA certificates returned per page. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` // The total number of root CA certificates and intermediate CA certificates that are returned. // // example: // // 2 TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (DescribeCACertificateListResponseBody) GoString ¶
func (s DescribeCACertificateListResponseBody) GoString() string
func (*DescribeCACertificateListResponseBody) SetCertificateList ¶
func (s *DescribeCACertificateListResponseBody) SetCertificateList(v []*DescribeCACertificateListResponseBodyCertificateList) *DescribeCACertificateListResponseBody
func (*DescribeCACertificateListResponseBody) SetCurrentPage ¶
func (s *DescribeCACertificateListResponseBody) SetCurrentPage(v int32) *DescribeCACertificateListResponseBody
func (*DescribeCACertificateListResponseBody) SetPageCount ¶
func (s *DescribeCACertificateListResponseBody) SetPageCount(v int32) *DescribeCACertificateListResponseBody
func (*DescribeCACertificateListResponseBody) SetRequestId ¶
func (s *DescribeCACertificateListResponseBody) SetRequestId(v string) *DescribeCACertificateListResponseBody
func (*DescribeCACertificateListResponseBody) SetShowSize ¶
func (s *DescribeCACertificateListResponseBody) SetShowSize(v int32) *DescribeCACertificateListResponseBody
func (*DescribeCACertificateListResponseBody) SetTotalCount ¶
func (s *DescribeCACertificateListResponseBody) SetTotalCount(v int32) *DescribeCACertificateListResponseBody
func (DescribeCACertificateListResponseBody) String ¶
func (s DescribeCACertificateListResponseBody) String() string
type DescribeCACertificateListResponseBodyCertificateList ¶
type DescribeCACertificateListResponseBodyCertificateList struct { // The expiration date of the CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1665819958000 AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"` // The encryption algorithm of the CA certificate. Valid values: // // - **RSA**: the Rivest-Shamir-Adleman (RSA) algorithm. // // - **ECC**: the elliptic curve cryptography (ECC) algorithm. // // - **SM2**: the SM2 algorithm, which is developed and approved by the State Cryptography Administration of China. // // example: // // RSA Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance date of the CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1634283958000 BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"` // The type of the CA certificate. Valid values: // // - **ROOT**: root CA certificate // // - **SUB_ROOT**: intermediate CA certificate // // example: // // SUB_ROOT CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"` // The common name or abbreviation of the organization that is associated with the CA certificate. // // example: // // Aliyun CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // The unique identifier of the CA certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The key length of the CA certificate. // // example: // // 2048 KeySize *int32 `json:"KeySize,omitempty" xml:"KeySize,omitempty"` // The name of the city in which the organization is located. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The MD5 fingerprint of the CA certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Md5 *string `json:"Md5,omitempty" xml:"Md5,omitempty"` // The name of the organization that is associated with the CA certificate. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department or branch in the organization that is associated with the CA certificate. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the root CA certificate from which the CA certificate is issued. // // > This parameter is returned only if the value of the **CertificateType* - parameter is **SUB_ROOT**. The value SUB_ROOT indicates an intermediate CA certificate. // // example: // // 1a83bcbb89e562885e40aa0108f5**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // This parameter is deprecated. // // example: // // 1 Sans *string `json:"Sans,omitempty" xml:"Sans,omitempty"` // The serial number of the CA certificate. // // example: // // 70e3b2566d92805173767869727fb92e**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The SHA-256 fingerprint of the CA certificate. // // example: // // 14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9**** Sha2 *string `json:"Sha2,omitempty" xml:"Sha2,omitempty"` // The signature algorithm of the CA certificate. // // example: // // SHA256WITHRSA SignAlgorithm *string `json:"SignAlgorithm,omitempty" xml:"SignAlgorithm,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The status of the CA certificate. Valid values: // // - **ISSUE**: The CA certificate is issued. // // - **REVOKE**: The CA certificate is revoked. // // example: // // ISSUE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The Distinguished Name (DN) attribute of the CA certificate, which indicates the user information of the certificate. The DN attribute contains the following information: // // - **C**: the country code in which the organization is located // // - **O**: the name of the organization // // - **OU**: the name of the department or branch in the organization // // - **L**: the name of the city in which the organization is located // // - **CN**: the common name or abbreviation of the organization // // example: // // C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun SubjectDN *string `json:"SubjectDN,omitempty" xml:"SubjectDN,omitempty"` // The content of the CA certificate. // // example: // // -----BEGIN CERTIFICATE----- …… -----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` // The validity period of the CA certificate. Unit: years. // // example: // // 3 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (DescribeCACertificateListResponseBodyCertificateList) GoString ¶
func (s DescribeCACertificateListResponseBodyCertificateList) GoString() string
func (*DescribeCACertificateListResponseBodyCertificateList) SetAfterDate ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetAfterDate(v int64) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetAlgorithm ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetAlgorithm(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetBeforeDate ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetBeforeDate(v int64) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetCertificateType ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetCertificateType(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetCommonName ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetCommonName(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetCountryCode ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetCountryCode(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetIdentifier ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetIdentifier(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetKeySize ¶
func (*DescribeCACertificateListResponseBodyCertificateList) SetLocality ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetLocality(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetOrganization ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetOrganization(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetOrganizationUnit ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetOrganizationUnit(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetParentIdentifier ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetParentIdentifier(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetSerialNumber ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetSerialNumber(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetSignAlgorithm ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetSignAlgorithm(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetSubjectDN ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetSubjectDN(v string) *DescribeCACertificateListResponseBodyCertificateList
func (*DescribeCACertificateListResponseBodyCertificateList) SetX509Certificate ¶
func (s *DescribeCACertificateListResponseBodyCertificateList) SetX509Certificate(v string) *DescribeCACertificateListResponseBodyCertificateList
func (DescribeCACertificateListResponseBodyCertificateList) String ¶
func (s DescribeCACertificateListResponseBodyCertificateList) String() string
type DescribeCACertificateRequest ¶
type DescribeCACertificateRequest struct { // The unique identifier of the CA certificate that you want to query. // // > You can call the [DescribeCACertificateList](https://help.aliyun.com/document_detail/328095.html) operation to query the unique identifiers of all CA certificates. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (DescribeCACertificateRequest) GoString ¶
func (s DescribeCACertificateRequest) GoString() string
func (*DescribeCACertificateRequest) SetIdentifier ¶
func (s *DescribeCACertificateRequest) SetIdentifier(v string) *DescribeCACertificateRequest
func (DescribeCACertificateRequest) String ¶
func (s DescribeCACertificateRequest) String() string
type DescribeCACertificateResponse ¶
type DescribeCACertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCACertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCACertificateResponse) GoString ¶
func (s DescribeCACertificateResponse) GoString() string
func (*DescribeCACertificateResponse) SetBody ¶
func (s *DescribeCACertificateResponse) SetBody(v *DescribeCACertificateResponseBody) *DescribeCACertificateResponse
func (*DescribeCACertificateResponse) SetHeaders ¶
func (s *DescribeCACertificateResponse) SetHeaders(v map[string]*string) *DescribeCACertificateResponse
func (*DescribeCACertificateResponse) SetStatusCode ¶
func (s *DescribeCACertificateResponse) SetStatusCode(v int32) *DescribeCACertificateResponse
func (DescribeCACertificateResponse) String ¶
func (s DescribeCACertificateResponse) String() string
type DescribeCACertificateResponseBody ¶
type DescribeCACertificateResponseBody struct { // The details about the CA certificate. Certificate *DescribeCACertificateResponseBodyCertificate `json:"Certificate,omitempty" xml:"Certificate,omitempty" type:"Struct"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The validity period of the CA certificate. Unit: years. // // example: // // 10 Years *int32 `json:"Years,omitempty" xml:"Years,omitempty"` }
func (DescribeCACertificateResponseBody) GoString ¶
func (s DescribeCACertificateResponseBody) GoString() string
func (*DescribeCACertificateResponseBody) SetCertificate ¶
func (s *DescribeCACertificateResponseBody) SetCertificate(v *DescribeCACertificateResponseBodyCertificate) *DescribeCACertificateResponseBody
func (*DescribeCACertificateResponseBody) SetRequestId ¶
func (s *DescribeCACertificateResponseBody) SetRequestId(v string) *DescribeCACertificateResponseBody
func (*DescribeCACertificateResponseBody) SetYears ¶
func (s *DescribeCACertificateResponseBody) SetYears(v int32) *DescribeCACertificateResponseBody
func (DescribeCACertificateResponseBody) String ¶
func (s DescribeCACertificateResponseBody) String() string
type DescribeCACertificateResponseBodyCertificate ¶
type DescribeCACertificateResponseBodyCertificate struct { // The expiration date of the CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1665819958000 AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"` // The encryption algorithm of the CA certificate. Valid values: // // - **RSA**: the Rivest-Shamir-Adleman (RSA) algorithm. // // - **ECC**: the elliptic curve cryptography (ECC) algorithm. // // - **SM2**: the SM2 algorithm, which is developed and approved by the State Cryptography Administration of China. // // example: // // RSA Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance date of the CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1634283958000 BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"` // CA certificate chain. // // example: // // -----BEGIN CERTIFICATE----- // // 用户证书 // // -----END CERTIFICATE----- // // -----BEGIN CERTIFICATE----- // // 中间证书 // // -----END CERTIFICATE----- // // -----BEGIN CERTIFICATE----- // // 根证书 // // -----END CERTIFICATE----- CaCertChain *string `json:"CaCertChain,omitempty" xml:"CaCertChain,omitempty"` // The number of certificates issued by private CA instances. // // example: // // 10 CertIssuedCount *int64 `json:"CertIssuedCount,omitempty" xml:"CertIssuedCount,omitempty"` // The remaining number of assignable certificate quotas. // // example: // // 30 CertRemainingCount *int64 `json:"CertRemainingCount,omitempty" xml:"CertRemainingCount,omitempty"` // The total number of purchased certificate quotas. // // example: // // 40 CertTotalCount *int64 `json:"CertTotalCount,omitempty" xml:"CertTotalCount,omitempty"` // The type of the CA certificate. Valid values: // // - **ROOT**: root CA certificate // // - **SUB_ROOT**: intermediate CA certificate // // example: // // SUB_ROOT CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"` // The common name or abbreviation of the organization that is associated with the CA certificate. // // example: // // Aliyun CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // CRL validity period: 1-365 days. // // example: // // 90 CrlDay *int32 `json:"CrlDay,omitempty" xml:"CrlDay,omitempty"` // The status of the certificate revocation list (CRL) feature. // // example: // // ACTIVE CrlStatus *string `json:"CrlStatus,omitempty" xml:"CrlStatus,omitempty"` // The address of the CRL. // // example: // // https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/1925647866611395/1ed40789-483f-6023-b6b8-29ddd3bb0a9a.crl CrlUrl *string `json:"CrlUrl,omitempty" xml:"CrlUrl,omitempty"` // The unique identifier of the CA certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The key length of the CA certificate. // // example: // // 2048 KeySize *int32 `json:"KeySize,omitempty" xml:"KeySize,omitempty"` // The name of the city in which the organization is located. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The MD5 fingerprint of the CA certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Md5 *string `json:"Md5,omitempty" xml:"Md5,omitempty"` // The name of the organization that is associated with the CA certificate. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department or branch in the organization that is associated with the CA certificate. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the root CA certificate from which the CA certificate is issued. // // > This parameter is returned only if the value of the **CertificateType* - parameter is **SUB_ROOT**. The value SUB_ROOT indicates an intermediate CA certificate. // // example: // // 1a83bcbb89e562885e40aa0108f5**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // This parameter is deprecated. // // example: // // 1 Sans *string `json:"Sans,omitempty" xml:"Sans,omitempty"` // The serial number of the CA certificate. // // example: // // 70e3b2566d92805173767869727fb92e**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The SHA-256 fingerprint of the CA certificate. // // example: // // 14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9**** Sha2 *string `json:"Sha2,omitempty" xml:"Sha2,omitempty"` // The signature algorithm of the CA certificate. // // example: // // SHA256WITHRSA SignAlgorithm *string `json:"SignAlgorithm,omitempty" xml:"SignAlgorithm,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The status of the CA certificate. Valid values: // // - **ISSUE**: The CA certificate is issued. // // - **REVOKE**: The CA certificate is revoked. // // example: // // ISSUE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The user attribute of the CA certificate, which contains the following information: // // - **C**: the country code in which the organization is located // // - **O**: the name of the organization // // - **OU**: the name of the department or branch in the organization // // - **L**: the name of the city in which the organization is located // // - **ST**: the name of the province, municipality, or autonomous region in which the organization is located // // - **CN**: the common name or abbreviation of the organization // // example: // // C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun SubjectDN *string `json:"SubjectDN,omitempty" xml:"SubjectDN,omitempty"` // The content of the CA certificate. // // example: // // -----BEGIN CERTIFICATE----- …… -----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (DescribeCACertificateResponseBodyCertificate) GoString ¶
func (s DescribeCACertificateResponseBodyCertificate) GoString() string
func (*DescribeCACertificateResponseBodyCertificate) SetAfterDate ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetAfterDate(v int64) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetAlgorithm ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetAlgorithm(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetBeforeDate ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetBeforeDate(v int64) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCaCertChain ¶ added in v1.0.16
func (s *DescribeCACertificateResponseBodyCertificate) SetCaCertChain(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCertIssuedCount ¶ added in v1.0.16
func (s *DescribeCACertificateResponseBodyCertificate) SetCertIssuedCount(v int64) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCertRemainingCount ¶ added in v1.0.16
func (s *DescribeCACertificateResponseBodyCertificate) SetCertRemainingCount(v int64) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCertTotalCount ¶ added in v1.0.16
func (s *DescribeCACertificateResponseBodyCertificate) SetCertTotalCount(v int64) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCertificateType ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetCertificateType(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCommonName ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetCommonName(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCountryCode ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetCountryCode(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCrlDay ¶ added in v1.0.16
func (s *DescribeCACertificateResponseBodyCertificate) SetCrlDay(v int32) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCrlStatus ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetCrlStatus(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetCrlUrl ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetCrlUrl(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetIdentifier ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetIdentifier(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetKeySize ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetKeySize(v int32) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetLocality ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetLocality(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetOrganization ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetOrganization(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetOrganizationUnit ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetOrganizationUnit(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetParentIdentifier ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetParentIdentifier(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetSans ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetSans(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetSerialNumber ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetSerialNumber(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetSha2 ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetSha2(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetSignAlgorithm ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetSignAlgorithm(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetState ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetState(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetStatus ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetStatus(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetSubjectDN ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetSubjectDN(v string) *DescribeCACertificateResponseBodyCertificate
func (*DescribeCACertificateResponseBodyCertificate) SetX509Certificate ¶
func (s *DescribeCACertificateResponseBodyCertificate) SetX509Certificate(v string) *DescribeCACertificateResponseBodyCertificate
func (DescribeCACertificateResponseBodyCertificate) String ¶
func (s DescribeCACertificateResponseBodyCertificate) String() string
type DescribeCertificatePrivateKeyRequest ¶
type DescribeCertificatePrivateKeyRequest struct { // The password that is used to encrypt the private key. The password can contain letters, digits, and special characters, such as `, + - _ #`. The password can be up to 32 bytes in length. // // **Warning* - You must remember the password that you specify. The password is required to decrypt the encrypted private key. If you forget the password, the encrypted private key that is returned cannot be decrypted. You must call this operation again. // // This parameter is required. // // example: // // !QA@WS3ed EncryptedCode *string `json:"EncryptedCode,omitempty" xml:"EncryptedCode,omitempty"` // The unique identifier of the client certificate or server certificate that you want to query. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // This parameter is required. // // example: // // bc37133bb7ed68c7938d928fd26d**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (DescribeCertificatePrivateKeyRequest) GoString ¶
func (s DescribeCertificatePrivateKeyRequest) GoString() string
func (*DescribeCertificatePrivateKeyRequest) SetEncryptedCode ¶
func (s *DescribeCertificatePrivateKeyRequest) SetEncryptedCode(v string) *DescribeCertificatePrivateKeyRequest
func (*DescribeCertificatePrivateKeyRequest) SetIdentifier ¶
func (s *DescribeCertificatePrivateKeyRequest) SetIdentifier(v string) *DescribeCertificatePrivateKeyRequest
func (DescribeCertificatePrivateKeyRequest) String ¶
func (s DescribeCertificatePrivateKeyRequest) String() string
type DescribeCertificatePrivateKeyResponse ¶
type DescribeCertificatePrivateKeyResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCertificatePrivateKeyResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCertificatePrivateKeyResponse) GoString ¶
func (s DescribeCertificatePrivateKeyResponse) GoString() string
func (*DescribeCertificatePrivateKeyResponse) SetHeaders ¶
func (s *DescribeCertificatePrivateKeyResponse) SetHeaders(v map[string]*string) *DescribeCertificatePrivateKeyResponse
func (*DescribeCertificatePrivateKeyResponse) SetStatusCode ¶
func (s *DescribeCertificatePrivateKeyResponse) SetStatusCode(v int32) *DescribeCertificatePrivateKeyResponse
func (DescribeCertificatePrivateKeyResponse) String ¶
func (s DescribeCertificatePrivateKeyResponse) String() string
type DescribeCertificatePrivateKeyResponseBody ¶
type DescribeCertificatePrivateKeyResponseBody struct { // The content of the encrypted private key. // // example: // // -----BEGIN ENCRYPTED PRIVATE KEY----- …… -----END ENCRYPTED PRIVATE KEY----- EncryptedData *string `json:"EncryptedData,omitempty" xml:"EncryptedData,omitempty"` // The ID of the request. // // example: // // 09470F19-CEE8-5C63-BF2C-02B5E3F07A17 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeCertificatePrivateKeyResponseBody) GoString ¶
func (s DescribeCertificatePrivateKeyResponseBody) GoString() string
func (*DescribeCertificatePrivateKeyResponseBody) SetEncryptedData ¶
func (s *DescribeCertificatePrivateKeyResponseBody) SetEncryptedData(v string) *DescribeCertificatePrivateKeyResponseBody
func (*DescribeCertificatePrivateKeyResponseBody) SetRequestId ¶
func (s *DescribeCertificatePrivateKeyResponseBody) SetRequestId(v string) *DescribeCertificatePrivateKeyResponseBody
func (DescribeCertificatePrivateKeyResponseBody) String ¶
func (s DescribeCertificatePrivateKeyResponseBody) String() string
type DescribeClientCertificateRequest ¶
type DescribeClientCertificateRequest struct { // The unique identifier of the client certificate or the server certificate that you want to query. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // This parameter is required. // // example: // // d3b95700998e47afc4d95f886579**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (DescribeClientCertificateRequest) GoString ¶
func (s DescribeClientCertificateRequest) GoString() string
func (*DescribeClientCertificateRequest) SetIdentifier ¶
func (s *DescribeClientCertificateRequest) SetIdentifier(v string) *DescribeClientCertificateRequest
func (DescribeClientCertificateRequest) String ¶
func (s DescribeClientCertificateRequest) String() string
type DescribeClientCertificateResponse ¶
type DescribeClientCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeClientCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeClientCertificateResponse) GoString ¶
func (s DescribeClientCertificateResponse) GoString() string
func (*DescribeClientCertificateResponse) SetHeaders ¶
func (s *DescribeClientCertificateResponse) SetHeaders(v map[string]*string) *DescribeClientCertificateResponse
func (*DescribeClientCertificateResponse) SetStatusCode ¶
func (s *DescribeClientCertificateResponse) SetStatusCode(v int32) *DescribeClientCertificateResponse
func (DescribeClientCertificateResponse) String ¶
func (s DescribeClientCertificateResponse) String() string
type DescribeClientCertificateResponseBody ¶
type DescribeClientCertificateResponseBody struct { // The details about the client certificate or the server certificate. Certificate *DescribeClientCertificateResponseBodyCertificate `json:"Certificate,omitempty" xml:"Certificate,omitempty" type:"Struct"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeClientCertificateResponseBody) GoString ¶
func (s DescribeClientCertificateResponseBody) GoString() string
func (*DescribeClientCertificateResponseBody) SetCertificate ¶
func (s *DescribeClientCertificateResponseBody) SetCertificate(v *DescribeClientCertificateResponseBodyCertificate) *DescribeClientCertificateResponseBody
func (*DescribeClientCertificateResponseBody) SetRequestId ¶
func (s *DescribeClientCertificateResponseBody) SetRequestId(v string) *DescribeClientCertificateResponseBody
func (DescribeClientCertificateResponseBody) String ¶
func (s DescribeClientCertificateResponseBody) String() string
type DescribeClientCertificateResponseBodyCertificate ¶
type DescribeClientCertificateResponseBodyCertificate struct { // The expiration date of the certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1665819958000 AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"` // The type of the encryption algorithm of the certificate. Valid values: // // - **RSA**: the Rivest-Shamir-Adleman (RSA) algorithm. // // - **ECC**: the elliptic curve cryptography (ECC) algorithm. // // - **SM2**: the SM2 algorithm, which is developed and approved by the State Cryptography Administration of China. // // example: // // RSA Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance date of the certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1634283958000 BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"` // The type of the certificate. Valid values: // // - **CLIENT**: client certificate // // - **SERVER**: server certificate // // example: // // SERVER CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"` // The common name of the certificate. // // example: // // aliyun.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // The validity period of the certificate. Unit: days. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // The unique identifier of the certificate. // // example: // // d3b95700998e47afc4d95f886579**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The key length of the certificate. // // example: // // 4096 KeySize *int32 `json:"KeySize,omitempty" xml:"KeySize,omitempty"` // The name of the city in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The MD5 fingerprint of the certificate. // // example: // // d3b95700998e47afc4d95f886579**** Md5 *string `json:"Md5,omitempty" xml:"Md5,omitempty"` // The name of the organization. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department in the organization. The organization is associated with the intermediate certificate authority (CA) certificate from which the certificate is issued. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate certificate from which the client certificate is issued. // // example: // // 160ae6bb538d538c70c01f81dcf2**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The subject alternative name (SAN) extension of the certificate. The value indicates additional information, including the additional domain names or IP addresses that are associated with the certificate. // // The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that corresponds to a SAN extension. A SAN extension struct contains the following parameters: // // - **Type**: the type of the extension. Data type: integer. Valid values: // // - **1**: an email address // // - **2**: a domain name // // - **6**: a Uniform Resource Identifier (URI) // // - **7**: an IP address // // - **Value**: the value of the extension. Data type: string. // // example: // // [ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ] Sans *string `json:"Sans,omitempty" xml:"Sans,omitempty"` // The serial number of the certificate. // // example: // // 62b2b943a32d96883a6650e672ea0276**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The SHA-256 fingerprint of the certificate. // // example: // // 14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9**** Sha2 *string `json:"Sha2,omitempty" xml:"Sha2,omitempty"` // The signature algorithm of the certificate. // // example: // // SHA256WITHRSA SignAlgorithm *string `json:"SignAlgorithm,omitempty" xml:"SignAlgorithm,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The status of the certificate. Valid values: // // - **ISSUE**: issued // // - **REVOKE**: revoked // // example: // // ISSUE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The distinguished name (DN) extension of the certificate, which indicates the user of the certificate. The DN extension includes the following information: // // - **C**: the country // // - **O**: the organization // // - **OU**: the department // // - **L**: the city // // - **ST**: the province, municipality, or autonomous region // // - **CN**: the common name // // example: // // C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun SubjectDN *string `json:"SubjectDN,omitempty" xml:"SubjectDN,omitempty"` // The content of the certificate. // // example: // // -----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (DescribeClientCertificateResponseBodyCertificate) GoString ¶
func (s DescribeClientCertificateResponseBodyCertificate) GoString() string
func (*DescribeClientCertificateResponseBodyCertificate) SetAfterDate ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetAfterDate(v int64) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetAlgorithm ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetAlgorithm(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetBeforeDate ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetBeforeDate(v int64) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetCertificateType ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetCertificateType(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetCommonName ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetCommonName(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetCountryCode ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetCountryCode(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetIdentifier ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetIdentifier(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetKeySize ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetKeySize(v int32) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetLocality ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetLocality(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetOrganization ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetOrganization(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetOrganizationUnit ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetOrganizationUnit(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetParentIdentifier ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetParentIdentifier(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetSerialNumber ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetSerialNumber(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetSignAlgorithm ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetSignAlgorithm(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetStatus ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetStatus(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetSubjectDN ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetSubjectDN(v string) *DescribeClientCertificateResponseBodyCertificate
func (*DescribeClientCertificateResponseBodyCertificate) SetX509Certificate ¶
func (s *DescribeClientCertificateResponseBodyCertificate) SetX509Certificate(v string) *DescribeClientCertificateResponseBodyCertificate
func (DescribeClientCertificateResponseBodyCertificate) String ¶
func (s DescribeClientCertificateResponseBodyCertificate) String() string
type DescribeClientCertificateStatusRequest ¶
type DescribeClientCertificateStatusRequest struct { // The unique identifiers of the client certificates or server certificates that you want to query. Separate multiple unique identifiers with commas (,). // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // This parameter is required. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` }
func (DescribeClientCertificateStatusRequest) GoString ¶
func (s DescribeClientCertificateStatusRequest) GoString() string
func (*DescribeClientCertificateStatusRequest) SetIdentifier ¶
func (s *DescribeClientCertificateStatusRequest) SetIdentifier(v string) *DescribeClientCertificateStatusRequest
func (DescribeClientCertificateStatusRequest) String ¶
func (s DescribeClientCertificateStatusRequest) String() string
type DescribeClientCertificateStatusResponse ¶
type DescribeClientCertificateStatusResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeClientCertificateStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeClientCertificateStatusResponse) GoString ¶
func (s DescribeClientCertificateStatusResponse) GoString() string
func (*DescribeClientCertificateStatusResponse) SetHeaders ¶
func (s *DescribeClientCertificateStatusResponse) SetHeaders(v map[string]*string) *DescribeClientCertificateStatusResponse
func (*DescribeClientCertificateStatusResponse) SetStatusCode ¶
func (s *DescribeClientCertificateStatusResponse) SetStatusCode(v int32) *DescribeClientCertificateStatusResponse
func (DescribeClientCertificateStatusResponse) String ¶
func (s DescribeClientCertificateStatusResponse) String() string
type DescribeClientCertificateStatusResponseBody ¶
type DescribeClientCertificateStatusResponseBody struct { // An array that consists of the status information about the certificates. CertificateStatus []*DescribeClientCertificateStatusResponseBodyCertificateStatus `json:"CertificateStatus,omitempty" xml:"CertificateStatus,omitempty" type:"Repeated"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeClientCertificateStatusResponseBody) GoString ¶
func (s DescribeClientCertificateStatusResponseBody) GoString() string
func (*DescribeClientCertificateStatusResponseBody) SetCertificateStatus ¶
func (s *DescribeClientCertificateStatusResponseBody) SetCertificateStatus(v []*DescribeClientCertificateStatusResponseBodyCertificateStatus) *DescribeClientCertificateStatusResponseBody
func (*DescribeClientCertificateStatusResponseBody) SetRequestId ¶
func (s *DescribeClientCertificateStatusResponseBody) SetRequestId(v string) *DescribeClientCertificateStatusResponseBody
func (DescribeClientCertificateStatusResponseBody) String ¶
func (s DescribeClientCertificateStatusResponseBody) String() string
type DescribeClientCertificateStatusResponseBodyCertificateStatus ¶
type DescribeClientCertificateStatusResponseBodyCertificateStatus struct { // The date on which the certificate was revoked. // // > This parameter is returned only when the value of the **Status* - parameter is **revoked**. The value revoked indicates that the certificate is revoked. // // example: // // 2021-01-01T00:00Z RevokeTime *int64 `json:"RevokeTime,omitempty" xml:"RevokeTime,omitempty"` // The serial number of the certificate. // // example: // // b67e53ebcea9b77d65b0c3236646d715**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The status of the certificate. Valid values: // // - **good**: The certificate is not revoked. // // - **revoked**: The certificate is revoked. // // - **unknown**: The server cannot determine the status of the certificate. // // example: // // good Status *string `json:"Status,omitempty" xml:"Status,omitempty"` }
func (DescribeClientCertificateStatusResponseBodyCertificateStatus) GoString ¶
func (s DescribeClientCertificateStatusResponseBodyCertificateStatus) GoString() string
func (*DescribeClientCertificateStatusResponseBodyCertificateStatus) SetRevokeTime ¶
func (*DescribeClientCertificateStatusResponseBodyCertificateStatus) SetSerialNumber ¶
func (s *DescribeClientCertificateStatusResponseBodyCertificateStatus) SetSerialNumber(v string) *DescribeClientCertificateStatusResponseBodyCertificateStatus
func (DescribeClientCertificateStatusResponseBodyCertificateStatus) String ¶
func (s DescribeClientCertificateStatusResponseBodyCertificateStatus) String() string
type GetCAInstanceStatusRequest ¶
type GetCAInstanceStatusRequest struct { // The unique identifier of the certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the private CA instance. // // > After you purchase a private CA instance by using the [SSL Certificates Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist), you can click **Details* - for the private CA instance on the **Private Certificates* - page to query the ID of the private CA instance. // // example: // // cas-member-0hmi**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` }
func (GetCAInstanceStatusRequest) GoString ¶
func (s GetCAInstanceStatusRequest) GoString() string
func (*GetCAInstanceStatusRequest) SetIdentifier ¶ added in v1.0.16
func (s *GetCAInstanceStatusRequest) SetIdentifier(v string) *GetCAInstanceStatusRequest
func (*GetCAInstanceStatusRequest) SetInstanceId ¶
func (s *GetCAInstanceStatusRequest) SetInstanceId(v string) *GetCAInstanceStatusRequest
func (GetCAInstanceStatusRequest) String ¶
func (s GetCAInstanceStatusRequest) String() string
type GetCAInstanceStatusResponse ¶
type GetCAInstanceStatusResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetCAInstanceStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetCAInstanceStatusResponse) GoString ¶
func (s GetCAInstanceStatusResponse) GoString() string
func (*GetCAInstanceStatusResponse) SetBody ¶
func (s *GetCAInstanceStatusResponse) SetBody(v *GetCAInstanceStatusResponseBody) *GetCAInstanceStatusResponse
func (*GetCAInstanceStatusResponse) SetHeaders ¶
func (s *GetCAInstanceStatusResponse) SetHeaders(v map[string]*string) *GetCAInstanceStatusResponse
func (*GetCAInstanceStatusResponse) SetStatusCode ¶
func (s *GetCAInstanceStatusResponse) SetStatusCode(v int32) *GetCAInstanceStatusResponse
func (GetCAInstanceStatusResponse) String ¶
func (s GetCAInstanceStatusResponse) String() string
type GetCAInstanceStatusResponseBody ¶
type GetCAInstanceStatusResponseBody struct { // The status information of the private CA instance. InstanceStatusList []*GetCAInstanceStatusResponseBodyInstanceStatusList `json:"InstanceStatusList,omitempty" xml:"InstanceStatusList,omitempty" type:"Repeated"` // The ID of the request. // // example: // // 25589516-2A56-5159-AB88-4A1D9824E183 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetCAInstanceStatusResponseBody) GoString ¶
func (s GetCAInstanceStatusResponseBody) GoString() string
func (*GetCAInstanceStatusResponseBody) SetInstanceStatusList ¶
func (s *GetCAInstanceStatusResponseBody) SetInstanceStatusList(v []*GetCAInstanceStatusResponseBodyInstanceStatusList) *GetCAInstanceStatusResponseBody
func (*GetCAInstanceStatusResponseBody) SetRequestId ¶
func (s *GetCAInstanceStatusResponseBody) SetRequestId(v string) *GetCAInstanceStatusResponseBody
func (GetCAInstanceStatusResponseBody) String ¶
func (s GetCAInstanceStatusResponseBody) String() string
type GetCAInstanceStatusResponseBodyInstanceStatusList ¶
type GetCAInstanceStatusResponseBodyInstanceStatusList struct { // The expiration date of the private CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // > This parameter is returned only when the value of the **Status* - parameter is **USED* - or **REVOKE**. The value USED indicates that the private CA instance is enabled, and the value REVOKE indicates that the instance is revoked. // // example: // // 1792944000000 AfterTime *int64 `json:"AfterTime,omitempty" xml:"AfterTime,omitempty"` // The issuance date of the private CA certificate. This value is a UNIX timestamp. Unit: milliseconds. // // > This parameter is returned only when the value of the **Status* - parameter is **USED* - or **REVOKE**. The value USED indicates that the private CA instance is enabled, and the value REVOKE indicates that the instance is revoked. // // example: // // 1635177600000 BeforeTime *int64 `json:"BeforeTime,omitempty" xml:"BeforeTime,omitempty"` // The number of certificates that are issued by using the private CA instance. // // example: // // 1 CertIssuedCount *int32 `json:"CertIssuedCount,omitempty" xml:"CertIssuedCount,omitempty"` // The number of certificates that can be issued by using the private CA instance. // // For a private root CA instance whose **Type* - is **ROOT**, this parameter indicates the number of intermediate CA certificates that can be issued. // // For a private intermediate CA instance whose **Type* - is **SUB_ROOT**, this parameter indicates the total number of client certificates and server certificates that can be issued // // example: // // 10 CertTotalCount *int32 `json:"CertTotalCount,omitempty" xml:"CertTotalCount,omitempty"` // The unique identifier of the private CA certificate. // // > This parameter is returned only when the value of the **Status* - parameter is **USED* - or **REVOKE**. The value USED indicates that the private CA instance is enabled, and the value REVOKE indicates that the instance is revoked. // // example: // // a7bb2dd212a2112128cd5cc9b753**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The ID of the private CA instance. // // example: // // cas-member-0hmi**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The status of the private CA instance. Valid values: // // - **BUY**: The private CA instance is purchased but is not enabled. // // - **USED**: The private CA instance is enabled. // // - **REFUND**: The private CA instance is refunded. // // - **REVOKE**: The private CA instance is revoked. // // example: // // USED Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The type of the private CA instance. Valid values: // // - **ROOT**: root CA instance // // - **SUB_ROOT**: intermediate CA instance // // example: // // ROOT Type *string `json:"Type,omitempty" xml:"Type,omitempty"` // The expiration date of the private CA instance. This value is a UNIX timestamp. Unit: milliseconds. // // > This parameter corresponds to the duration that you select when you purchase the private CA instance. The duration indicates the subscription period of the Private Certificate Authority (PCA) service. // // example: // // 1637251200000 UseExpireTime *int64 `json:"UseExpireTime,omitempty" xml:"UseExpireTime,omitempty"` }
func (GetCAInstanceStatusResponseBodyInstanceStatusList) GoString ¶
func (s GetCAInstanceStatusResponseBodyInstanceStatusList) GoString() string
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetAfterTime ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetAfterTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetBeforeTime ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetBeforeTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertIssuedCount ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertIssuedCount(v int32) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertTotalCount ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetCertTotalCount(v int32) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetIdentifier ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetIdentifier(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetInstanceId ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetInstanceId(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetStatus ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetStatus(v string) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (*GetCAInstanceStatusResponseBodyInstanceStatusList) SetUseExpireTime ¶
func (s *GetCAInstanceStatusResponseBodyInstanceStatusList) SetUseExpireTime(v int64) *GetCAInstanceStatusResponseBodyInstanceStatusList
func (GetCAInstanceStatusResponseBodyInstanceStatusList) String ¶
func (s GetCAInstanceStatusResponseBodyInstanceStatusList) String() string
type ListClientCertificateRequest ¶
type ListClientCertificateRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The unique identifier of the client certificate or the server certificate that you want to query. // // > You can call the [ListClientCertificate](https://help.aliyun.com/document_detail/330884.html) operation to query the unique identifiers of all client certificates and server certificates. // // example: // // 190ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The number of certificates to return on each page. Default value: **20**. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` }
func (ListClientCertificateRequest) GoString ¶
func (s ListClientCertificateRequest) GoString() string
func (*ListClientCertificateRequest) SetCurrentPage ¶
func (s *ListClientCertificateRequest) SetCurrentPage(v int32) *ListClientCertificateRequest
func (*ListClientCertificateRequest) SetIdentifier ¶ added in v1.0.16
func (s *ListClientCertificateRequest) SetIdentifier(v string) *ListClientCertificateRequest
func (*ListClientCertificateRequest) SetShowSize ¶
func (s *ListClientCertificateRequest) SetShowSize(v int32) *ListClientCertificateRequest
func (ListClientCertificateRequest) String ¶
func (s ListClientCertificateRequest) String() string
type ListClientCertificateResponse ¶
type ListClientCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListClientCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListClientCertificateResponse) GoString ¶
func (s ListClientCertificateResponse) GoString() string
func (*ListClientCertificateResponse) SetBody ¶
func (s *ListClientCertificateResponse) SetBody(v *ListClientCertificateResponseBody) *ListClientCertificateResponse
func (*ListClientCertificateResponse) SetHeaders ¶
func (s *ListClientCertificateResponse) SetHeaders(v map[string]*string) *ListClientCertificateResponse
func (*ListClientCertificateResponse) SetStatusCode ¶
func (s *ListClientCertificateResponse) SetStatusCode(v int32) *ListClientCertificateResponse
func (ListClientCertificateResponse) String ¶
func (s ListClientCertificateResponse) String() string
type ListClientCertificateResponseBody ¶
type ListClientCertificateResponseBody struct { // An array that consists of the details about all client certificates and server certificates. CertificateList []*ListClientCertificateResponseBodyCertificateList `json:"CertificateList,omitempty" xml:"CertificateList,omitempty" type:"Repeated"` // The page number of the current page. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The total number of pages returned. // // example: // // 1 PageCount *int32 `json:"PageCount,omitempty" xml:"PageCount,omitempty"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The number of certificates that are returned per page. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` // The number of client certificates and server certificates that are returned. // // example: // // 1 TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListClientCertificateResponseBody) GoString ¶
func (s ListClientCertificateResponseBody) GoString() string
func (*ListClientCertificateResponseBody) SetCertificateList ¶
func (s *ListClientCertificateResponseBody) SetCertificateList(v []*ListClientCertificateResponseBodyCertificateList) *ListClientCertificateResponseBody
func (*ListClientCertificateResponseBody) SetCurrentPage ¶
func (s *ListClientCertificateResponseBody) SetCurrentPage(v int32) *ListClientCertificateResponseBody
func (*ListClientCertificateResponseBody) SetPageCount ¶
func (s *ListClientCertificateResponseBody) SetPageCount(v int32) *ListClientCertificateResponseBody
func (*ListClientCertificateResponseBody) SetRequestId ¶
func (s *ListClientCertificateResponseBody) SetRequestId(v string) *ListClientCertificateResponseBody
func (*ListClientCertificateResponseBody) SetShowSize ¶
func (s *ListClientCertificateResponseBody) SetShowSize(v int32) *ListClientCertificateResponseBody
func (*ListClientCertificateResponseBody) SetTotalCount ¶
func (s *ListClientCertificateResponseBody) SetTotalCount(v int64) *ListClientCertificateResponseBody
func (ListClientCertificateResponseBody) String ¶
func (s ListClientCertificateResponseBody) String() string
type ListClientCertificateResponseBodyCertificateList ¶
type ListClientCertificateResponseBodyCertificateList struct { // The expiration date of the certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1665819958000 AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"` // The type of the encryption algorithm of the certificate. Valid values: // // - **RSA**: the Rivest-Shamir-Adleman (RSA) algorithm. // // - **ECC**: the elliptic curve cryptography (ECC) algorithm. // // - **SM2**: the SM2 algorithm, which is developed and approved by the State Cryptography Administration of China. // // example: // // RSA Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance date of the certificate. This value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1634283958000 BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"` // The type of the certificate. Valid values: // // - **CLIENT**: client certificate // // - **SERVER**: server certificate // // example: // // SERVER CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"` // The common name of the certificate. // // example: // // aliyundoc.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // The validity period of the certificate. Unit: days. // // example: // // 365 Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"` // The unique identifier of the certificate. // // example: // // d3b95700998e47afc4d95f886579**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The key length of the certificate. // // example: // // 4096 KeySize *int32 `json:"KeySize,omitempty" xml:"KeySize,omitempty"` // The name of the city in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The MD5 fingerprint of the certificate. // // example: // // d3b95700998e47afc4d95f886579**** Md5 *string `json:"Md5,omitempty" xml:"Md5,omitempty"` // The name of the organization. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department in the organization. The organization is associated with the intermediate certificate authority (CA) certificate from which the certificate is issued. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The unique identifier of the intermediate certificate from which the client certificate is issued. // // example: // // 160ae6bb538d538c70c01f81dcf2**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The subject alternative name (SAN) extension of the certificate. The value indicates additional information, including the additional domain names or IP addresses that are associated with the certificate. // // The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that corresponds to a SAN extension. A SAN extension struct contains the following parameters: // // - **Type**: the type of the extension. Data type: integer. Valid values: // // - **1**: an email address // // - **2**: a domain name // // - **6**: a Uniform Resource Identifier (URI) // // - **7**: an IP address // // - **Value**: the value of the extension. Data type: string. // // example: // // [ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ] Sans *string `json:"Sans,omitempty" xml:"Sans,omitempty"` // The serial number of the certificate. // // example: // // 62b2b943a32d96883a6650e672ea0276**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The SHA-256 fingerprint of the certificate. // // example: // // 14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9**** Sha2 *string `json:"Sha2,omitempty" xml:"Sha2,omitempty"` // The signature algorithm of the certificate. // // example: // // SHA256WITHRSA SignAlgorithm *string `json:"SignAlgorithm,omitempty" xml:"SignAlgorithm,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The status of the certificate. Valid values: // // - **ISSUE**: issued // // - **REVOKE**: revoked // // example: // // ISSUE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The distinguished name (DN) extension of the certificate, which indicates the user of the certificate. The DN extension includes the following information: // // - **C**: the country // // - **O**: the organization // // - **OU**: the department // // - **L**: the city // // - **ST**: the province, municipality, or autonomous region // // - **CN**: the common name // // example: // // C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun SubjectDN *string `json:"SubjectDN,omitempty" xml:"SubjectDN,omitempty"` // The content of the certificate. // // example: // // -----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE----- X509Certificate *string `json:"X509Certificate,omitempty" xml:"X509Certificate,omitempty"` }
func (ListClientCertificateResponseBodyCertificateList) GoString ¶
func (s ListClientCertificateResponseBodyCertificateList) GoString() string
func (*ListClientCertificateResponseBodyCertificateList) SetAfterDate ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetAfterDate(v int64) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetAlgorithm ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetAlgorithm(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetBeforeDate ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetBeforeDate(v int64) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetCertificateType ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetCertificateType(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetCommonName ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetCommonName(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetCountryCode ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetCountryCode(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetIdentifier ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetIdentifier(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetKeySize ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetKeySize(v int32) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetLocality ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetLocality(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetOrganization ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetOrganization(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetOrganizationUnit ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetOrganizationUnit(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetParentIdentifier ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetParentIdentifier(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetSerialNumber ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetSerialNumber(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetSignAlgorithm ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetSignAlgorithm(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetStatus ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetStatus(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetSubjectDN ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetSubjectDN(v string) *ListClientCertificateResponseBodyCertificateList
func (*ListClientCertificateResponseBodyCertificateList) SetX509Certificate ¶
func (s *ListClientCertificateResponseBodyCertificateList) SetX509Certificate(v string) *ListClientCertificateResponseBodyCertificateList
func (ListClientCertificateResponseBodyCertificateList) String ¶
func (s ListClientCertificateResponseBodyCertificateList) String() string
type ListRevokeCertificateRequest ¶
type ListRevokeCertificateRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The number of revoked certificates to return on each page. Default value: **20**. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` }
func (ListRevokeCertificateRequest) GoString ¶
func (s ListRevokeCertificateRequest) GoString() string
func (*ListRevokeCertificateRequest) SetCurrentPage ¶
func (s *ListRevokeCertificateRequest) SetCurrentPage(v int32) *ListRevokeCertificateRequest
func (*ListRevokeCertificateRequest) SetShowSize ¶
func (s *ListRevokeCertificateRequest) SetShowSize(v int32) *ListRevokeCertificateRequest
func (ListRevokeCertificateRequest) String ¶
func (s ListRevokeCertificateRequest) String() string
type ListRevokeCertificateResponse ¶
type ListRevokeCertificateResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListRevokeCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListRevokeCertificateResponse) GoString ¶
func (s ListRevokeCertificateResponse) GoString() string
func (*ListRevokeCertificateResponse) SetBody ¶
func (s *ListRevokeCertificateResponse) SetBody(v *ListRevokeCertificateResponseBody) *ListRevokeCertificateResponse
func (*ListRevokeCertificateResponse) SetHeaders ¶
func (s *ListRevokeCertificateResponse) SetHeaders(v map[string]*string) *ListRevokeCertificateResponse
func (*ListRevokeCertificateResponse) SetStatusCode ¶
func (s *ListRevokeCertificateResponse) SetStatusCode(v int32) *ListRevokeCertificateResponse
func (ListRevokeCertificateResponse) String ¶
func (s ListRevokeCertificateResponse) String() string
type ListRevokeCertificateResponseBody ¶
type ListRevokeCertificateResponseBody struct { // An array that consists of the details about the revoked client certificates or server certificates. CertificateList []*ListRevokeCertificateResponseBodyCertificateList `json:"CertificateList,omitempty" xml:"CertificateList,omitempty" type:"Repeated"` // The page number of the current page. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The total number of pages returned. // // example: // // 1 PageCount *int32 `json:"PageCount,omitempty" xml:"PageCount,omitempty"` // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The number of revoked certificates that are returned per page. // // example: // // 20 ShowSize *int32 `json:"ShowSize,omitempty" xml:"ShowSize,omitempty"` // The total number of revoked client certificates and server certificates that are returned. // // example: // // 1 TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` }
func (ListRevokeCertificateResponseBody) GoString ¶
func (s ListRevokeCertificateResponseBody) GoString() string
func (*ListRevokeCertificateResponseBody) SetCertificateList ¶
func (s *ListRevokeCertificateResponseBody) SetCertificateList(v []*ListRevokeCertificateResponseBodyCertificateList) *ListRevokeCertificateResponseBody
func (*ListRevokeCertificateResponseBody) SetCurrentPage ¶
func (s *ListRevokeCertificateResponseBody) SetCurrentPage(v int32) *ListRevokeCertificateResponseBody
func (*ListRevokeCertificateResponseBody) SetPageCount ¶
func (s *ListRevokeCertificateResponseBody) SetPageCount(v int32) *ListRevokeCertificateResponseBody
func (*ListRevokeCertificateResponseBody) SetRequestId ¶
func (s *ListRevokeCertificateResponseBody) SetRequestId(v string) *ListRevokeCertificateResponseBody
func (*ListRevokeCertificateResponseBody) SetShowSize ¶
func (s *ListRevokeCertificateResponseBody) SetShowSize(v int32) *ListRevokeCertificateResponseBody
func (*ListRevokeCertificateResponseBody) SetTotalCount ¶
func (s *ListRevokeCertificateResponseBody) SetTotalCount(v int64) *ListRevokeCertificateResponseBody
func (ListRevokeCertificateResponseBody) String ¶
func (s ListRevokeCertificateResponseBody) String() string
type ListRevokeCertificateResponseBodyCertificateList ¶
type ListRevokeCertificateResponseBodyCertificateList struct { // The expiration date of the certificate. The date is in the `yyyy-MM-ddT00:00Z` format. For example, the value `2021-12-31T00:00Z` indicates December 31, 2021. // // example: // // 2021-12-31T00:00Z AfterDate *string `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"` // The type of the encryption algorithm of the certificate. Valid values: // // - **RSA**: the Rivest-Shamir-Adleman (RSA) algorithm. // // - **ECC**: the elliptic curve cryptography (ECC) algorithm. // // - **SM2**: the SM2 algorithm, which is developed and approved by the State Cryptography Administration of China. // // example: // // RSA Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // The issuance date of the certificate. The date is in the `yyyy-MM-ddT00:00Z` format. For example, the value `2021-01-01T00:00Z` indicates January 1, 2021. // // example: // // 2021-01-01T00:00Z BeforeDate *string `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"` // The type of the certificate. // // example: // // SERVER CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"` // The common name of the certificate. // // example: // // aliyundoc.com CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"` // The code of the country in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // For more information about country codes, see the **"Country codes"* - section of the [Manage company profiles](https://help.aliyun.com/document_detail/198289.html) topic. // // example: // // CN CountryCode *string `json:"CountryCode,omitempty" xml:"CountryCode,omitempty"` // The unique identifier of the certificate. // // example: // // 05e148d8d3ecc9976d9ecd2b2f25**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The key length of the certificate. // // example: // // 4096 KeySize *int32 `json:"KeySize,omitempty" xml:"KeySize,omitempty"` // The name of the city in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Hangzhou Locality *string `json:"Locality,omitempty" xml:"Locality,omitempty"` // The MD5 fingerprint of the certificate. // // example: // // 05e148d8d3ecc9976d9ecd2b2f25**** Md5 *string `json:"Md5,omitempty" xml:"Md5,omitempty"` // The name of the organization. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Alibaba Cloud Computing Co., Ltd. Organization *string `json:"Organization,omitempty" xml:"Organization,omitempty"` // The name of the department in the organization. The organization is associated with the intermediate certificate authority (CA) certificate from which the certificate is issued. // // example: // // Security OrganizationUnit *string `json:"OrganizationUnit,omitempty" xml:"OrganizationUnit,omitempty"` // The identifier of the root certificate. // // example: // // 160ae6bb538d538c70c01f81dcf2**** ParentIdentifier *string `json:"ParentIdentifier,omitempty" xml:"ParentIdentifier,omitempty"` // The date on which the certificate was revoked. The value is in the `yyyy-MM-ddT00:00Z` format. For example, the value `2021-09-01T00:00Z` indicates September 1, 2021. // // example: // // 2021-09-01T00:00Z RevokeDate *string `json:"RevokeDate,omitempty" xml:"RevokeDate,omitempty"` // The subject alternative name (SAN) extension of the certificate. // // The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that corresponds to a SAN extension. A SAN extension struct contains the following parameters: // // - **Type**: the type of the extension. Data type: integer. Valid values: // // - **1**: an email address // // - **2**: a domain name // // - **6**: a Uniform Resource Identifier (URI) // // - **7**: an IP address // // - **Value**: the value of the extension. Data type: string. // // example: // // [ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ] Sans *string `json:"Sans,omitempty" xml:"Sans,omitempty"` // The serial number of the certificate. // // example: // // 168b12c42e62339f8d2340ff530f9365**** SerialNumber *string `json:"SerialNumber,omitempty" xml:"SerialNumber,omitempty"` // The SHA-256 fingerprint of the certificate. // // example: // // b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a**** Sha2 *string `json:"Sha2,omitempty" xml:"Sha2,omitempty"` // The signature algorithm of the certificate. // // example: // // SHA256WITHRSA SignAlgorithm *string `json:"SignAlgorithm,omitempty" xml:"SignAlgorithm,omitempty"` // The name of the province, municipality, or autonomous region in which the organization is located. The organization is associated with the intermediate certificate from which the certificate is issued. // // example: // // Zhejiang State *string `json:"State,omitempty" xml:"State,omitempty"` // The status. // // example: // // ISSUE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The distinguished name (DN) extension of the certificate, which indicates the user of the certificate. The DN extension includes the following information: // // - **C**: the country // // - **O**: the organization // // - **OU**: the department // // - **L**: the city // // - **ST**: the province, municipality, or autonomous region // // - **CN**: the common name // // example: // // C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com SubjectDN *string `json:"SubjectDN,omitempty" xml:"SubjectDN,omitempty"` }
func (ListRevokeCertificateResponseBodyCertificateList) GoString ¶
func (s ListRevokeCertificateResponseBodyCertificateList) GoString() string
func (*ListRevokeCertificateResponseBodyCertificateList) SetAfterDate ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetAfterDate(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetAlgorithm ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetAlgorithm(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetBeforeDate ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetBeforeDate(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetCertificateType ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetCertificateType(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetCommonName ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetCommonName(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetCountryCode ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetCountryCode(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetIdentifier ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetIdentifier(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetKeySize ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetKeySize(v int32) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetLocality ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetLocality(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetOrganization ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetOrganization(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetOrganizationUnit ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetOrganizationUnit(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetParentIdentifier ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetParentIdentifier(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetRevokeDate ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetRevokeDate(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetSerialNumber ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetSerialNumber(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetSignAlgorithm ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetSignAlgorithm(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetStatus ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetStatus(v string) *ListRevokeCertificateResponseBodyCertificateList
func (*ListRevokeCertificateResponseBodyCertificateList) SetSubjectDN ¶
func (s *ListRevokeCertificateResponseBodyCertificateList) SetSubjectDN(v string) *ListRevokeCertificateResponseBodyCertificateList
func (ListRevokeCertificateResponseBodyCertificateList) String ¶
func (s ListRevokeCertificateResponseBodyCertificateList) String() string
type UpdateCACertificateStatusRequest ¶
type UpdateCACertificateStatusRequest struct { // The unique identifier of the CA certificate whose status you want to change. // // > You can call the [DescribeCACertificateList](https://help.aliyun.com/document_detail/328095.html) operation to query the unique identifiers of all CA certificates. // // This parameter is required. // // example: // // 160ae6bb538d538c70c01f81dcf2**** Identifier *string `json:"Identifier,omitempty" xml:"Identifier,omitempty"` // The state to which you want to change the CA certificate. Set to the value to **REVOKE**. After this operation is called, the status of the CA certificate is changed to **REVOKE**. // // > You can call this operation only if the status of a CA certificate is **ISSUE**. You can call the [DescribeCACertificate](https://help.aliyun.com/document_detail/328096.html) operation to query the status of a CA certificate. // // This parameter is required. // // example: // // REVOKE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` }
func (UpdateCACertificateStatusRequest) GoString ¶
func (s UpdateCACertificateStatusRequest) GoString() string
func (*UpdateCACertificateStatusRequest) SetIdentifier ¶
func (s *UpdateCACertificateStatusRequest) SetIdentifier(v string) *UpdateCACertificateStatusRequest
func (*UpdateCACertificateStatusRequest) SetStatus ¶
func (s *UpdateCACertificateStatusRequest) SetStatus(v string) *UpdateCACertificateStatusRequest
func (UpdateCACertificateStatusRequest) String ¶
func (s UpdateCACertificateStatusRequest) String() string
type UpdateCACertificateStatusResponse ¶
type UpdateCACertificateStatusResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateCACertificateStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateCACertificateStatusResponse) GoString ¶
func (s UpdateCACertificateStatusResponse) GoString() string
func (*UpdateCACertificateStatusResponse) SetHeaders ¶
func (s *UpdateCACertificateStatusResponse) SetHeaders(v map[string]*string) *UpdateCACertificateStatusResponse
func (*UpdateCACertificateStatusResponse) SetStatusCode ¶
func (s *UpdateCACertificateStatusResponse) SetStatusCode(v int32) *UpdateCACertificateStatusResponse
func (UpdateCACertificateStatusResponse) String ¶
func (s UpdateCACertificateStatusResponse) String() string
type UpdateCACertificateStatusResponseBody ¶
type UpdateCACertificateStatusResponseBody struct { // The ID of the request. // // example: // // 15C66C7B-671A-4297-9187-2C4477247A74 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UpdateCACertificateStatusResponseBody) GoString ¶
func (s UpdateCACertificateStatusResponseBody) GoString() string
func (*UpdateCACertificateStatusResponseBody) SetRequestId ¶
func (s *UpdateCACertificateStatusResponseBody) SetRequestId(v string) *UpdateCACertificateStatusResponseBody
func (UpdateCACertificateStatusResponseBody) String ¶
func (s UpdateCACertificateStatusResponseBody) String() string