AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ReEncryptOutput

import "github.com/aws/aws-sdk-go/service/kms"

type ReEncryptOutput struct { CiphertextBlob []byte `min:"1" type:"blob"` KeyId *string `min:"1" type:"string"` SourceKeyId *string `min:"1" type:"string"` }

CiphertextBlob

Type: []byte

The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.

CiphertextBlob is automatically base64 encoded/decoded by the SDK.

KeyId

Type: *string

Unique identifier of the CMK used to reencrypt the data.

SourceKeyId

Type: *string

Unique identifier of the CMK used to originally encrypt the data.

Method

GoString

func (s ReEncryptOutput) GoString() string

GoString returns the string representation

SetCiphertextBlob

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

SetCiphertextBlob sets the CiphertextBlob field's value.

SetKeyId

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

SetKeyId sets the KeyId field's value.

SetSourceKeyId

func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput

SetSourceKeyId sets the SourceKeyId field's value.

String

func (s ReEncryptOutput) String() string

String returns the string representation

On this page: