model

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionResources

type ActionResources struct {
	ResourceId *string `json:"resource_id,omitempty"`

	ResourceDetail *KeyDetails `json:"resource_detail,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	Tags *[]TagItem `json:"tags,omitempty"`
}

func (ActionResources) String

func (o ActionResources) String() string
type ApiLink struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

func (ApiLink) String

func (o ApiLink) String() string

type ApiVersionDetail

type ApiVersionDetail struct {
	Id *string `json:"id,omitempty"`

	Links *[]ApiLink `json:"links,omitempty"`

	Version *string `json:"version,omitempty"`

	Status *string `json:"status,omitempty"`

	Updated *string `json:"updated,omitempty"`

	MinVersion *string `json:"min_version,omitempty"`
}

func (ApiVersionDetail) String

func (o ApiVersionDetail) String() string

type BatchCreateKmsTagsRequest

type BatchCreateKmsTagsRequest struct {
	KeyId string `json:"key_id"`

	Body *BatchCreateKmsTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchCreateKmsTagsRequest) String

func (o BatchCreateKmsTagsRequest) String() string

type BatchCreateKmsTagsRequestBody

type BatchCreateKmsTagsRequestBody struct {
	Tags *[]TagItem `json:"tags,omitempty"`

	Action *string `json:"action,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (BatchCreateKmsTagsRequestBody) String

type BatchCreateKmsTagsResponse

type BatchCreateKmsTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateKmsTagsResponse) String

type CancelGrantRequest

type CancelGrantRequest struct {
	Body *RevokeGrantRequestBody `json:"body,omitempty"`
}

Request Object

func (CancelGrantRequest) String

func (o CancelGrantRequest) String() string

type CancelGrantResponse

type CancelGrantResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelGrantResponse) String

func (o CancelGrantResponse) String() string

type CancelKeyDeletionRequest

type CancelKeyDeletionRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (CancelKeyDeletionRequest) String

func (o CancelKeyDeletionRequest) String() string

type CancelKeyDeletionResponse

type CancelKeyDeletionResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	KeyState       *string `json:"key_state,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CancelKeyDeletionResponse) String

func (o CancelKeyDeletionResponse) String() string

type CancelSelfGrantRequest

type CancelSelfGrantRequest struct {
	Body *RevokeGrantRequestBody `json:"body,omitempty"`
}

Request Object

func (CancelSelfGrantRequest) String

func (o CancelSelfGrantRequest) String() string

type CancelSelfGrantResponse

type CancelSelfGrantResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelSelfGrantResponse) String

func (o CancelSelfGrantResponse) String() string

type CreateDatakeyRequest

type CreateDatakeyRequest struct {
	Body *CreateDatakeyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDatakeyRequest) String

func (o CreateDatakeyRequest) String() string

type CreateDatakeyRequestBody

type CreateDatakeyRequestBody struct {
	KeyId string `json:"key_id"`

	KeySpec *CreateDatakeyRequestBodyKeySpec `json:"key_spec,omitempty"`

	DatakeyLength *string `json:"datakey_length,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (CreateDatakeyRequestBody) String

func (o CreateDatakeyRequestBody) String() string

type CreateDatakeyRequestBodyKeySpec

type CreateDatakeyRequestBodyKeySpec struct {
	// contains filtered or unexported fields
}

func (CreateDatakeyRequestBodyKeySpec) MarshalJSON

func (c CreateDatakeyRequestBodyKeySpec) MarshalJSON() ([]byte, error)

func (*CreateDatakeyRequestBodyKeySpec) UnmarshalJSON

func (c *CreateDatakeyRequestBodyKeySpec) UnmarshalJSON(b []byte) error

type CreateDatakeyRequestBodyKeySpecEnum

type CreateDatakeyRequestBodyKeySpecEnum struct {
	AES_256 CreateDatakeyRequestBodyKeySpec
	AES_128 CreateDatakeyRequestBodyKeySpec
}

func GetCreateDatakeyRequestBodyKeySpecEnum

func GetCreateDatakeyRequestBodyKeySpecEnum() CreateDatakeyRequestBodyKeySpecEnum

type CreateDatakeyResponse

type CreateDatakeyResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	PlainText *string `json:"plain_text,omitempty"`

	CipherText     *string `json:"cipher_text,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDatakeyResponse) String

func (o CreateDatakeyResponse) String() string

type CreateDatakeyWithoutPlaintextRequest

type CreateDatakeyWithoutPlaintextRequest struct {
	Body *CreateDatakeyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDatakeyWithoutPlaintextRequest) String

type CreateDatakeyWithoutPlaintextResponse

type CreateDatakeyWithoutPlaintextResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	CipherText     *string `json:"cipher_text,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDatakeyWithoutPlaintextResponse) String

type CreateGrantRequest

type CreateGrantRequest struct {
	Body *CreateGrantRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateGrantRequest) String

func (o CreateGrantRequest) String() string

type CreateGrantRequestBody

type CreateGrantRequestBody struct {
	KeyId string `json:"key_id"`

	GranteePrincipal string `json:"grantee_principal"`

	Operations []string `json:"operations"`

	Name *string `json:"name,omitempty"`

	RetiringPrincipal *string `json:"retiring_principal,omitempty"`

	GranteePrincipalType *CreateGrantRequestBodyGranteePrincipalType `json:"grantee_principal_type,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (CreateGrantRequestBody) String

func (o CreateGrantRequestBody) String() string

type CreateGrantRequestBodyGranteePrincipalType

type CreateGrantRequestBodyGranteePrincipalType struct {
	// contains filtered or unexported fields
}

func (CreateGrantRequestBodyGranteePrincipalType) MarshalJSON

func (*CreateGrantRequestBodyGranteePrincipalType) UnmarshalJSON

type CreateGrantResponse

type CreateGrantResponse struct {
	GrantId        *string `json:"grant_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateGrantResponse) String

func (o CreateGrantResponse) String() string

type CreateKeyRequest

type CreateKeyRequest struct {
	Body *CreateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateKeyRequest) String

func (o CreateKeyRequest) String() string

type CreateKeyRequestBody

type CreateKeyRequestBody struct {
	KeyAlias string `json:"key_alias"`

	KeySpec *CreateKeyRequestBodyKeySpec `json:"key_spec,omitempty"`

	KeyUsage *CreateKeyRequestBodyKeyUsage `json:"key_usage,omitempty"`

	KeyDescription *string `json:"key_description,omitempty"`

	Origin *CreateKeyRequestBodyOrigin `json:"origin,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (CreateKeyRequestBody) String

func (o CreateKeyRequestBody) String() string

type CreateKeyRequestBodyKeySpec

type CreateKeyRequestBodyKeySpec struct {
	// contains filtered or unexported fields
}

func (CreateKeyRequestBodyKeySpec) MarshalJSON

func (c CreateKeyRequestBodyKeySpec) MarshalJSON() ([]byte, error)

func (*CreateKeyRequestBodyKeySpec) UnmarshalJSON

func (c *CreateKeyRequestBodyKeySpec) UnmarshalJSON(b []byte) error

type CreateKeyRequestBodyKeyUsage

type CreateKeyRequestBodyKeyUsage struct {
	// contains filtered or unexported fields
}

func (CreateKeyRequestBodyKeyUsage) MarshalJSON

func (c CreateKeyRequestBodyKeyUsage) MarshalJSON() ([]byte, error)

func (*CreateKeyRequestBodyKeyUsage) UnmarshalJSON

func (c *CreateKeyRequestBodyKeyUsage) UnmarshalJSON(b []byte) error

type CreateKeyRequestBodyKeyUsageEnum

type CreateKeyRequestBodyKeyUsageEnum struct {
	ENCRYPT_DECRYPT CreateKeyRequestBodyKeyUsage
	SIGN_VERIFY     CreateKeyRequestBodyKeyUsage
}

func GetCreateKeyRequestBodyKeyUsageEnum

func GetCreateKeyRequestBodyKeyUsageEnum() CreateKeyRequestBodyKeyUsageEnum

type CreateKeyRequestBodyOrigin

type CreateKeyRequestBodyOrigin struct {
	// contains filtered or unexported fields
}

func (CreateKeyRequestBodyOrigin) MarshalJSON

func (c CreateKeyRequestBodyOrigin) MarshalJSON() ([]byte, error)

func (*CreateKeyRequestBodyOrigin) UnmarshalJSON

func (c *CreateKeyRequestBodyOrigin) UnmarshalJSON(b []byte) error

type CreateKeyRequestBodyOriginEnum

type CreateKeyRequestBodyOriginEnum struct {
	KMS      CreateKeyRequestBodyOrigin
	EXTERNAL CreateKeyRequestBodyOrigin
}

func GetCreateKeyRequestBodyOriginEnum

func GetCreateKeyRequestBodyOriginEnum() CreateKeyRequestBodyOriginEnum

type CreateKeyResponse

type CreateKeyResponse struct {
	KeyInfo        *KeKInfo `json:"key_info,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (CreateKeyResponse) String

func (o CreateKeyResponse) String() string

type CreateKmsTagRequest

type CreateKmsTagRequest struct {
	KeyId string `json:"key_id"`

	Body *CreateKmsTagRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateKmsTagRequest) String

func (o CreateKmsTagRequest) String() string

type CreateKmsTagRequestBody

type CreateKmsTagRequestBody struct {
	Tag *TagItem `json:"tag,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

创建KMS资源标签请求体。

func (CreateKmsTagRequestBody) String

func (o CreateKmsTagRequestBody) String() string

type CreateKmsTagResponse

type CreateKmsTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateKmsTagResponse) String

func (o CreateKmsTagResponse) String() string

type CreateParametersForImportRequest

type CreateParametersForImportRequest struct {
	Body *GetParametersForImportRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateParametersForImportRequest) String

type CreateParametersForImportResponse

type CreateParametersForImportResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	ImportToken *string `json:"import_token,omitempty"`

	ExpirationTime *int64 `json:"expiration_time,omitempty"`

	PublicKey      *string `json:"public_key,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateParametersForImportResponse) String

type CreateRandomRequest

type CreateRandomRequest struct {
	Body *GenRandomRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateRandomRequest) String

func (o CreateRandomRequest) String() string

type CreateRandomResponse

type CreateRandomResponse struct {
	RandomData     *string `json:"random_data,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRandomResponse) String

func (o CreateRandomResponse) String() string

type DecryptDataRequest

type DecryptDataRequest struct {
	Body *DecryptDataRequestBody `json:"body,omitempty"`
}

Request Object

func (DecryptDataRequest) String

func (o DecryptDataRequest) String() string

type DecryptDataRequestBody

type DecryptDataRequestBody struct {
	CipherText string `json:"cipher_text"`

	EncryptionAlgorithm *DecryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	KeyId *string `json:"key_id,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (DecryptDataRequestBody) String

func (o DecryptDataRequestBody) String() string

type DecryptDataRequestBodyEncryptionAlgorithm

type DecryptDataRequestBodyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (DecryptDataRequestBodyEncryptionAlgorithm) MarshalJSON

func (*DecryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON

type DecryptDataRequestBodyEncryptionAlgorithmEnum

type DecryptDataRequestBodyEncryptionAlgorithmEnum struct {
	SYMMETRIC_DEFAULT  DecryptDataRequestBodyEncryptionAlgorithm
	RSAES_OAEP_SHA_256 DecryptDataRequestBodyEncryptionAlgorithm
	SM2_ENCRYPT        DecryptDataRequestBodyEncryptionAlgorithm
}

func GetDecryptDataRequestBodyEncryptionAlgorithmEnum

func GetDecryptDataRequestBodyEncryptionAlgorithmEnum() DecryptDataRequestBodyEncryptionAlgorithmEnum

type DecryptDataResponse

type DecryptDataResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	PlainText *string `json:"plain_text,omitempty"`

	PlainTextBase64 *string `json:"plain_text_base64,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (DecryptDataResponse) String

func (o DecryptDataResponse) String() string

type DecryptDatakeyRequest

type DecryptDatakeyRequest struct {
	Body *DecryptDatakeyRequestBody `json:"body,omitempty"`
}

Request Object

func (DecryptDatakeyRequest) String

func (o DecryptDatakeyRequest) String() string

type DecryptDatakeyRequestBody

type DecryptDatakeyRequestBody struct {
	KeyId string `json:"key_id"`

	CipherText string `json:"cipher_text"`

	DatakeyCipherLength string `json:"datakey_cipher_length"`

	Sequence *string `json:"sequence,omitempty"`
}

func (DecryptDatakeyRequestBody) String

func (o DecryptDatakeyRequestBody) String() string

type DecryptDatakeyResponse

type DecryptDatakeyResponse struct {
	DataKey *string `json:"data_key,omitempty"`

	DatakeyLength *string `json:"datakey_length,omitempty"`

	DatakeyDgst    *string `json:"datakey_dgst,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DecryptDatakeyResponse) String

func (o DecryptDatakeyResponse) String() string

type DeleteImportedKeyMaterialRequest

type DeleteImportedKeyMaterialRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteImportedKeyMaterialRequest) String

type DeleteImportedKeyMaterialResponse

type DeleteImportedKeyMaterialResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteImportedKeyMaterialResponse) String

type DeleteKeyRequest

type DeleteKeyRequest struct {
	Body *ScheduleKeyDeletionRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteKeyRequest) String

func (o DeleteKeyRequest) String() string

type DeleteKeyResponse

type DeleteKeyResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	KeyState       *string `json:"key_state,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteKeyResponse) String

func (o DeleteKeyResponse) String() string

type DeleteTagRequest

type DeleteTagRequest struct {
	KeyId string `json:"key_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteTagRequest) String

func (o DeleteTagRequest) String() string

type DeleteTagResponse

type DeleteTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTagResponse) String

func (o DeleteTagResponse) String() string

type DisableKeyRequest

type DisableKeyRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (DisableKeyRequest) String

func (o DisableKeyRequest) String() string

type DisableKeyResponse

type DisableKeyResponse struct {
	KeyInfo        *KeyStatusInfo `json:"key_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (DisableKeyResponse) String

func (o DisableKeyResponse) String() string

type DisableKeyRotationRequest

type DisableKeyRotationRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (DisableKeyRotationRequest) String

func (o DisableKeyRotationRequest) String() string

type DisableKeyRotationResponse

type DisableKeyRotationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DisableKeyRotationResponse) String

type EnableKeyRequest

type EnableKeyRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (EnableKeyRequest) String

func (o EnableKeyRequest) String() string

type EnableKeyResponse

type EnableKeyResponse struct {
	KeyInfo        *KeyStatusInfo `json:"key_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (EnableKeyResponse) String

func (o EnableKeyResponse) String() string

type EnableKeyRotationRequest

type EnableKeyRotationRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (EnableKeyRotationRequest) String

func (o EnableKeyRotationRequest) String() string

type EnableKeyRotationResponse

type EnableKeyRotationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnableKeyRotationResponse) String

func (o EnableKeyRotationResponse) String() string

type EncryptDataRequest

type EncryptDataRequest struct {
	Body *EncryptDataRequestBody `json:"body,omitempty"`
}

Request Object

func (EncryptDataRequest) String

func (o EncryptDataRequest) String() string

type EncryptDataRequestBody

type EncryptDataRequestBody struct {
	KeyId string `json:"key_id"`

	PlainText string `json:"plain_text"`

	EncryptionAlgorithm *EncryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (EncryptDataRequestBody) String

func (o EncryptDataRequestBody) String() string

type EncryptDataRequestBodyEncryptionAlgorithm

type EncryptDataRequestBodyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (EncryptDataRequestBodyEncryptionAlgorithm) MarshalJSON

func (*EncryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON

type EncryptDataRequestBodyEncryptionAlgorithmEnum

type EncryptDataRequestBodyEncryptionAlgorithmEnum struct {
	SYMMETRIC_DEFAULT  EncryptDataRequestBodyEncryptionAlgorithm
	RSAES_OAEP_SHA_256 EncryptDataRequestBodyEncryptionAlgorithm
	SM2_ENCRYPT        EncryptDataRequestBodyEncryptionAlgorithm
}

func GetEncryptDataRequestBodyEncryptionAlgorithmEnum

func GetEncryptDataRequestBodyEncryptionAlgorithmEnum() EncryptDataRequestBodyEncryptionAlgorithmEnum

type EncryptDataResponse

type EncryptDataResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	CipherText     *string `json:"cipher_text,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (EncryptDataResponse) String

func (o EncryptDataResponse) String() string

type EncryptDatakeyRequest

type EncryptDatakeyRequest struct {
	Body *EncryptDatakeyRequestBody `json:"body,omitempty"`
}

Request Object

func (EncryptDatakeyRequest) String

func (o EncryptDatakeyRequest) String() string

type EncryptDatakeyRequestBody

type EncryptDatakeyRequestBody struct {
	KeyId string `json:"key_id"`

	PlainText string `json:"plain_text"`

	DatakeyPlainLength string `json:"datakey_plain_length"`

	Sequence *string `json:"sequence,omitempty"`
}

func (EncryptDatakeyRequestBody) String

func (o EncryptDatakeyRequestBody) String() string

type EncryptDatakeyResponse

type EncryptDatakeyResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	CipherText *string `json:"cipher_text,omitempty"`

	DatakeyLength  *string `json:"datakey_length,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (EncryptDatakeyResponse) String

func (o EncryptDatakeyResponse) String() string

type GenRandomRequestBody

type GenRandomRequestBody struct {
	RandomDataLength string `json:"random_data_length"`

	Sequence *string `json:"sequence,omitempty"`
}

func (GenRandomRequestBody) String

func (o GenRandomRequestBody) String() string

type GetParametersForImportRequestBody

type GetParametersForImportRequestBody struct {
	KeyId string `json:"key_id"`

	WrappingAlgorithm GetParametersForImportRequestBodyWrappingAlgorithm `json:"wrapping_algorithm"`

	Sequence *string `json:"sequence,omitempty"`
}

func (GetParametersForImportRequestBody) String

type GetParametersForImportRequestBodyWrappingAlgorithm

type GetParametersForImportRequestBodyWrappingAlgorithm struct {
	// contains filtered or unexported fields
}

func (GetParametersForImportRequestBodyWrappingAlgorithm) MarshalJSON

func (*GetParametersForImportRequestBodyWrappingAlgorithm) UnmarshalJSON

type GetParametersForImportRequestBodyWrappingAlgorithmEnum

type GetParametersForImportRequestBodyWrappingAlgorithmEnum struct {
	RSAES_OAEP_SHA_256 GetParametersForImportRequestBodyWrappingAlgorithm
	SM2_ENCRYPT        GetParametersForImportRequestBodyWrappingAlgorithm
}

type Grants

type Grants struct {
	KeyId *string `json:"key_id,omitempty"`

	GrantId *string `json:"grant_id,omitempty"`

	GranteePrincipal *string `json:"grantee_principal,omitempty"`

	GranteePrincipalType *GrantsGranteePrincipalType `json:"grantee_principal_type,omitempty"`

	Operations *[]string `json:"operations,omitempty"`

	IssuingPrincipal *string `json:"issuing_principal,omitempty"`

	CreationDate *string `json:"creation_date,omitempty"`

	Name *string `json:"name,omitempty"`

	RetiringPrincipal *string `json:"retiring_principal,omitempty"`
}

func (Grants) String

func (o Grants) String() string

type GrantsGranteePrincipalType

type GrantsGranteePrincipalType struct {
	// contains filtered or unexported fields
}

func (GrantsGranteePrincipalType) MarshalJSON

func (c GrantsGranteePrincipalType) MarshalJSON() ([]byte, error)

func (*GrantsGranteePrincipalType) UnmarshalJSON

func (c *GrantsGranteePrincipalType) UnmarshalJSON(b []byte) error

type GrantsGranteePrincipalTypeEnum

type GrantsGranteePrincipalTypeEnum struct {
	USER   GrantsGranteePrincipalType
	DOMAIN GrantsGranteePrincipalType
}

func GetGrantsGranteePrincipalTypeEnum

func GetGrantsGranteePrincipalTypeEnum() GrantsGranteePrincipalTypeEnum

type ImportKeyMaterialRequest

type ImportKeyMaterialRequest struct {
	Body *ImportKeyMaterialRequestBody `json:"body,omitempty"`
}

Request Object

func (ImportKeyMaterialRequest) String

func (o ImportKeyMaterialRequest) String() string

type ImportKeyMaterialRequestBody

type ImportKeyMaterialRequestBody struct {
	KeyId string `json:"key_id"`

	ImportToken string `json:"import_token"`

	EncryptedKeyMaterial string `json:"encrypted_key_material"`

	EncryptedPrivatekey *string `json:"encrypted_privatekey,omitempty"`

	ExpirationTime *int64 `json:"expiration_time,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ImportKeyMaterialRequestBody) String

type ImportKeyMaterialResponse

type ImportKeyMaterialResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ImportKeyMaterialResponse) String

func (o ImportKeyMaterialResponse) String() string

type KeKInfo

type KeKInfo struct {
	KeyId *string `json:"key_id,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`
}

密钥详细信息。

func (KeKInfo) String

func (o KeKInfo) String() string

type KeyAliasInfo

type KeyAliasInfo struct {
	KeyId *string `json:"key_id,omitempty"`

	KeyAlias *string `json:"key_alias,omitempty"`
}

密钥别名信息。

func (KeyAliasInfo) String

func (o KeyAliasInfo) String() string

type KeyDescriptionInfo

type KeyDescriptionInfo struct {
	KeyId *string `json:"key_id,omitempty"`

	KeyDescription *string `json:"key_description,omitempty"`
}

密钥描述信息。

func (KeyDescriptionInfo) String

func (o KeyDescriptionInfo) String() string

type KeyDetails

type KeyDetails struct {
	KeyId *string `json:"key_id,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	KeyAlias *string `json:"key_alias,omitempty"`

	Realm *string `json:"realm,omitempty"`

	KeySpec *KeyDetailsKeySpec `json:"key_spec,omitempty"`

	KeyUsage *KeyDetailsKeyUsage `json:"key_usage,omitempty"`

	KeyDescription *string `json:"key_description,omitempty"`

	CreationDate *string `json:"creation_date,omitempty"`

	ScheduledDeletionDate *string `json:"scheduled_deletion_date,omitempty"`

	KeyState *string `json:"key_state,omitempty"`

	DefaultKeyFlag *string `json:"default_key_flag,omitempty"`

	KeyType *string `json:"key_type,omitempty"`

	ExpirationTime *string `json:"expiration_time,omitempty"`

	Origin *KeyDetailsOrigin `json:"origin,omitempty"`

	KeyRotationEnabled *string `json:"key_rotation_enabled,omitempty"`

	SysEnterpriseProjectId *string `json:"sys_enterprise_project_id,omitempty"`
}

密钥详情。

func (KeyDetails) String

func (o KeyDetails) String() string

type KeyDetailsKeySpec

type KeyDetailsKeySpec struct {
	// contains filtered or unexported fields
}

func (KeyDetailsKeySpec) MarshalJSON

func (c KeyDetailsKeySpec) MarshalJSON() ([]byte, error)

func (*KeyDetailsKeySpec) UnmarshalJSON

func (c *KeyDetailsKeySpec) UnmarshalJSON(b []byte) error

type KeyDetailsKeySpecEnum

type KeyDetailsKeySpecEnum struct {
	AES_256  KeyDetailsKeySpec
	SM4      KeyDetailsKeySpec
	RSA_2048 KeyDetailsKeySpec
	RSA_3072 KeyDetailsKeySpec
	RSA_4096 KeyDetailsKeySpec
	EC_P256  KeyDetailsKeySpec
	EC_P384  KeyDetailsKeySpec
	SM2      KeyDetailsKeySpec
}

func GetKeyDetailsKeySpecEnum

func GetKeyDetailsKeySpecEnum() KeyDetailsKeySpecEnum

type KeyDetailsKeyUsage

type KeyDetailsKeyUsage struct {
	// contains filtered or unexported fields
}

func (KeyDetailsKeyUsage) MarshalJSON

func (c KeyDetailsKeyUsage) MarshalJSON() ([]byte, error)

func (*KeyDetailsKeyUsage) UnmarshalJSON

func (c *KeyDetailsKeyUsage) UnmarshalJSON(b []byte) error

type KeyDetailsKeyUsageEnum

type KeyDetailsKeyUsageEnum struct {
	ENCRYPT_DECRYPT KeyDetailsKeyUsage
	SIGN_VERIFY     KeyDetailsKeyUsage
}

func GetKeyDetailsKeyUsageEnum

func GetKeyDetailsKeyUsageEnum() KeyDetailsKeyUsageEnum

type KeyDetailsOrigin

type KeyDetailsOrigin struct {
	// contains filtered or unexported fields
}

func (KeyDetailsOrigin) MarshalJSON

func (c KeyDetailsOrigin) MarshalJSON() ([]byte, error)

func (*KeyDetailsOrigin) UnmarshalJSON

func (c *KeyDetailsOrigin) UnmarshalJSON(b []byte) error

type KeyDetailsOriginEnum

type KeyDetailsOriginEnum struct {
	KMS      KeyDetailsOrigin
	EXTERNAL KeyDetailsOrigin
}

func GetKeyDetailsOriginEnum

func GetKeyDetailsOriginEnum() KeyDetailsOriginEnum

type KeyStatusInfo

type KeyStatusInfo struct {
	KeyId *string `json:"key_id,omitempty"`

	KeyState *string `json:"key_state,omitempty"`
}

密钥状态信息。

func (KeyStatusInfo) String

func (o KeyStatusInfo) String() string

type ListGrantsRequest

type ListGrantsRequest struct {
	Body *ListGrantsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListGrantsRequest) String

func (o ListGrantsRequest) String() string

type ListGrantsRequestBody

type ListGrantsRequestBody struct {
	KeyId string `json:"key_id"`

	Limit *string `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ListGrantsRequestBody) String

func (o ListGrantsRequestBody) String() string

type ListGrantsResponse

type ListGrantsResponse struct {
	Grants *[]Grants `json:"grants,omitempty"`

	NextMarker *string `json:"next_marker,omitempty"`

	Truncated *ListGrantsResponseTruncated `json:"truncated,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListGrantsResponse) String

func (o ListGrantsResponse) String() string

type ListGrantsResponseTruncated

type ListGrantsResponseTruncated struct {
	// contains filtered or unexported fields
}

func (ListGrantsResponseTruncated) MarshalJSON

func (c ListGrantsResponseTruncated) MarshalJSON() ([]byte, error)

func (*ListGrantsResponseTruncated) UnmarshalJSON

func (c *ListGrantsResponseTruncated) UnmarshalJSON(b []byte) error

type ListGrantsResponseTruncatedEnum

type ListGrantsResponseTruncatedEnum struct {
	TRUE  ListGrantsResponseTruncated
	FALSE ListGrantsResponseTruncated
}

func GetListGrantsResponseTruncatedEnum

func GetListGrantsResponseTruncatedEnum() ListGrantsResponseTruncatedEnum

type ListKeyDetailRequest

type ListKeyDetailRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (ListKeyDetailRequest) String

func (o ListKeyDetailRequest) String() string

type ListKeyDetailResponse

type ListKeyDetailResponse struct {
	KeyInfo        *KeyDetails `json:"key_info,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListKeyDetailResponse) String

func (o ListKeyDetailResponse) String() string

type ListKeysRequest

type ListKeysRequest struct {
	Body *ListKeysRequestBody `json:"body,omitempty"`
}

Request Object

func (ListKeysRequest) String

func (o ListKeysRequest) String() string

type ListKeysRequestBody

type ListKeysRequestBody struct {
	Limit *string `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	KeyState *string `json:"key_state,omitempty"`

	KeySpec *ListKeysRequestBodyKeySpec `json:"key_spec,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ListKeysRequestBody) String

func (o ListKeysRequestBody) String() string

type ListKeysRequestBodyKeySpec

type ListKeysRequestBodyKeySpec struct {
	// contains filtered or unexported fields
}

func (ListKeysRequestBodyKeySpec) MarshalJSON

func (c ListKeysRequestBodyKeySpec) MarshalJSON() ([]byte, error)

func (*ListKeysRequestBodyKeySpec) UnmarshalJSON

func (c *ListKeysRequestBodyKeySpec) UnmarshalJSON(b []byte) error

type ListKeysResponse

type ListKeysResponse struct {
	Keys *[]string `json:"keys,omitempty"`

	KeyDetails *[]KeyDetails `json:"key_details,omitempty"`

	NextMarker *string `json:"next_marker,omitempty"`

	Truncated *ListKeysResponseTruncated `json:"truncated,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListKeysResponse) String

func (o ListKeysResponse) String() string

type ListKeysResponseTruncated

type ListKeysResponseTruncated struct {
	// contains filtered or unexported fields
}

func (ListKeysResponseTruncated) MarshalJSON

func (c ListKeysResponseTruncated) MarshalJSON() ([]byte, error)

func (*ListKeysResponseTruncated) UnmarshalJSON

func (c *ListKeysResponseTruncated) UnmarshalJSON(b []byte) error

type ListKeysResponseTruncatedEnum

type ListKeysResponseTruncatedEnum struct {
	TRUE  ListKeysResponseTruncated
	FALSE ListKeysResponseTruncated
}

func GetListKeysResponseTruncatedEnum

func GetListKeysResponseTruncatedEnum() ListKeysResponseTruncatedEnum

type ListKmsByTagsRequest

type ListKmsByTagsRequest struct {
	ResourceInstances string `json:"resource_instances"`

	Body *ListKmsByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListKmsByTagsRequest) String

func (o ListKmsByTagsRequest) String() string

type ListKmsByTagsRequestBody

type ListKmsByTagsRequestBody struct {
	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Action *string `json:"action,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`

	Matches *[]TagItem `json:"matches,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ListKmsByTagsRequestBody) String

func (o ListKmsByTagsRequestBody) String() string

type ListKmsByTagsResponse

type ListKmsByTagsResponse struct {
	Resources *[]ActionResources `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListKmsByTagsResponse) String

func (o ListKmsByTagsResponse) String() string

type ListKmsTagsRequest

type ListKmsTagsRequest struct {
}

Request Object

func (ListKmsTagsRequest) String

func (o ListKmsTagsRequest) String() string

type ListKmsTagsResponse

type ListKmsTagsResponse struct {
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListKmsTagsResponse) String

func (o ListKmsTagsResponse) String() string

type ListRetirableGrantsRequest

type ListRetirableGrantsRequest struct {
	Body *ListRetirableGrantsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListRetirableGrantsRequest) String

type ListRetirableGrantsRequestBody

type ListRetirableGrantsRequestBody struct {
	Limit *string `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ListRetirableGrantsRequestBody) String

type ListRetirableGrantsResponse

type ListRetirableGrantsResponse struct {
	Grants *[]Grants `json:"grants,omitempty"`

	NextMarker *string `json:"next_marker,omitempty"`

	Truncated      *ListRetirableGrantsResponseTruncated `json:"truncated,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

Response Object

func (ListRetirableGrantsResponse) String

type ListRetirableGrantsResponseTruncated

type ListRetirableGrantsResponseTruncated struct {
	// contains filtered or unexported fields
}

func (ListRetirableGrantsResponseTruncated) MarshalJSON

func (c ListRetirableGrantsResponseTruncated) MarshalJSON() ([]byte, error)

func (*ListRetirableGrantsResponseTruncated) UnmarshalJSON

func (c *ListRetirableGrantsResponseTruncated) UnmarshalJSON(b []byte) error

type ListRetirableGrantsResponseTruncatedEnum

type ListRetirableGrantsResponseTruncatedEnum struct {
	TRUE  ListRetirableGrantsResponseTruncated
	FALSE ListRetirableGrantsResponseTruncated
}

func GetListRetirableGrantsResponseTruncatedEnum

func GetListRetirableGrantsResponseTruncatedEnum() ListRetirableGrantsResponseTruncatedEnum

type OperateKeyRequestBody

type OperateKeyRequestBody struct {
	KeyId string `json:"key_id"`

	Sequence *string `json:"sequence,omitempty"`
}

func (OperateKeyRequestBody) String

func (o OperateKeyRequestBody) String() string

type Quotas

type Quotas struct {
	Resources *[]Resources `json:"resources,omitempty"`
}

配额详情。

func (Quotas) String

func (o Quotas) String() string

type Resources

type Resources struct {
	Type *ResourcesType `json:"type,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Quota *int32 `json:"quota,omitempty"`
}

func (Resources) String

func (o Resources) String() string

type ResourcesType

type ResourcesType struct {
	// contains filtered or unexported fields
}

func (ResourcesType) MarshalJSON

func (c ResourcesType) MarshalJSON() ([]byte, error)

func (*ResourcesType) UnmarshalJSON

func (c *ResourcesType) UnmarshalJSON(b []byte) error

type ResourcesTypeEnum

type ResourcesTypeEnum struct {
	CMK           ResourcesType
	GRANT_PER_CMK ResourcesType
}

func GetResourcesTypeEnum

func GetResourcesTypeEnum() ResourcesTypeEnum

type RevokeGrantRequestBody

type RevokeGrantRequestBody struct {
	KeyId string `json:"key_id"`

	GrantId string `json:"grant_id"`

	Sequence *string `json:"sequence,omitempty"`
}

func (RevokeGrantRequestBody) String

func (o RevokeGrantRequestBody) String() string

type ScheduleKeyDeletionRequestBody

type ScheduleKeyDeletionRequestBody struct {
	KeyId string `json:"key_id"`

	PendingDays string `json:"pending_days"`

	Sequence *string `json:"sequence,omitempty"`
}

func (ScheduleKeyDeletionRequestBody) String

type ShowKeyRotationStatusRequest

type ShowKeyRotationStatusRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (ShowKeyRotationStatusRequest) String

type ShowKeyRotationStatusResponse

type ShowKeyRotationStatusResponse struct {
	KeyRotationEnabled *bool `json:"key_rotation_enabled,omitempty"`

	RotationInterval *int32 `json:"rotation_interval,omitempty"`

	LastRotationTime *string `json:"last_rotation_time,omitempty"`

	NumberOfRotations *int32 `json:"number_of_rotations,omitempty"`
	HttpStatusCode    int    `json:"-"`
}

Response Object

func (ShowKeyRotationStatusResponse) String

type ShowKmsTagsRequest

type ShowKmsTagsRequest struct {
	KeyId string `json:"key_id"`
}

Request Object

func (ShowKmsTagsRequest) String

func (o ShowKmsTagsRequest) String() string

type ShowKmsTagsResponse

type ShowKmsTagsResponse struct {
	Tags *[]TagItem `json:"tags,omitempty"`

	ExistTagsNum   *int32 `json:"existTagsNum,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowKmsTagsResponse) String

func (o ShowKmsTagsResponse) String() string

type ShowPublicKeyRequest

type ShowPublicKeyRequest struct {
	Body *OperateKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (ShowPublicKeyRequest) String

func (o ShowPublicKeyRequest) String() string

type ShowPublicKeyResponse

type ShowPublicKeyResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	PublicKey      *string `json:"public_key,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowPublicKeyResponse) String

func (o ShowPublicKeyResponse) String() string

type ShowUserInstancesRequest

type ShowUserInstancesRequest struct {
}

Request Object

func (ShowUserInstancesRequest) String

func (o ShowUserInstancesRequest) String() string

type ShowUserInstancesResponse

type ShowUserInstancesResponse struct {
	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowUserInstancesResponse) String

func (o ShowUserInstancesResponse) String() string

type ShowUserQuotasRequest

type ShowUserQuotasRequest struct {
}

Request Object

func (ShowUserQuotasRequest) String

func (o ShowUserQuotasRequest) String() string

type ShowUserQuotasResponse

type ShowUserQuotasResponse struct {
	Quotas         *Quotas `json:"quotas,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowUserQuotasResponse) String

func (o ShowUserQuotasResponse) String() string

type ShowVersionRequest

type ShowVersionRequest struct {
	VersionId string `json:"version_id"`
}

Request Object

func (ShowVersionRequest) String

func (o ShowVersionRequest) String() string

type ShowVersionResponse

type ShowVersionResponse struct {
	Version        *interface{} `json:"version,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowVersionResponse) String

func (o ShowVersionResponse) String() string

type ShowVersionsRequest

type ShowVersionsRequest struct {
}

Request Object

func (ShowVersionsRequest) String

func (o ShowVersionsRequest) String() string

type ShowVersionsResponse

type ShowVersionsResponse struct {
	Versions       *[]ApiVersionDetail `json:"versions,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ShowVersionsResponse) String

func (o ShowVersionsResponse) String() string

type SignRequest

type SignRequest struct {
	Body *SignRequestBody `json:"body,omitempty"`
}

Request Object

func (SignRequest) String

func (o SignRequest) String() string

type SignRequestBody

type SignRequestBody struct {
	KeyId string `json:"key_id"`

	Message string `json:"message"`

	SigningAlgorithm SignRequestBodySigningAlgorithm `json:"signing_algorithm"`

	MessageType *SignRequestBodyMessageType `json:"message_type,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (SignRequestBody) String

func (o SignRequestBody) String() string

type SignRequestBodyMessageType

type SignRequestBodyMessageType struct {
	// contains filtered or unexported fields
}

func (SignRequestBodyMessageType) MarshalJSON

func (c SignRequestBodyMessageType) MarshalJSON() ([]byte, error)

func (*SignRequestBodyMessageType) UnmarshalJSON

func (c *SignRequestBodyMessageType) UnmarshalJSON(b []byte) error

type SignRequestBodyMessageTypeEnum

type SignRequestBodyMessageTypeEnum struct {
	DIGEST SignRequestBodyMessageType
	RAW    SignRequestBodyMessageType
}

func GetSignRequestBodyMessageTypeEnum

func GetSignRequestBodyMessageTypeEnum() SignRequestBodyMessageTypeEnum

type SignRequestBodySigningAlgorithm

type SignRequestBodySigningAlgorithm struct {
	// contains filtered or unexported fields
}

func (SignRequestBodySigningAlgorithm) MarshalJSON

func (c SignRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)

func (*SignRequestBodySigningAlgorithm) UnmarshalJSON

func (c *SignRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error

type SignRequestBodySigningAlgorithmEnum

type SignRequestBodySigningAlgorithmEnum struct {
	RSASSA_PSS_SHA_256        SignRequestBodySigningAlgorithm
	RSASSA_PSS_SHA_384        SignRequestBodySigningAlgorithm
	RSASSA_PSS_SHA_512        SignRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_256 SignRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_384 SignRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_512 SignRequestBodySigningAlgorithm
	ECDSA_SHA_256             SignRequestBodySigningAlgorithm
	ECDSA_SHA_384             SignRequestBodySigningAlgorithm
	ECDSA_SHA_512             SignRequestBodySigningAlgorithm
	SM2_DSA_SM3               SignRequestBodySigningAlgorithm
}

func GetSignRequestBodySigningAlgorithmEnum

func GetSignRequestBodySigningAlgorithmEnum() SignRequestBodySigningAlgorithmEnum

type SignResponse

type SignResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	Signature      *string `json:"signature,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SignResponse) String

func (o SignResponse) String() string

type Tag

type Tag struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

func (Tag) String

func (o Tag) String() string

type TagItem

type TagItem struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

标签。

func (TagItem) String

func (o TagItem) String() string

type UpdateKeyAliasRequest

type UpdateKeyAliasRequest struct {
	Body *UpdateKeyAliasRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateKeyAliasRequest) String

func (o UpdateKeyAliasRequest) String() string

type UpdateKeyAliasRequestBody

type UpdateKeyAliasRequestBody struct {
	KeyId string `json:"key_id"`

	KeyAlias string `json:"key_alias"`

	Sequence *string `json:"sequence,omitempty"`
}

func (UpdateKeyAliasRequestBody) String

func (o UpdateKeyAliasRequestBody) String() string

type UpdateKeyAliasResponse

type UpdateKeyAliasResponse struct {
	KeyInfo        *KeyAliasInfo `json:"key_info,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateKeyAliasResponse) String

func (o UpdateKeyAliasResponse) String() string

type UpdateKeyDescriptionRequest

type UpdateKeyDescriptionRequest struct {
	Body *UpdateKeyDescriptionRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateKeyDescriptionRequest) String

type UpdateKeyDescriptionRequestBody

type UpdateKeyDescriptionRequestBody struct {
	KeyId string `json:"key_id"`

	KeyDescription string `json:"key_description"`

	Sequence *string `json:"sequence,omitempty"`
}

func (UpdateKeyDescriptionRequestBody) String

type UpdateKeyDescriptionResponse

type UpdateKeyDescriptionResponse struct {
	KeyInfo        *KeyDescriptionInfo `json:"key_info,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (UpdateKeyDescriptionResponse) String

type UpdateKeyRotationIntervalRequest

type UpdateKeyRotationIntervalRequest struct {
	Body *UpdateKeyRotationIntervalRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateKeyRotationIntervalRequest) String

type UpdateKeyRotationIntervalRequestBody

type UpdateKeyRotationIntervalRequestBody struct {
	KeyId string `json:"key_id"`

	RotationInterval int32 `json:"rotation_interval"`

	Sequence *string `json:"sequence,omitempty"`
}

func (UpdateKeyRotationIntervalRequestBody) String

type UpdateKeyRotationIntervalResponse

type UpdateKeyRotationIntervalResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateKeyRotationIntervalResponse) String

type ValidateSignatureRequest

type ValidateSignatureRequest struct {
	Body *VerifyRequestBody `json:"body,omitempty"`
}

Request Object

func (ValidateSignatureRequest) String

func (o ValidateSignatureRequest) String() string

type ValidateSignatureResponse

type ValidateSignatureResponse struct {
	KeyId *string `json:"key_id,omitempty"`

	SignatureVaild *bool `json:"signature_vaild,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ValidateSignatureResponse) String

func (o ValidateSignatureResponse) String() string

type VerifyRequestBody

type VerifyRequestBody struct {
	KeyId string `json:"key_id"`

	Message string `json:"message"`

	Signature string `json:"signature"`

	SigningAlgorithm VerifyRequestBodySigningAlgorithm `json:"signing_algorithm"`

	MessageType *VerifyRequestBodyMessageType `json:"message_type,omitempty"`

	Sequence *string `json:"sequence,omitempty"`
}

func (VerifyRequestBody) String

func (o VerifyRequestBody) String() string

type VerifyRequestBodyMessageType

type VerifyRequestBodyMessageType struct {
	// contains filtered or unexported fields
}

func (VerifyRequestBodyMessageType) MarshalJSON

func (c VerifyRequestBodyMessageType) MarshalJSON() ([]byte, error)

func (*VerifyRequestBodyMessageType) UnmarshalJSON

func (c *VerifyRequestBodyMessageType) UnmarshalJSON(b []byte) error

type VerifyRequestBodyMessageTypeEnum

type VerifyRequestBodyMessageTypeEnum struct {
	DIGEST VerifyRequestBodyMessageType
	RAW    VerifyRequestBodyMessageType
}

func GetVerifyRequestBodyMessageTypeEnum

func GetVerifyRequestBodyMessageTypeEnum() VerifyRequestBodyMessageTypeEnum

type VerifyRequestBodySigningAlgorithm

type VerifyRequestBodySigningAlgorithm struct {
	// contains filtered or unexported fields
}

func (VerifyRequestBodySigningAlgorithm) MarshalJSON

func (c VerifyRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)

func (*VerifyRequestBodySigningAlgorithm) UnmarshalJSON

func (c *VerifyRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error

type VerifyRequestBodySigningAlgorithmEnum

type VerifyRequestBodySigningAlgorithmEnum struct {
	RSASSA_PSS_SHA_256        VerifyRequestBodySigningAlgorithm
	RSASSA_PSS_SHA_384        VerifyRequestBodySigningAlgorithm
	RSASSA_PSS_SHA_512        VerifyRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_256 VerifyRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_384 VerifyRequestBodySigningAlgorithm
	RSASSA_PKCS1_V1_5_SHA_512 VerifyRequestBodySigningAlgorithm
	ECDSA_SHA_256             VerifyRequestBodySigningAlgorithm
	ECDSA_SHA_384             VerifyRequestBodySigningAlgorithm
	ECDSA_SHA_512             VerifyRequestBodySigningAlgorithm
	SM2_DSA_SM3               VerifyRequestBodySigningAlgorithm
}

func GetVerifyRequestBodySigningAlgorithmEnum

func GetVerifyRequestBodySigningAlgorithmEnum() VerifyRequestBodySigningAlgorithmEnum

Source Files

Jump to

Keyboard shortcuts

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