Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type AdvanceDecryptRequest
- func (s AdvanceDecryptRequest) GoString() string
- func (s *AdvanceDecryptRequest) SetAad(v []byte) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetAlgorithm(v string) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetCiphertextBlob(v []byte) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetHeaders(v map[string]*string) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetIv(v []byte) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetKeyId(v string) *AdvanceDecryptRequest
- func (s *AdvanceDecryptRequest) SetPaddingMode(v string) *AdvanceDecryptRequest
- func (s AdvanceDecryptRequest) String() string
- type AdvanceDecryptResponse
- func (s AdvanceDecryptResponse) GoString() string
- func (s *AdvanceDecryptResponse) SetAlgorithm(v string) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetHeaders(v map[string]*string) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetKeyId(v string) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetKeyVersionId(v string) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetPaddingMode(v string) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetPlaintext(v []byte) *AdvanceDecryptResponse
- func (s *AdvanceDecryptResponse) SetRequestId(v string) *AdvanceDecryptResponse
- func (s AdvanceDecryptResponse) String() string
- type AdvanceEncryptRequest
- func (s AdvanceEncryptRequest) GoString() string
- func (s *AdvanceEncryptRequest) SetAad(v []byte) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetAlgorithm(v string) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetHeaders(v map[string]*string) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetIv(v []byte) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetKeyId(v string) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetPaddingMode(v string) *AdvanceEncryptRequest
- func (s *AdvanceEncryptRequest) SetPlaintext(v []byte) *AdvanceEncryptRequest
- func (s AdvanceEncryptRequest) String() string
- type AdvanceEncryptResponse
- func (s AdvanceEncryptResponse) GoString() string
- func (s *AdvanceEncryptResponse) SetAlgorithm(v string) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetCiphertextBlob(v []byte) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetHeaders(v map[string]*string) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetIv(v []byte) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetKeyId(v string) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetKeyVersionId(v string) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetPaddingMode(v string) *AdvanceEncryptResponse
- func (s *AdvanceEncryptResponse) SetRequestId(v string) *AdvanceEncryptResponse
- func (s AdvanceEncryptResponse) String() string
- type AdvanceGenerateDataKeyPairRequest
- func (s AdvanceGenerateDataKeyPairRequest) GoString() string
- func (s *AdvanceGenerateDataKeyPairRequest) SetAad(v []byte) *AdvanceGenerateDataKeyPairRequest
- func (s *AdvanceGenerateDataKeyPairRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairRequest
- func (s *AdvanceGenerateDataKeyPairRequest) SetKeyFormat(v string) *AdvanceGenerateDataKeyPairRequest
- func (s *AdvanceGenerateDataKeyPairRequest) SetKeyId(v string) *AdvanceGenerateDataKeyPairRequest
- func (s *AdvanceGenerateDataKeyPairRequest) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairRequest
- func (s AdvanceGenerateDataKeyPairRequest) String() string
- type AdvanceGenerateDataKeyPairResponse
- func (s AdvanceGenerateDataKeyPairResponse) GoString() string
- func (s *AdvanceGenerateDataKeyPairResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetIv(v []byte) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetKeyId(v string) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob(v []byte) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetPrivateKeyPlaintext(v []byte) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetPublicKey(v []byte) *AdvanceGenerateDataKeyPairResponse
- func (s *AdvanceGenerateDataKeyPairResponse) SetRequestId(v string) *AdvanceGenerateDataKeyPairResponse
- func (s AdvanceGenerateDataKeyPairResponse) String() string
- type AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s AdvanceGenerateDataKeyPairWithoutPlaintextRequest) GoString() string
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetAad(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
- func (s AdvanceGenerateDataKeyPairWithoutPlaintextRequest) String() string
- type AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s AdvanceGenerateDataKeyPairWithoutPlaintextResponse) GoString() string
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetIv(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetRequestId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
- func (s AdvanceGenerateDataKeyPairWithoutPlaintextResponse) String() string
- type AdvanceGenerateDataKeyRequest
- func (s AdvanceGenerateDataKeyRequest) GoString() string
- func (s *AdvanceGenerateDataKeyRequest) SetAad(v []byte) *AdvanceGenerateDataKeyRequest
- func (s *AdvanceGenerateDataKeyRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyRequest
- func (s *AdvanceGenerateDataKeyRequest) SetKeyId(v string) *AdvanceGenerateDataKeyRequest
- func (s *AdvanceGenerateDataKeyRequest) SetNumberOfBytes(v int32) *AdvanceGenerateDataKeyRequest
- func (s AdvanceGenerateDataKeyRequest) String() string
- type AdvanceGenerateDataKeyResponse
- func (s AdvanceGenerateDataKeyResponse) GoString() string
- func (s *AdvanceGenerateDataKeyResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetCiphertextBlob(v []byte) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetIv(v []byte) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetKeyId(v string) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetPlaintext(v []byte) *AdvanceGenerateDataKeyResponse
- func (s *AdvanceGenerateDataKeyResponse) SetRequestId(v string) *AdvanceGenerateDataKeyResponse
- func (s AdvanceGenerateDataKeyResponse) String() string
- type Client
- func (client *Client) AdvanceDecrypt(request *AdvanceDecryptRequest) (_result *AdvanceDecryptResponse, _err error)
- func (client *Client) AdvanceDecryptWithOptions(request *AdvanceDecryptRequest, ...) (_result *AdvanceDecryptResponse, _err error)
- func (client *Client) AdvanceEncrypt(request *AdvanceEncryptRequest) (_result *AdvanceEncryptResponse, _err error)
- func (client *Client) AdvanceEncryptWithOptions(request *AdvanceEncryptRequest, ...) (_result *AdvanceEncryptResponse, _err error)
- func (client *Client) AdvanceGenerateDataKey(request *AdvanceGenerateDataKeyRequest) (_result *AdvanceGenerateDataKeyResponse, _err error)
- func (client *Client) AdvanceGenerateDataKeyPair(request *AdvanceGenerateDataKeyPairRequest) (_result *AdvanceGenerateDataKeyPairResponse, _err error)
- func (client *Client) AdvanceGenerateDataKeyPairWithOptions(request *AdvanceGenerateDataKeyPairRequest, ...) (_result *AdvanceGenerateDataKeyPairResponse, _err error)
- func (client *Client) AdvanceGenerateDataKeyPairWithoutPlaintext(request *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) (_result *AdvanceGenerateDataKeyPairWithoutPlaintextResponse, _err error)
- func (client *Client) AdvanceGenerateDataKeyPairWithoutPlaintextWithOptions(request *AdvanceGenerateDataKeyPairWithoutPlaintextRequest, ...) (_result *AdvanceGenerateDataKeyPairWithoutPlaintextResponse, _err error)
- func (client *Client) AdvanceGenerateDataKeyWithOptions(request *AdvanceGenerateDataKeyRequest, ...) (_result *AdvanceGenerateDataKeyResponse, _err error)
- func (client *Client) Decrypt(request *DecryptRequest) (_result *DecryptResponse, _err error)
- func (client *Client) DecryptWithOptions(request *DecryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *DecryptResponse, _err error)
- func (client *Client) Encrypt(request *EncryptRequest) (_result *EncryptResponse, _err error)
- func (client *Client) EncryptWithOptions(request *EncryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *EncryptResponse, _err error)
- func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (_result *GenerateDataKeyResponse, _err error)
- func (client *Client) GenerateDataKeyPair(request *GenerateDataKeyPairRequest) (_result *GenerateDataKeyPairResponse, _err error)
- func (client *Client) GenerateDataKeyPairWithOptions(request *GenerateDataKeyPairRequest, ...) (_result *GenerateDataKeyPairResponse, _err error)
- func (client *Client) GenerateDataKeyPairWithoutPlaintext(request *GenerateDataKeyPairWithoutPlaintextRequest) (_result *GenerateDataKeyPairWithoutPlaintextResponse, _err error)
- func (client *Client) GenerateDataKeyPairWithoutPlaintextWithOptions(request *GenerateDataKeyPairWithoutPlaintextRequest, ...) (_result *GenerateDataKeyPairWithoutPlaintextResponse, _err error)
- func (client *Client) GenerateDataKeyWithOptions(request *GenerateDataKeyRequest, ...) (_result *GenerateDataKeyResponse, _err error)
- func (client *Client) GenerateRandom(request *GenerateRandomRequest) (_result *GenerateRandomResponse, _err error)
- func (client *Client) GenerateRandomWithOptions(request *GenerateRandomRequest, ...) (_result *GenerateRandomResponse, _err error)
- func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (_result *GetPublicKeyResponse, _err error)
- func (client *Client) GetPublicKeyWithOptions(request *GetPublicKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GetPublicKeyResponse, _err error)
- func (client *Client) GetSecretValue(request *GetSecretValueRequest) (_result *GetSecretValueResponse, _err error)
- func (client *Client) GetSecretValueWithOptions(request *GetSecretValueRequest, ...) (_result *GetSecretValueResponse, _err error)
- func (client *Client) Init(config *dedicatedkmsopenapi.Config) (_err error)
- func (client *Client) Sign(request *SignRequest) (_result *SignResponse, _err error)
- func (client *Client) SignWithOptions(request *SignRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *SignResponse, _err error)
- func (client *Client) Verify(request *VerifyRequest) (_result *VerifyResponse, _err error)
- func (client *Client) VerifyWithOptions(request *VerifyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *VerifyResponse, _err error)
- type DecryptRequest
- func (s DecryptRequest) GoString() string
- func (s *DecryptRequest) SetAad(v []byte) *DecryptRequest
- func (s *DecryptRequest) SetAlgorithm(v string) *DecryptRequest
- func (s *DecryptRequest) SetCiphertextBlob(v []byte) *DecryptRequest
- func (s *DecryptRequest) SetHeaders(v map[string]*string) *DecryptRequest
- func (s *DecryptRequest) SetIv(v []byte) *DecryptRequest
- func (s *DecryptRequest) SetKeyId(v string) *DecryptRequest
- func (s *DecryptRequest) SetPaddingMode(v string) *DecryptRequest
- func (s DecryptRequest) String() string
- type DecryptResponse
- func (s DecryptResponse) GoString() string
- func (s *DecryptResponse) SetAlgorithm(v string) *DecryptResponse
- func (s *DecryptResponse) SetHeaders(v map[string]*string) *DecryptResponse
- func (s *DecryptResponse) SetKeyId(v string) *DecryptResponse
- func (s *DecryptResponse) SetPaddingMode(v string) *DecryptResponse
- func (s *DecryptResponse) SetPlaintext(v []byte) *DecryptResponse
- func (s *DecryptResponse) SetRequestId(v string) *DecryptResponse
- func (s DecryptResponse) String() string
- type EncryptRequest
- func (s EncryptRequest) GoString() string
- func (s *EncryptRequest) SetAad(v []byte) *EncryptRequest
- func (s *EncryptRequest) SetAlgorithm(v string) *EncryptRequest
- func (s *EncryptRequest) SetHeaders(v map[string]*string) *EncryptRequest
- func (s *EncryptRequest) SetIv(v []byte) *EncryptRequest
- func (s *EncryptRequest) SetKeyId(v string) *EncryptRequest
- func (s *EncryptRequest) SetPaddingMode(v string) *EncryptRequest
- func (s *EncryptRequest) SetPlaintext(v []byte) *EncryptRequest
- func (s EncryptRequest) String() string
- type EncryptResponse
- func (s EncryptResponse) GoString() string
- func (s *EncryptResponse) SetAlgorithm(v string) *EncryptResponse
- func (s *EncryptResponse) SetCiphertextBlob(v []byte) *EncryptResponse
- func (s *EncryptResponse) SetHeaders(v map[string]*string) *EncryptResponse
- func (s *EncryptResponse) SetIv(v []byte) *EncryptResponse
- func (s *EncryptResponse) SetKeyId(v string) *EncryptResponse
- func (s *EncryptResponse) SetPaddingMode(v string) *EncryptResponse
- func (s *EncryptResponse) SetRequestId(v string) *EncryptResponse
- func (s EncryptResponse) String() string
- type GenerateDataKeyPairRequest
- func (s GenerateDataKeyPairRequest) GoString() string
- func (s *GenerateDataKeyPairRequest) SetAad(v []byte) *GenerateDataKeyPairRequest
- func (s *GenerateDataKeyPairRequest) SetAlgorithm(v string) *GenerateDataKeyPairRequest
- func (s *GenerateDataKeyPairRequest) SetHeaders(v map[string]*string) *GenerateDataKeyPairRequest
- func (s *GenerateDataKeyPairRequest) SetKeyFormat(v string) *GenerateDataKeyPairRequest
- func (s *GenerateDataKeyPairRequest) SetKeyId(v string) *GenerateDataKeyPairRequest
- func (s *GenerateDataKeyPairRequest) SetKeyPairSpec(v string) *GenerateDataKeyPairRequest
- func (s GenerateDataKeyPairRequest) String() string
- type GenerateDataKeyPairResponse
- func (s GenerateDataKeyPairResponse) GoString() string
- func (s *GenerateDataKeyPairResponse) SetAlgorithm(v string) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetHeaders(v map[string]*string) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetIv(v []byte) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetKeyId(v string) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetKeyPairSpec(v string) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob(v []byte) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetPrivateKeyPlaintext(v []byte) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetPublicKey(v []byte) *GenerateDataKeyPairResponse
- func (s *GenerateDataKeyPairResponse) SetRequestId(v string) *GenerateDataKeyPairResponse
- func (s GenerateDataKeyPairResponse) String() string
- type GenerateDataKeyPairWithoutPlaintextRequest
- func (s GenerateDataKeyPairWithoutPlaintextRequest) GoString() string
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetAad(v []byte) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetAlgorithm(v string) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetHeaders(v map[string]*string) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat(v string) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyId(v string) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec(v string) *GenerateDataKeyPairWithoutPlaintextRequest
- func (s GenerateDataKeyPairWithoutPlaintextRequest) String() string
- type GenerateDataKeyPairWithoutPlaintextResponse
- func (s GenerateDataKeyPairWithoutPlaintextResponse) GoString() string
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm(v string) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetHeaders(v map[string]*string) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetIv(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetKeyId(v string) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec(v string) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetRequestId(v string) *GenerateDataKeyPairWithoutPlaintextResponse
- func (s GenerateDataKeyPairWithoutPlaintextResponse) String() string
- type GenerateDataKeyRequest
- func (s GenerateDataKeyRequest) GoString() string
- func (s *GenerateDataKeyRequest) SetAad(v []byte) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetAlgorithm(v string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetHeaders(v map[string]*string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetKeyId(v string) *GenerateDataKeyRequest
- func (s *GenerateDataKeyRequest) SetNumberOfBytes(v int32) *GenerateDataKeyRequest
- func (s GenerateDataKeyRequest) String() string
- type GenerateDataKeyResponse
- func (s GenerateDataKeyResponse) GoString() string
- func (s *GenerateDataKeyResponse) SetAlgorithm(v string) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetCiphertextBlob(v []byte) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetHeaders(v map[string]*string) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetIv(v []byte) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetKeyId(v string) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetPlaintext(v []byte) *GenerateDataKeyResponse
- func (s *GenerateDataKeyResponse) SetRequestId(v string) *GenerateDataKeyResponse
- func (s GenerateDataKeyResponse) String() string
- type GenerateRandomRequest
- type GenerateRandomResponse
- func (s GenerateRandomResponse) GoString() string
- func (s *GenerateRandomResponse) SetHeaders(v map[string]*string) *GenerateRandomResponse
- func (s *GenerateRandomResponse) SetRandom(v []byte) *GenerateRandomResponse
- func (s *GenerateRandomResponse) SetRequestId(v string) *GenerateRandomResponse
- func (s GenerateRandomResponse) String() string
- type GetPublicKeyRequest
- type GetPublicKeyResponse
- func (s GetPublicKeyResponse) GoString() string
- func (s *GetPublicKeyResponse) SetHeaders(v map[string]*string) *GetPublicKeyResponse
- func (s *GetPublicKeyResponse) SetKeyId(v string) *GetPublicKeyResponse
- func (s *GetPublicKeyResponse) SetPublicKey(v string) *GetPublicKeyResponse
- func (s *GetPublicKeyResponse) SetRequestId(v string) *GetPublicKeyResponse
- func (s GetPublicKeyResponse) String() string
- type GetSecretValueRequest
- func (s GetSecretValueRequest) GoString() string
- func (s *GetSecretValueRequest) SetFetchExtendedConfig(v bool) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetHeaders(v map[string]*string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetSecretName(v string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetVersionId(v string) *GetSecretValueRequest
- func (s *GetSecretValueRequest) SetVersionStage(v string) *GetSecretValueRequest
- func (s GetSecretValueRequest) String() string
- type GetSecretValueResponse
- func (s GetSecretValueResponse) GoString() string
- func (s *GetSecretValueResponse) SetAutomaticRotation(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetCreateTime(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetExtendedConfig(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetHeaders(v map[string]*string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetLastRotationDate(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetNextRotationDate(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetRequestId(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetRotationInterval(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetSecretData(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetSecretDataType(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetSecretName(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetSecretType(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetVersionId(v string) *GetSecretValueResponse
- func (s *GetSecretValueResponse) SetVersionStages(v []*string) *GetSecretValueResponse
- func (s GetSecretValueResponse) String() string
- type SignRequest
- func (s SignRequest) GoString() string
- func (s *SignRequest) SetAlgorithm(v string) *SignRequest
- func (s *SignRequest) SetHeaders(v map[string]*string) *SignRequest
- func (s *SignRequest) SetKeyId(v string) *SignRequest
- func (s *SignRequest) SetMessage(v []byte) *SignRequest
- func (s *SignRequest) SetMessageType(v string) *SignRequest
- func (s SignRequest) String() string
- type SignResponse
- func (s SignResponse) GoString() string
- func (s *SignResponse) SetAlgorithm(v string) *SignResponse
- func (s *SignResponse) SetHeaders(v map[string]*string) *SignResponse
- func (s *SignResponse) SetKeyId(v string) *SignResponse
- func (s *SignResponse) SetMessageType(v string) *SignResponse
- func (s *SignResponse) SetRequestId(v string) *SignResponse
- func (s *SignResponse) SetSignature(v []byte) *SignResponse
- func (s SignResponse) String() string
- type VerifyRequest
- func (s VerifyRequest) GoString() string
- func (s *VerifyRequest) SetAlgorithm(v string) *VerifyRequest
- func (s *VerifyRequest) SetHeaders(v map[string]*string) *VerifyRequest
- func (s *VerifyRequest) SetKeyId(v string) *VerifyRequest
- func (s *VerifyRequest) SetMessage(v []byte) *VerifyRequest
- func (s *VerifyRequest) SetMessageType(v string) *VerifyRequest
- func (s *VerifyRequest) SetSignature(v []byte) *VerifyRequest
- func (s VerifyRequest) String() string
- type VerifyResponse
- func (s VerifyResponse) GoString() string
- func (s *VerifyResponse) SetAlgorithm(v string) *VerifyResponse
- func (s *VerifyResponse) SetHeaders(v map[string]*string) *VerifyResponse
- func (s *VerifyResponse) SetKeyId(v string) *VerifyResponse
- func (s *VerifyResponse) SetMessageType(v string) *VerifyResponse
- func (s *VerifyResponse) SetRequestId(v string) *VerifyResponse
- func (s *VerifyResponse) SetValue(v bool) *VerifyResponse
- func (s VerifyResponse) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvanceDecryptRequest ¶ added in v0.3.0
type AdvanceDecryptRequest struct { // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceDecryptRequest) GoString ¶ added in v0.3.0
func (s AdvanceDecryptRequest) GoString() string
func (*AdvanceDecryptRequest) SetAad ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetAad(v []byte) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetAlgorithm ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetAlgorithm(v string) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetCiphertextBlob ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetCiphertextBlob(v []byte) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetHeaders ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetHeaders(v map[string]*string) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetIv ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetIv(v []byte) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetKeyId ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetKeyId(v string) *AdvanceDecryptRequest
func (*AdvanceDecryptRequest) SetPaddingMode ¶ added in v0.3.0
func (s *AdvanceDecryptRequest) SetPaddingMode(v string) *AdvanceDecryptRequest
func (AdvanceDecryptRequest) String ¶ added in v0.3.0
func (s AdvanceDecryptRequest) String() string
type AdvanceDecryptResponse ¶ added in v0.3.0
type AdvanceDecryptResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 密钥版本唯一标识符 KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceDecryptResponse) GoString ¶ added in v0.3.0
func (s AdvanceDecryptResponse) GoString() string
func (*AdvanceDecryptResponse) SetAlgorithm ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetAlgorithm(v string) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetHeaders ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetHeaders(v map[string]*string) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetKeyId ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetKeyId(v string) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetKeyVersionId ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetKeyVersionId(v string) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetPaddingMode ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetPaddingMode(v string) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetPlaintext ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetPlaintext(v []byte) *AdvanceDecryptResponse
func (*AdvanceDecryptResponse) SetRequestId ¶ added in v0.3.0
func (s *AdvanceDecryptResponse) SetRequestId(v string) *AdvanceDecryptResponse
func (AdvanceDecryptResponse) String ¶ added in v0.3.0
func (s AdvanceDecryptResponse) String() string
type AdvanceEncryptRequest ¶ added in v0.3.0
type AdvanceEncryptRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceEncryptRequest) GoString ¶ added in v0.3.0
func (s AdvanceEncryptRequest) GoString() string
func (*AdvanceEncryptRequest) SetAad ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetAad(v []byte) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetAlgorithm ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetAlgorithm(v string) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetHeaders ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetHeaders(v map[string]*string) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetIv ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetIv(v []byte) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetKeyId ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetKeyId(v string) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetPaddingMode ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetPaddingMode(v string) *AdvanceEncryptRequest
func (*AdvanceEncryptRequest) SetPlaintext ¶ added in v0.3.0
func (s *AdvanceEncryptRequest) SetPlaintext(v []byte) *AdvanceEncryptRequest
func (AdvanceEncryptRequest) String ¶ added in v0.3.0
func (s AdvanceEncryptRequest) String() string
type AdvanceEncryptResponse ¶ added in v0.3.0
type AdvanceEncryptResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 密钥版本唯一标识符 KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceEncryptResponse) GoString ¶ added in v0.3.0
func (s AdvanceEncryptResponse) GoString() string
func (*AdvanceEncryptResponse) SetAlgorithm ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetAlgorithm(v string) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetCiphertextBlob ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetCiphertextBlob(v []byte) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetHeaders ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetHeaders(v map[string]*string) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetIv ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetIv(v []byte) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetKeyId ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetKeyId(v string) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetKeyVersionId ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetKeyVersionId(v string) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetPaddingMode ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetPaddingMode(v string) *AdvanceEncryptResponse
func (*AdvanceEncryptResponse) SetRequestId ¶ added in v0.3.0
func (s *AdvanceEncryptResponse) SetRequestId(v string) *AdvanceEncryptResponse
func (AdvanceEncryptResponse) String ¶ added in v0.3.0
func (s AdvanceEncryptResponse) String() string
type AdvanceGenerateDataKeyPairRequest ¶ added in v0.5.0
type AdvanceGenerateDataKeyPairRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 生成数据密钥对格式,取值:PEM,DER KeyFormat *string `json:"KeyFormat,omitempty" xml:"KeyFormat,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyPairRequest) GoString ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairRequest) GoString() string
func (*AdvanceGenerateDataKeyPairRequest) SetAad ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairRequest) SetAad(v []byte) *AdvanceGenerateDataKeyPairRequest
func (*AdvanceGenerateDataKeyPairRequest) SetHeaders ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairRequest
func (*AdvanceGenerateDataKeyPairRequest) SetKeyFormat ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairRequest) SetKeyFormat(v string) *AdvanceGenerateDataKeyPairRequest
func (*AdvanceGenerateDataKeyPairRequest) SetKeyId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairRequest) SetKeyId(v string) *AdvanceGenerateDataKeyPairRequest
func (*AdvanceGenerateDataKeyPairRequest) SetKeyPairSpec ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairRequest) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairRequest
func (AdvanceGenerateDataKeyPairRequest) String ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairRequest) String() string
type AdvanceGenerateDataKeyPairResponse ¶ added in v0.5.0
type AdvanceGenerateDataKeyPairResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 私钥明文 PrivateKeyPlaintext []byte `json:"PrivateKeyPlaintext,omitempty" xml:"PrivateKeyPlaintext,omitempty"` // 私钥密文 PrivateKeyCiphertextBlob []byte `json:"PrivateKeyCiphertextBlob,omitempty" xml:"PrivateKeyCiphertextBlob,omitempty"` // 公钥 PublicKey []byte `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 密钥版本唯一标识符 KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyPairResponse) GoString ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairResponse) GoString() string
func (*AdvanceGenerateDataKeyPairResponse) SetAlgorithm ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetHeaders ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetIv ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetIv(v []byte) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetKeyId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetKeyId(v string) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetKeyPairSpec ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetKeyVersionId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob(v []byte) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetPrivateKeyPlaintext ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetPrivateKeyPlaintext(v []byte) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetPublicKey ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetPublicKey(v []byte) *AdvanceGenerateDataKeyPairResponse
func (*AdvanceGenerateDataKeyPairResponse) SetRequestId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairResponse) SetRequestId(v string) *AdvanceGenerateDataKeyPairResponse
func (AdvanceGenerateDataKeyPairResponse) String ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairResponse) String() string
type AdvanceGenerateDataKeyPairWithoutPlaintextRequest ¶ added in v0.5.0
type AdvanceGenerateDataKeyPairWithoutPlaintextRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 生成数据密钥对格式,取值:PEM,DER KeyFormat *string `json:"KeyFormat,omitempty" xml:"KeyFormat,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyPairWithoutPlaintextRequest) GoString ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairWithoutPlaintextRequest) GoString() string
func (*AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetHeaders ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
func (*AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
func (*AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextRequest
func (AdvanceGenerateDataKeyPairWithoutPlaintextRequest) String ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairWithoutPlaintextRequest) String() string
type AdvanceGenerateDataKeyPairWithoutPlaintextResponse ¶ added in v0.5.0
type AdvanceGenerateDataKeyPairWithoutPlaintextResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 私钥密文 PrivateKeyCiphertextBlob []byte `json:"PrivateKeyCiphertextBlob,omitempty" xml:"PrivateKeyCiphertextBlob,omitempty"` // 公钥 PublicKey []byte `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 密钥版本唯一标识符 KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyPairWithoutPlaintextResponse) GoString ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairWithoutPlaintextResponse) GoString() string
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetHeaders ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyVersionId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey(v []byte) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetRequestId ¶ added in v0.5.0
func (s *AdvanceGenerateDataKeyPairWithoutPlaintextResponse) SetRequestId(v string) *AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (AdvanceGenerateDataKeyPairWithoutPlaintextResponse) String ¶ added in v0.5.0
func (s AdvanceGenerateDataKeyPairWithoutPlaintextResponse) String() string
type AdvanceGenerateDataKeyRequest ¶ added in v0.3.0
type AdvanceGenerateDataKeyRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 生成的数据密钥的长度 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyRequest) GoString ¶ added in v0.3.0
func (s AdvanceGenerateDataKeyRequest) GoString() string
func (*AdvanceGenerateDataKeyRequest) SetAad ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyRequest) SetAad(v []byte) *AdvanceGenerateDataKeyRequest
func (*AdvanceGenerateDataKeyRequest) SetHeaders ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyRequest) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyRequest
func (*AdvanceGenerateDataKeyRequest) SetKeyId ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyRequest) SetKeyId(v string) *AdvanceGenerateDataKeyRequest
func (*AdvanceGenerateDataKeyRequest) SetNumberOfBytes ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyRequest) SetNumberOfBytes(v int32) *AdvanceGenerateDataKeyRequest
func (AdvanceGenerateDataKeyRequest) String ¶ added in v0.3.0
func (s AdvanceGenerateDataKeyRequest) String() string
type AdvanceGenerateDataKeyResponse ¶ added in v0.3.0
type AdvanceGenerateDataKeyResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 密钥版本唯一标识符 KeyVersionId *string `json:"KeyVersionId,omitempty" xml:"KeyVersionId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (AdvanceGenerateDataKeyResponse) GoString ¶ added in v0.3.0
func (s AdvanceGenerateDataKeyResponse) GoString() string
func (*AdvanceGenerateDataKeyResponse) SetAlgorithm ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetAlgorithm(v string) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetCiphertextBlob ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetCiphertextBlob(v []byte) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetHeaders ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetHeaders(v map[string]*string) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetIv ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetIv(v []byte) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetKeyId ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetKeyId(v string) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetKeyVersionId ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetKeyVersionId(v string) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetPlaintext ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetPlaintext(v []byte) *AdvanceGenerateDataKeyResponse
func (*AdvanceGenerateDataKeyResponse) SetRequestId ¶ added in v0.3.0
func (s *AdvanceGenerateDataKeyResponse) SetRequestId(v string) *AdvanceGenerateDataKeyResponse
func (AdvanceGenerateDataKeyResponse) String ¶ added in v0.3.0
func (s AdvanceGenerateDataKeyResponse) String() string
type Client ¶
type Client struct {
dedicatedkmsopenapi.Client
}
func (*Client) AdvanceDecrypt ¶ added in v0.3.0
func (client *Client) AdvanceDecrypt(request *AdvanceDecryptRequest) (_result *AdvanceDecryptResponse, _err error)
*
- 调用AdvanceDecrypt接口将密文高级解密为明文
- @param request
- @return AdvanceDecryptResponse
func (*Client) AdvanceDecryptWithOptions ¶ added in v0.3.0
func (client *Client) AdvanceDecryptWithOptions(request *AdvanceDecryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *AdvanceDecryptResponse, _err error)
*
- 带运行参数调用AdvanceDecrypt接口将密文高级解密为明文
- @param request
- @param runtime
- @return AdvanceDecryptResponse
func (*Client) AdvanceEncrypt ¶ added in v0.3.0
func (client *Client) AdvanceEncrypt(request *AdvanceEncryptRequest) (_result *AdvanceEncryptResponse, _err error)
*
- 调用AdvanceEncrypt接口将明文高级加密为密文
- @param request
- @return AdvanceEncryptResponse
func (*Client) AdvanceEncryptWithOptions ¶ added in v0.3.0
func (client *Client) AdvanceEncryptWithOptions(request *AdvanceEncryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *AdvanceEncryptResponse, _err error)
*
- 带运行参数调用AdvanceEncrypt接口将明文高级加密为密文
- @param request
- @param runtime
- @return AdvanceEncryptResponse
func (*Client) AdvanceGenerateDataKey ¶ added in v0.3.0
func (client *Client) AdvanceGenerateDataKey(request *AdvanceGenerateDataKeyRequest) (_result *AdvanceGenerateDataKeyResponse, _err error)
*
- 调用AdvanceGenerateDataKey接口高级生成数据密钥
- @param request
- @return AdvanceGenerateDataKeyRequest
func (*Client) AdvanceGenerateDataKeyPair ¶ added in v0.5.0
func (client *Client) AdvanceGenerateDataKeyPair(request *AdvanceGenerateDataKeyPairRequest) (_result *AdvanceGenerateDataKeyPairResponse, _err error)
*
- 调用AdvanceGenerateDataKeyPair接口高级生成密钥对
- @param request
- @return AdvanceGenerateDataKeyPairResponse
func (*Client) AdvanceGenerateDataKeyPairWithOptions ¶ added in v0.5.0
func (client *Client) AdvanceGenerateDataKeyPairWithOptions(request *AdvanceGenerateDataKeyPairRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *AdvanceGenerateDataKeyPairResponse, _err error)
*
- 带运行参数调用AdvanceGenerateDataKeyPairWithOptions接口高级生成密钥对
- @param request
- @param runtime
- @return AdvanceGenerateDataKeyPairResponse
func (*Client) AdvanceGenerateDataKeyPairWithoutPlaintext ¶ added in v0.5.0
func (client *Client) AdvanceGenerateDataKeyPairWithoutPlaintext(request *AdvanceGenerateDataKeyPairWithoutPlaintextRequest) (_result *AdvanceGenerateDataKeyPairWithoutPlaintextResponse, _err error)
*
- 调用AdvanceGenerateDataKeyPairWithoutPlaintext接口高级生成无明文密钥对
- @param request
- @return AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*Client) AdvanceGenerateDataKeyPairWithoutPlaintextWithOptions ¶ added in v0.5.0
func (client *Client) AdvanceGenerateDataKeyPairWithoutPlaintextWithOptions(request *AdvanceGenerateDataKeyPairWithoutPlaintextRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *AdvanceGenerateDataKeyPairWithoutPlaintextResponse, _err error)
*
- 带运行参数调用AdvanceGenerateDataKeyPairWithoutPlaintextWithOptions接口高级生成无明文密钥对
- @param request
- @param runtime
- @return AdvanceGenerateDataKeyPairWithoutPlaintextResponse
func (*Client) AdvanceGenerateDataKeyWithOptions ¶ added in v0.3.0
func (client *Client) AdvanceGenerateDataKeyWithOptions(request *AdvanceGenerateDataKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *AdvanceGenerateDataKeyResponse, _err error)
*
- 带运行参数调用AdvanceGenerateDataKey接口高级生成数据密钥
- @param request
- @param runtime
- @return AdvanceGenerateDataKeyRequest
func (*Client) Decrypt ¶
func (client *Client) Decrypt(request *DecryptRequest) (_result *DecryptResponse, _err error)
*
- 调用Decrypt接口将密文解密为明文
- @param request
- @return DecryptResponse
func (*Client) DecryptWithOptions ¶
func (client *Client) DecryptWithOptions(request *DecryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *DecryptResponse, _err error)
*
- 带运行参数调用Decrypt接口将密文解密为明文
- @param request
- @param runtime
- @return DecryptResponse
func (*Client) Encrypt ¶
func (client *Client) Encrypt(request *EncryptRequest) (_result *EncryptResponse, _err error)
*
- 调用Encrypt接口将明文加密为密文
- @param request
- @return EncryptResponse
func (*Client) EncryptWithOptions ¶
func (client *Client) EncryptWithOptions(request *EncryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *EncryptResponse, _err error)
*
- 带运行参数调用Encrypt接口将明文加密为密文
- @param request
- @param runtime
- @return EncryptResponse
func (*Client) GenerateDataKey ¶
func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (_result *GenerateDataKeyResponse, _err error)
*
- 调用GenerateDataKey接口生成数据密钥
- @param request
- @return GenerateDataKeyResponse
func (*Client) GenerateDataKeyPair ¶ added in v0.5.0
func (client *Client) GenerateDataKeyPair(request *GenerateDataKeyPairRequest) (_result *GenerateDataKeyPairResponse, _err error)
*
- 调用GenerateDataKeyPair接口生成密钥对
- @param request
- @return GenerateDataKeyPairResponse
func (*Client) GenerateDataKeyPairWithOptions ¶ added in v0.5.0
func (client *Client) GenerateDataKeyPairWithOptions(request *GenerateDataKeyPairRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateDataKeyPairResponse, _err error)
*
- 带运行参数调用GenerateDataKeyPairWithOptions接口生成密钥对
- @param request
- @param runtime
- @return GenerateDataKeyPairResponse
func (*Client) GenerateDataKeyPairWithoutPlaintext ¶ added in v0.5.0
func (client *Client) GenerateDataKeyPairWithoutPlaintext(request *GenerateDataKeyPairWithoutPlaintextRequest) (_result *GenerateDataKeyPairWithoutPlaintextResponse, _err error)
*
- 调用GenerateDataKeyPairWithoutPlaintext接口生成无明文密钥对
- @param request
- @return GenerateDataKeyPairWithoutPlaintextResponse
func (*Client) GenerateDataKeyPairWithoutPlaintextWithOptions ¶ added in v0.5.0
func (client *Client) GenerateDataKeyPairWithoutPlaintextWithOptions(request *GenerateDataKeyPairWithoutPlaintextRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateDataKeyPairWithoutPlaintextResponse, _err error)
*
- 带运行参数调用AdvanceGenerateDataKeyPair接口生成无明文密钥对
- @param request
- @param runtime
- @return GenerateDataKeyPairWithoutPlaintextResponse
func (*Client) GenerateDataKeyWithOptions ¶
func (client *Client) GenerateDataKeyWithOptions(request *GenerateDataKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateDataKeyResponse, _err error)
*
- 带运行参数调用GenerateDataKey接口生成数据密钥
- @param request
- @param runtime
- @return GenerateDataKeyResponse
func (*Client) GenerateRandom ¶
func (client *Client) GenerateRandom(request *GenerateRandomRequest) (_result *GenerateRandomResponse, _err error)
*
- 调用GenerateRandom接口生成一个随机数
- @param request
- @return GenerateRandomResponse
func (*Client) GenerateRandomWithOptions ¶
func (client *Client) GenerateRandomWithOptions(request *GenerateRandomRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateRandomResponse, _err error)
*
- 带运行参数调用GenerateRandom接口生成一个随机数
- @param request
- @param runtime
- @return GenerateRandomResponse
func (*Client) GetPublicKey ¶
func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (_result *GetPublicKeyResponse, _err error)
*
- 调用GetPublicKey接口获取指定非对称密钥的公钥
- @param request
- @return GetPublicKeyResponse
func (*Client) GetPublicKeyWithOptions ¶
func (client *Client) GetPublicKeyWithOptions(request *GetPublicKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GetPublicKeyResponse, _err error)
*
- 带运行参数调用GetPublicKey接口获取指定非对称密钥的公钥
- @param request
- @param runtime
- @return GetPublicKeyResponse
func (*Client) GetSecretValue ¶ added in v0.2.1
func (client *Client) GetSecretValue(request *GetSecretValueRequest) (_result *GetSecretValueResponse, _err error)
*
- 调用GetSecretValue接口通过KMS实例网关获取凭据值
- @param request
- @return GetSecretValueResponse
func (*Client) GetSecretValueWithOptions ¶ added in v0.2.1
func (client *Client) GetSecretValueWithOptions(request *GetSecretValueRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GetSecretValueResponse, _err error)
*
- 带运行参数调用GetSecretValue接口通过KMS实例网关获取凭据值
- @param request
- @param runtime
- @return GetSecretValueResponse
func (*Client) Sign ¶
func (client *Client) Sign(request *SignRequest) (_result *SignResponse, _err error)
*
- 调用Sign接口使用非对称密钥进行签名
- @param request
- @return SignResponse
func (*Client) SignWithOptions ¶
func (client *Client) SignWithOptions(request *SignRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *SignResponse, _err error)
*
- 带运行参数调用Sign接口使用非对称密钥进行签名
- @param request
- @param runtime
- @return SignResponse
func (*Client) Verify ¶
func (client *Client) Verify(request *VerifyRequest) (_result *VerifyResponse, _err error)
*
- 调用Verify接口使用非对称密钥进行验签
- @param request
- @return VerifyResponse
func (*Client) VerifyWithOptions ¶
func (client *Client) VerifyWithOptions(request *VerifyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *VerifyResponse, _err error)
*
- 带运行参数调用Verify接口使用非对称密钥进行验签
- @param request
- @param runtime
- @return VerifyResponse
type DecryptRequest ¶
type DecryptRequest struct { // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (DecryptRequest) GoString ¶
func (s DecryptRequest) GoString() string
func (*DecryptRequest) SetAad ¶
func (s *DecryptRequest) SetAad(v []byte) *DecryptRequest
func (*DecryptRequest) SetAlgorithm ¶
func (s *DecryptRequest) SetAlgorithm(v string) *DecryptRequest
func (*DecryptRequest) SetCiphertextBlob ¶
func (s *DecryptRequest) SetCiphertextBlob(v []byte) *DecryptRequest
func (*DecryptRequest) SetHeaders ¶
func (s *DecryptRequest) SetHeaders(v map[string]*string) *DecryptRequest
func (*DecryptRequest) SetIv ¶
func (s *DecryptRequest) SetIv(v []byte) *DecryptRequest
func (*DecryptRequest) SetKeyId ¶
func (s *DecryptRequest) SetKeyId(v string) *DecryptRequest
func (*DecryptRequest) SetPaddingMode ¶
func (s *DecryptRequest) SetPaddingMode(v string) *DecryptRequest
func (DecryptRequest) String ¶
func (s DecryptRequest) String() string
type DecryptResponse ¶
type DecryptResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (DecryptResponse) GoString ¶
func (s DecryptResponse) GoString() string
func (*DecryptResponse) SetAlgorithm ¶
func (s *DecryptResponse) SetAlgorithm(v string) *DecryptResponse
func (*DecryptResponse) SetHeaders ¶
func (s *DecryptResponse) SetHeaders(v map[string]*string) *DecryptResponse
func (*DecryptResponse) SetKeyId ¶
func (s *DecryptResponse) SetKeyId(v string) *DecryptResponse
func (*DecryptResponse) SetPaddingMode ¶
func (s *DecryptResponse) SetPaddingMode(v string) *DecryptResponse
func (*DecryptResponse) SetPlaintext ¶
func (s *DecryptResponse) SetPlaintext(v []byte) *DecryptResponse
func (*DecryptResponse) SetRequestId ¶
func (s *DecryptResponse) SetRequestId(v string) *DecryptResponse
func (DecryptResponse) String ¶
func (s DecryptResponse) String() string
type EncryptRequest ¶
type EncryptRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 对数据加密时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (EncryptRequest) GoString ¶
func (s EncryptRequest) GoString() string
func (*EncryptRequest) SetAad ¶
func (s *EncryptRequest) SetAad(v []byte) *EncryptRequest
func (*EncryptRequest) SetAlgorithm ¶
func (s *EncryptRequest) SetAlgorithm(v string) *EncryptRequest
func (*EncryptRequest) SetHeaders ¶
func (s *EncryptRequest) SetHeaders(v map[string]*string) *EncryptRequest
func (*EncryptRequest) SetIv ¶
func (s *EncryptRequest) SetIv(v []byte) *EncryptRequest
func (*EncryptRequest) SetKeyId ¶
func (s *EncryptRequest) SetKeyId(v string) *EncryptRequest
func (*EncryptRequest) SetPaddingMode ¶
func (s *EncryptRequest) SetPaddingMode(v string) *EncryptRequest
func (*EncryptRequest) SetPlaintext ¶
func (s *EncryptRequest) SetPlaintext(v []byte) *EncryptRequest
func (EncryptRequest) String ¶
func (s EncryptRequest) String() string
type EncryptResponse ¶
type EncryptResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 填充模式 PaddingMode *string `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (EncryptResponse) GoString ¶
func (s EncryptResponse) GoString() string
func (*EncryptResponse) SetAlgorithm ¶
func (s *EncryptResponse) SetAlgorithm(v string) *EncryptResponse
func (*EncryptResponse) SetCiphertextBlob ¶
func (s *EncryptResponse) SetCiphertextBlob(v []byte) *EncryptResponse
func (*EncryptResponse) SetHeaders ¶
func (s *EncryptResponse) SetHeaders(v map[string]*string) *EncryptResponse
func (*EncryptResponse) SetIv ¶
func (s *EncryptResponse) SetIv(v []byte) *EncryptResponse
func (*EncryptResponse) SetKeyId ¶
func (s *EncryptResponse) SetKeyId(v string) *EncryptResponse
func (*EncryptResponse) SetPaddingMode ¶
func (s *EncryptResponse) SetPaddingMode(v string) *EncryptResponse
func (*EncryptResponse) SetRequestId ¶
func (s *EncryptResponse) SetRequestId(v string) *EncryptResponse
func (EncryptResponse) String ¶
func (s EncryptResponse) String() string
type GenerateDataKeyPairRequest ¶ added in v0.5.0
type GenerateDataKeyPairRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 生成数据密钥对格式,取值:PEM,DER KeyFormat *string `json:"KeyFormat,omitempty" xml:"KeyFormat,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyPairRequest) GoString ¶ added in v0.5.0
func (s GenerateDataKeyPairRequest) GoString() string
func (*GenerateDataKeyPairRequest) SetAad ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetAad(v []byte) *GenerateDataKeyPairRequest
func (*GenerateDataKeyPairRequest) SetAlgorithm ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetAlgorithm(v string) *GenerateDataKeyPairRequest
func (*GenerateDataKeyPairRequest) SetHeaders ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetHeaders(v map[string]*string) *GenerateDataKeyPairRequest
func (*GenerateDataKeyPairRequest) SetKeyFormat ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetKeyFormat(v string) *GenerateDataKeyPairRequest
func (*GenerateDataKeyPairRequest) SetKeyId ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetKeyId(v string) *GenerateDataKeyPairRequest
func (*GenerateDataKeyPairRequest) SetKeyPairSpec ¶ added in v0.5.0
func (s *GenerateDataKeyPairRequest) SetKeyPairSpec(v string) *GenerateDataKeyPairRequest
func (GenerateDataKeyPairRequest) String ¶ added in v0.5.0
func (s GenerateDataKeyPairRequest) String() string
type GenerateDataKeyPairResponse ¶ added in v0.5.0
type GenerateDataKeyPairResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 私钥明文 PrivateKeyPlaintext []byte `json:"PrivateKeyPlaintext,omitempty" xml:"PrivateKeyPlaintext,omitempty"` // 私钥密文 PrivateKeyCiphertextBlob []byte `json:"PrivateKeyCiphertextBlob,omitempty" xml:"PrivateKeyCiphertextBlob,omitempty"` // 公钥 PublicKey []byte `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyPairResponse) GoString ¶ added in v0.5.0
func (s GenerateDataKeyPairResponse) GoString() string
func (*GenerateDataKeyPairResponse) SetAlgorithm ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetAlgorithm(v string) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetHeaders ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetHeaders(v map[string]*string) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetIv ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetIv(v []byte) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetKeyId ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetKeyId(v string) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetKeyPairSpec ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetKeyPairSpec(v string) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetPrivateKeyCiphertextBlob(v []byte) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetPrivateKeyPlaintext ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetPrivateKeyPlaintext(v []byte) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetPublicKey ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetPublicKey(v []byte) *GenerateDataKeyPairResponse
func (*GenerateDataKeyPairResponse) SetRequestId ¶ added in v0.5.0
func (s *GenerateDataKeyPairResponse) SetRequestId(v string) *GenerateDataKeyPairResponse
func (GenerateDataKeyPairResponse) String ¶ added in v0.5.0
func (s GenerateDataKeyPairResponse) String() string
type GenerateDataKeyPairWithoutPlaintextRequest ¶ added in v0.5.0
type GenerateDataKeyPairWithoutPlaintextRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 生成数据密钥对格式,取值:PEM,DER KeyFormat *string `json:"KeyFormat,omitempty" xml:"KeyFormat,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyPairWithoutPlaintextRequest) GoString ¶ added in v0.5.0
func (s GenerateDataKeyPairWithoutPlaintextRequest) GoString() string
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetAad ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetAad(v []byte) *GenerateDataKeyPairWithoutPlaintextRequest
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetAlgorithm ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetAlgorithm(v string) *GenerateDataKeyPairWithoutPlaintextRequest
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetHeaders ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetHeaders(v map[string]*string) *GenerateDataKeyPairWithoutPlaintextRequest
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyFormat(v string) *GenerateDataKeyPairWithoutPlaintextRequest
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetKeyId ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyId(v string) *GenerateDataKeyPairWithoutPlaintextRequest
func (*GenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextRequest) SetKeyPairSpec(v string) *GenerateDataKeyPairWithoutPlaintextRequest
func (GenerateDataKeyPairWithoutPlaintextRequest) String ¶ added in v0.5.0
func (s GenerateDataKeyPairWithoutPlaintextRequest) String() string
type GenerateDataKeyPairWithoutPlaintextResponse ¶ added in v0.5.0
type GenerateDataKeyPairWithoutPlaintextResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 指定生成的数据密钥对类型 KeyPairSpec *string `json:"KeyPairSpec,omitempty" xml:"KeyPairSpec,omitempty"` // 私钥密文 PrivateKeyCiphertextBlob []byte `json:"PrivateKeyCiphertextBlob,omitempty" xml:"PrivateKeyCiphertextBlob,omitempty"` // 公钥 PublicKey []byte `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyPairWithoutPlaintextResponse) GoString ¶ added in v0.5.0
func (s GenerateDataKeyPairWithoutPlaintextResponse) GoString() string
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetAlgorithm(v string) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetHeaders ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetHeaders(v map[string]*string) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetIv ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetIv(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetKeyId ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetKeyId(v string) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetKeyPairSpec(v string) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetPrivateKeyCiphertextBlob(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetPublicKey(v []byte) *GenerateDataKeyPairWithoutPlaintextResponse
func (*GenerateDataKeyPairWithoutPlaintextResponse) SetRequestId ¶ added in v0.5.0
func (s *GenerateDataKeyPairWithoutPlaintextResponse) SetRequestId(v string) *GenerateDataKeyPairWithoutPlaintextResponse
func (GenerateDataKeyPairWithoutPlaintextResponse) String ¶ added in v0.5.0
func (s GenerateDataKeyPairWithoutPlaintextResponse) String() string
type GenerateDataKeyRequest ¶
type GenerateDataKeyRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 生成的数据密钥的长度 NumberOfBytes *int32 `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"` // 对数据密钥加密时使用的GCM加密模式认证数据 Aad []byte `json:"Aad,omitempty" xml:"Aad,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyRequest) GoString ¶
func (s GenerateDataKeyRequest) GoString() string
func (*GenerateDataKeyRequest) SetAad ¶
func (s *GenerateDataKeyRequest) SetAad(v []byte) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetAlgorithm ¶
func (s *GenerateDataKeyRequest) SetAlgorithm(v string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetHeaders ¶
func (s *GenerateDataKeyRequest) SetHeaders(v map[string]*string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetKeyId ¶
func (s *GenerateDataKeyRequest) SetKeyId(v string) *GenerateDataKeyRequest
func (*GenerateDataKeyRequest) SetNumberOfBytes ¶
func (s *GenerateDataKeyRequest) SetNumberOfBytes(v int32) *GenerateDataKeyRequest
func (GenerateDataKeyRequest) String ¶
func (s GenerateDataKeyRequest) String() string
type GenerateDataKeyResponse ¶
type GenerateDataKeyResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密数据时使用的初始向量 Iv []byte `json:"Iv,omitempty" xml:"Iv,omitempty"` // 待加密的明文数据 Plaintext []byte `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"` // 数据被指定密钥加密后的密文 CiphertextBlob []byte `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateDataKeyResponse) GoString ¶
func (s GenerateDataKeyResponse) GoString() string
func (*GenerateDataKeyResponse) SetAlgorithm ¶
func (s *GenerateDataKeyResponse) SetAlgorithm(v string) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetCiphertextBlob ¶
func (s *GenerateDataKeyResponse) SetCiphertextBlob(v []byte) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetHeaders ¶
func (s *GenerateDataKeyResponse) SetHeaders(v map[string]*string) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetIv ¶
func (s *GenerateDataKeyResponse) SetIv(v []byte) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetKeyId ¶
func (s *GenerateDataKeyResponse) SetKeyId(v string) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetPlaintext ¶
func (s *GenerateDataKeyResponse) SetPlaintext(v []byte) *GenerateDataKeyResponse
func (*GenerateDataKeyResponse) SetRequestId ¶
func (s *GenerateDataKeyResponse) SetRequestId(v string) *GenerateDataKeyResponse
func (GenerateDataKeyResponse) String ¶
func (s GenerateDataKeyResponse) String() string
type GenerateRandomRequest ¶
type GenerateRandomRequest struct { // 要生成的随机数字节长度 Length *int32 `json:"Length,omitempty" xml:"Length,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateRandomRequest) GoString ¶
func (s GenerateRandomRequest) GoString() string
func (*GenerateRandomRequest) SetHeaders ¶
func (s *GenerateRandomRequest) SetHeaders(v map[string]*string) *GenerateRandomRequest
func (*GenerateRandomRequest) SetLength ¶
func (s *GenerateRandomRequest) SetLength(v int32) *GenerateRandomRequest
func (GenerateRandomRequest) String ¶
func (s GenerateRandomRequest) String() string
type GenerateRandomResponse ¶
type GenerateRandomResponse struct { // 随机数 Random []byte `json:"Random,omitempty" xml:"Random,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GenerateRandomResponse) GoString ¶
func (s GenerateRandomResponse) GoString() string
func (*GenerateRandomResponse) SetHeaders ¶
func (s *GenerateRandomResponse) SetHeaders(v map[string]*string) *GenerateRandomResponse
func (*GenerateRandomResponse) SetRandom ¶
func (s *GenerateRandomResponse) SetRandom(v []byte) *GenerateRandomResponse
func (*GenerateRandomResponse) SetRequestId ¶
func (s *GenerateRandomResponse) SetRequestId(v string) *GenerateRandomResponse
func (GenerateRandomResponse) String ¶
func (s GenerateRandomResponse) String() string
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GetPublicKeyRequest) GoString ¶
func (s GetPublicKeyRequest) GoString() string
func (*GetPublicKeyRequest) SetHeaders ¶
func (s *GetPublicKeyRequest) SetHeaders(v map[string]*string) *GetPublicKeyRequest
func (*GetPublicKeyRequest) SetKeyId ¶
func (s *GetPublicKeyRequest) SetKeyId(v string) *GetPublicKeyRequest
func (GetPublicKeyRequest) String ¶
func (s GetPublicKeyRequest) String() string
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // PEM格式的公钥 PublicKey *string `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GetPublicKeyResponse) GoString ¶
func (s GetPublicKeyResponse) GoString() string
func (*GetPublicKeyResponse) SetHeaders ¶
func (s *GetPublicKeyResponse) SetHeaders(v map[string]*string) *GetPublicKeyResponse
func (*GetPublicKeyResponse) SetKeyId ¶
func (s *GetPublicKeyResponse) SetKeyId(v string) *GetPublicKeyResponse
func (*GetPublicKeyResponse) SetPublicKey ¶
func (s *GetPublicKeyResponse) SetPublicKey(v string) *GetPublicKeyResponse
func (*GetPublicKeyResponse) SetRequestId ¶
func (s *GetPublicKeyResponse) SetRequestId(v string) *GetPublicKeyResponse
func (GetPublicKeyResponse) String ¶
func (s GetPublicKeyResponse) String() string
type GetSecretValueRequest ¶ added in v0.2.1
type GetSecretValueRequest struct { // 凭据名称 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // 版本状态 VersionStage *string `json:"VersionStage,omitempty" xml:"VersionStage,omitempty"` // 版本号 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // 是否获取凭据的拓展配置true(默认值):是,false:否 FetchExtendedConfig *bool `json:"FetchExtendedConfig,omitempty" xml:"FetchExtendedConfig,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GetSecretValueRequest) GoString ¶ added in v0.2.1
func (s GetSecretValueRequest) GoString() string
func (*GetSecretValueRequest) SetFetchExtendedConfig ¶ added in v0.2.1
func (s *GetSecretValueRequest) SetFetchExtendedConfig(v bool) *GetSecretValueRequest
func (*GetSecretValueRequest) SetHeaders ¶ added in v0.2.1
func (s *GetSecretValueRequest) SetHeaders(v map[string]*string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetSecretName ¶ added in v0.2.1
func (s *GetSecretValueRequest) SetSecretName(v string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetVersionId ¶ added in v0.2.1
func (s *GetSecretValueRequest) SetVersionId(v string) *GetSecretValueRequest
func (*GetSecretValueRequest) SetVersionStage ¶ added in v0.2.1
func (s *GetSecretValueRequest) SetVersionStage(v string) *GetSecretValueRequest
func (GetSecretValueRequest) String ¶ added in v0.2.1
func (s GetSecretValueRequest) String() string
type GetSecretValueResponse ¶ added in v0.2.1
type GetSecretValueResponse struct { // 凭据名称 SecretName *string `json:"SecretName,omitempty" xml:"SecretName,omitempty"` // 凭据类型 SecretType *string `json:"SecretType,omitempty" xml:"SecretType,omitempty"` // 凭据值 SecretData *string `json:"SecretData,omitempty" xml:"SecretData,omitempty"` // 凭据值类型 SecretDataType *string `json:"SecretDataType,omitempty" xml:"SecretDataType,omitempty"` // 凭据版本的状态标记 VersionStages []*string `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Repeated"` // 凭据版本的标识符 VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"` // 创建凭据的时间 CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 最近一次轮转的时间 LastRotationDate *string `json:"LastRotationDate,omitempty" xml:"LastRotationDate,omitempty"` // 下一次轮转的时间 NextRotationDate *string `json:"NextRotationDate,omitempty" xml:"NextRotationDate,omitempty"` // 凭据的拓展配置 ExtendedConfig *string `json:"ExtendedConfig,omitempty" xml:"ExtendedConfig,omitempty"` // 是否开启自动轮转 AutomaticRotation *string `json:"AutomaticRotation,omitempty" xml:"AutomaticRotation,omitempty"` // 凭据自动轮转的周期 RotationInterval *string `json:"RotationInterval,omitempty" xml:"RotationInterval,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (GetSecretValueResponse) GoString ¶ added in v0.2.1
func (s GetSecretValueResponse) GoString() string
func (*GetSecretValueResponse) SetAutomaticRotation ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetAutomaticRotation(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetCreateTime ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetCreateTime(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetExtendedConfig ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetExtendedConfig(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetHeaders ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetHeaders(v map[string]*string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetLastRotationDate ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetLastRotationDate(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetNextRotationDate ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetNextRotationDate(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetRequestId ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetRequestId(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetRotationInterval ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetRotationInterval(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetSecretData ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetSecretData(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetSecretDataType ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetSecretDataType(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetSecretName ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetSecretName(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetSecretType ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetSecretType(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetVersionId ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetVersionId(v string) *GetSecretValueResponse
func (*GetSecretValueResponse) SetVersionStages ¶ added in v0.2.1
func (s *GetSecretValueResponse) SetVersionStages(v []*string) *GetSecretValueResponse
func (GetSecretValueResponse) String ¶ added in v0.2.1
func (s GetSecretValueResponse) String() string
type SignRequest ¶
type SignRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 签名消息 Message []byte `json:"Message,omitempty" xml:"Message,omitempty"` // 消息类型: 1. RAW(默认值):原始数据2. DIGEST:原始数据的消息摘要 MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (SignRequest) GoString ¶
func (s SignRequest) GoString() string
func (*SignRequest) SetAlgorithm ¶
func (s *SignRequest) SetAlgorithm(v string) *SignRequest
func (*SignRequest) SetHeaders ¶
func (s *SignRequest) SetHeaders(v map[string]*string) *SignRequest
func (*SignRequest) SetKeyId ¶
func (s *SignRequest) SetKeyId(v string) *SignRequest
func (*SignRequest) SetMessage ¶
func (s *SignRequest) SetMessage(v []byte) *SignRequest
func (*SignRequest) SetMessageType ¶
func (s *SignRequest) SetMessageType(v string) *SignRequest
func (SignRequest) String ¶
func (s SignRequest) String() string
type SignResponse ¶
type SignResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 计算出来的签名值 Signature []byte `json:"Signature,omitempty" xml:"Signature,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 消息类型: 1. RAW(默认值):原始数据2. DIGEST:原始数据的消息摘要 MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (SignResponse) GoString ¶
func (s SignResponse) GoString() string
func (*SignResponse) SetAlgorithm ¶
func (s *SignResponse) SetAlgorithm(v string) *SignResponse
func (*SignResponse) SetHeaders ¶
func (s *SignResponse) SetHeaders(v map[string]*string) *SignResponse
func (*SignResponse) SetKeyId ¶
func (s *SignResponse) SetKeyId(v string) *SignResponse
func (*SignResponse) SetMessageType ¶
func (s *SignResponse) SetMessageType(v string) *SignResponse
func (*SignResponse) SetRequestId ¶
func (s *SignResponse) SetRequestId(v string) *SignResponse
func (*SignResponse) SetSignature ¶
func (s *SignResponse) SetSignature(v []byte) *SignResponse
func (SignResponse) String ¶
func (s SignResponse) String() string
type VerifyRequest ¶
type VerifyRequest struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 计算出来的签名值 Signature []byte `json:"Signature,omitempty" xml:"Signature,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 签名消息 Message []byte `json:"Message,omitempty" xml:"Message,omitempty"` // 消息类型: 1. RAW(默认值):原始数据2. DIGEST:原始数据的消息摘要 MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` // 请求头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (VerifyRequest) GoString ¶
func (s VerifyRequest) GoString() string
func (*VerifyRequest) SetAlgorithm ¶
func (s *VerifyRequest) SetAlgorithm(v string) *VerifyRequest
func (*VerifyRequest) SetHeaders ¶
func (s *VerifyRequest) SetHeaders(v map[string]*string) *VerifyRequest
func (*VerifyRequest) SetKeyId ¶
func (s *VerifyRequest) SetKeyId(v string) *VerifyRequest
func (*VerifyRequest) SetMessage ¶
func (s *VerifyRequest) SetMessage(v []byte) *VerifyRequest
func (*VerifyRequest) SetMessageType ¶
func (s *VerifyRequest) SetMessageType(v string) *VerifyRequest
func (*VerifyRequest) SetSignature ¶
func (s *VerifyRequest) SetSignature(v []byte) *VerifyRequest
func (VerifyRequest) String ¶
func (s VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct { // 密钥的全局唯一标识符该参数也可以被指定为密钥别名 KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` // 签名验证是否通过 Value *bool `json:"Value,omitempty" xml:"Value,omitempty"` // 请求ID RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // 加密算法 Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"` // 消息类型: 1. RAW(默认值):原始数据2. DIGEST:原始数据的消息摘要 MessageType *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"` // 响应头 Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` }
func (VerifyResponse) GoString ¶
func (s VerifyResponse) GoString() string
func (*VerifyResponse) SetAlgorithm ¶
func (s *VerifyResponse) SetAlgorithm(v string) *VerifyResponse
func (*VerifyResponse) SetHeaders ¶
func (s *VerifyResponse) SetHeaders(v map[string]*string) *VerifyResponse
func (*VerifyResponse) SetKeyId ¶
func (s *VerifyResponse) SetKeyId(v string) *VerifyResponse
func (*VerifyResponse) SetMessageType ¶
func (s *VerifyResponse) SetMessageType(v string) *VerifyResponse
func (*VerifyResponse) SetRequestId ¶
func (s *VerifyResponse) SetRequestId(v string) *VerifyResponse
func (*VerifyResponse) SetValue ¶
func (s *VerifyResponse) SetValue(v bool) *VerifyResponse
func (VerifyResponse) String ¶
func (s VerifyResponse) String() string
Click to show internal directories.
Click to hide internal directories.