sdk

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	dedicatedkmsopenapi.Client
}

func NewClient

func NewClient(config *dedicatedkmsopenapi.Config) (*Client, error)

func (*Client) Decrypt

func (client *Client) Decrypt(request *DecryptRequest) (_result *DecryptResponse, _err error)

func (*Client) DecryptWithOptions

func (client *Client) DecryptWithOptions(request *DecryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *DecryptResponse, _err error)

func (*Client) Encrypt

func (client *Client) Encrypt(request *EncryptRequest) (_result *EncryptResponse, _err error)

func (*Client) EncryptWithOptions

func (client *Client) EncryptWithOptions(request *EncryptRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *EncryptResponse, _err error)

func (*Client) GenerateDataKey

func (client *Client) GenerateDataKey(request *GenerateDataKeyRequest) (_result *GenerateDataKeyResponse, _err error)

func (*Client) GenerateDataKeyWithOptions

func (client *Client) GenerateDataKeyWithOptions(request *GenerateDataKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateDataKeyResponse, _err error)

func (*Client) GenerateRandom

func (client *Client) GenerateRandom(request *GenerateRandomRequest) (_result *GenerateRandomResponse, _err error)

func (*Client) GenerateRandomWithOptions

func (client *Client) GenerateRandomWithOptions(request *GenerateRandomRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GenerateRandomResponse, _err error)

func (*Client) GetPublicKey

func (client *Client) GetPublicKey(request *GetPublicKeyRequest) (_result *GetPublicKeyResponse, _err error)

func (*Client) GetPublicKeyWithOptions

func (client *Client) GetPublicKeyWithOptions(request *GetPublicKeyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GetPublicKeyResponse, _err error)

func (*Client) GetSecretValue added in v0.2.1

func (client *Client) GetSecretValue(request *GetSecretValueRequest) (_result *GetSecretValueResponse, _err error)

func (*Client) GetSecretValueWithOptions added in v0.2.1

func (client *Client) GetSecretValueWithOptions(request *GetSecretValueRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *GetSecretValueResponse, _err error)

func (*Client) Hmac

func (client *Client) Hmac(request *HmacRequest) (_result *HmacResponse, _err error)

func (*Client) HmacWithOptions

func (client *Client) HmacWithOptions(request *HmacRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *HmacResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *dedicatedkmsopenapi.Config) (_err error)

func (*Client) Sign

func (client *Client) Sign(request *SignRequest) (_result *SignResponse, _err error)

func (*Client) SignWithOptions

func (client *Client) SignWithOptions(request *SignRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *SignResponse, _err error)

func (*Client) Verify

func (client *Client) Verify(request *VerifyRequest) (_result *VerifyResponse, _err error)

func (*Client) VerifyWithOptions

func (client *Client) VerifyWithOptions(request *VerifyRequest, runtime *dedicatedkmsopenapiutil.RuntimeOptions) (_result *VerifyResponse, _err error)

type DecryptRequest

type DecryptRequest struct {
	Headers        map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	CiphertextBlob []byte             `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"`
	KeyId          *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Algorithm      *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	Aad            []byte             `json:"Aad,omitempty" xml:"Aad,omitempty"`
	Iv             []byte             `json:"Iv,omitempty" xml:"Iv,omitempty"`
	PaddingMode    *string            `json:"PaddingMode,omitempty" xml:"PaddingMode,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 {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Plaintext   []byte             `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	PaddingMode *string            `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"`
	RequestId   *string            `json:"RequestId,omitempty" xml:"RequestId,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 {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Plaintext   []byte             `json:"Plaintext,omitempty" xml:"Plaintext,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	Aad         []byte             `json:"Aad,omitempty" xml:"Aad,omitempty"`
	Iv          []byte             `json:"Iv,omitempty" xml:"Iv,omitempty"`
	PaddingMode *string            `json:"PaddingMode,omitempty" xml:"PaddingMode,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 {
	Headers        map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId          *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	CiphertextBlob []byte             `json:"CiphertextBlob,omitempty" xml:"CiphertextBlob,omitempty"`
	Iv             []byte             `json:"Iv,omitempty" xml:"Iv,omitempty"`
	Algorithm      *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	PaddingMode    *string            `json:"PaddingMode,omitempty" xml:"PaddingMode,omitempty"`
	RequestId      *string            `json:"RequestId,omitempty" xml:"RequestId,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 GenerateDataKeyRequest

type GenerateDataKeyRequest struct {
	Headers       map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId         *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Algorithm     *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	NumberOfBytes *int32             `json:"NumberOfBytes,omitempty" xml:"NumberOfBytes,omitempty"`
	Aad           []byte             `json:"Aad,omitempty" xml:"Aad,omitempty"`
}

func (GenerateDataKeyRequest) GoString

func (s GenerateDataKeyRequest) GoString() string

func (*GenerateDataKeyRequest) SetAad

func (*GenerateDataKeyRequest) SetAlgorithm

func (*GenerateDataKeyRequest) SetHeaders

func (*GenerateDataKeyRequest) SetKeyId

func (*GenerateDataKeyRequest) SetNumberOfBytes

func (s *GenerateDataKeyRequest) SetNumberOfBytes(v int32) *GenerateDataKeyRequest

func (GenerateDataKeyRequest) String

func (s GenerateDataKeyRequest) String() string

type GenerateDataKeyResponse

type GenerateDataKeyResponse struct {
	Headers        map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	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"`
	Algorithm      *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	RequestId      *string            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GenerateDataKeyResponse) GoString

func (s GenerateDataKeyResponse) GoString() string

func (*GenerateDataKeyResponse) SetAlgorithm

func (*GenerateDataKeyResponse) SetCiphertextBlob

func (s *GenerateDataKeyResponse) SetCiphertextBlob(v []byte) *GenerateDataKeyResponse

func (*GenerateDataKeyResponse) SetHeaders

func (*GenerateDataKeyResponse) SetIv

func (*GenerateDataKeyResponse) SetKeyId

func (*GenerateDataKeyResponse) SetPlaintext

func (*GenerateDataKeyResponse) SetRequestId

func (GenerateDataKeyResponse) String

func (s GenerateDataKeyResponse) String() string

type GenerateRandomRequest

type GenerateRandomRequest struct {
	Headers map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	Length  *int32             `json:"Length,omitempty" xml:"Length,omitempty"`
}

func (GenerateRandomRequest) GoString

func (s GenerateRandomRequest) GoString() string

func (*GenerateRandomRequest) SetHeaders

func (*GenerateRandomRequest) SetLength

func (GenerateRandomRequest) String

func (s GenerateRandomRequest) String() string

type GenerateRandomResponse

type GenerateRandomResponse struct {
	Headers   map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	Random    []byte             `json:"Random,omitempty" xml:"Random,omitempty"`
	RequestId *string            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GenerateRandomResponse) GoString

func (s GenerateRandomResponse) GoString() string

func (*GenerateRandomResponse) SetHeaders

func (*GenerateRandomResponse) SetRandom

func (*GenerateRandomResponse) SetRequestId

func (GenerateRandomResponse) String

func (s GenerateRandomResponse) String() string

type GetPublicKeyRequest

type GetPublicKeyRequest struct {
	Headers map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId   *string            `json:"KeyId,omitempty" xml:"KeyId,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 (GetPublicKeyRequest) String

func (s GetPublicKeyRequest) String() string

type GetPublicKeyResponse

type GetPublicKeyResponse struct {
	Headers   map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId     *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	PublicKey *string            `json:"PublicKey,omitempty" xml:"PublicKey,omitempty"`
	RequestId *string            `json:"RequestId,omitempty" xml:"RequestId,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 (*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 {
	Headers             map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	SecretName          *string            `json:"SecretName,omitempty" xml:"SecretName,omitempty"`
	VersionStage        *string            `json:"VersionStage,omitempty" xml:"VersionStage,omitempty"`
	VersionId           *string            `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
	FetchExtendedConfig *bool              `json:"FetchExtendedConfig,omitempty" xml:"FetchExtendedConfig,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 (*GetSecretValueRequest) SetSecretName added in v0.2.1

func (s *GetSecretValueRequest) SetSecretName(v string) *GetSecretValueRequest

func (*GetSecretValueRequest) SetVersionId added in v0.2.1

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 {
	Headers           map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	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"`
	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"`
}

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 (*GetSecretValueResponse) SetExtendedConfig added in v0.2.1

func (s *GetSecretValueResponse) SetExtendedConfig(v string) *GetSecretValueResponse

func (*GetSecretValueResponse) SetHeaders added in v0.2.1

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 (*GetSecretValueResponse) SetRotationInterval added in v0.2.1

func (s *GetSecretValueResponse) SetRotationInterval(v string) *GetSecretValueResponse

func (*GetSecretValueResponse) SetSecretData added in v0.2.1

func (*GetSecretValueResponse) SetSecretDataType added in v0.2.1

func (s *GetSecretValueResponse) SetSecretDataType(v string) *GetSecretValueResponse

func (*GetSecretValueResponse) SetSecretName added in v0.2.1

func (*GetSecretValueResponse) SetSecretType added in v0.2.1

func (*GetSecretValueResponse) SetVersionId added in v0.2.1

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 HmacRequest

type HmacRequest struct {
	Headers map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId   *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Message []byte             `json:"Message,omitempty" xml:"Message,omitempty"`
}

func (HmacRequest) GoString

func (s HmacRequest) GoString() string

func (*HmacRequest) SetHeaders

func (s *HmacRequest) SetHeaders(v map[string]*string) *HmacRequest

func (*HmacRequest) SetKeyId

func (s *HmacRequest) SetKeyId(v string) *HmacRequest

func (*HmacRequest) SetMessage

func (s *HmacRequest) SetMessage(v []byte) *HmacRequest

func (HmacRequest) String

func (s HmacRequest) String() string

type HmacResponse

type HmacResponse struct {
	Headers   map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId     *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Signature []byte             `json:"Signature,omitempty" xml:"Signature,omitempty"`
	RequestId *string            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (HmacResponse) GoString

func (s HmacResponse) GoString() string

func (*HmacResponse) SetHeaders

func (s *HmacResponse) SetHeaders(v map[string]*string) *HmacResponse

func (*HmacResponse) SetKeyId

func (s *HmacResponse) SetKeyId(v string) *HmacResponse

func (*HmacResponse) SetRequestId

func (s *HmacResponse) SetRequestId(v string) *HmacResponse

func (*HmacResponse) SetSignature

func (s *HmacResponse) SetSignature(v []byte) *HmacResponse

func (HmacResponse) String

func (s HmacResponse) String() string

type SignRequest

type SignRequest struct {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	Digest      []byte             `json:"Digest,omitempty" xml:"Digest,omitempty"`
	Message     []byte             `json:"Message,omitempty" xml:"Message,omitempty"`
	MessageType *string            `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
}

func (SignRequest) GoString

func (s SignRequest) GoString() string

func (*SignRequest) SetAlgorithm

func (s *SignRequest) SetAlgorithm(v string) *SignRequest

func (*SignRequest) SetDigest

func (s *SignRequest) SetDigest(v []byte) *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 {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Signature   []byte             `json:"Signature,omitempty" xml:"Signature,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	MessageType *string            `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	RequestId   *string            `json:"RequestId,omitempty" xml:"RequestId,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 {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Signature   []byte             `json:"Signature,omitempty" xml:"Signature,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	Digest      []byte             `json:"Digest,omitempty" xml:"Digest,omitempty"`
	Message     []byte             `json:"Message,omitempty" xml:"Message,omitempty"`
	MessageType *string            `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
}

func (VerifyRequest) GoString

func (s VerifyRequest) GoString() string

func (*VerifyRequest) SetAlgorithm

func (s *VerifyRequest) SetAlgorithm(v string) *VerifyRequest

func (*VerifyRequest) SetDigest

func (s *VerifyRequest) SetDigest(v []byte) *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 {
	Headers     map[string]*string `json:"Headers,omitempty" xml:"Headers,omitempty"`
	KeyId       *string            `json:"KeyId,omitempty" xml:"KeyId,omitempty"`
	Value       *bool              `json:"Value,omitempty" xml:"Value,omitempty"`
	Algorithm   *string            `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	MessageType *string            `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	RequestId   *string            `json:"RequestId,omitempty" xml:"RequestId,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

Jump to

Keyboard shortcuts

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