Struct: kms.ReEncryptOutput

import "../ibm-cos-sdk-go/service/kms"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CiphertextBlob []byte `min:"1" type:"blob"`

The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. CiphertextBlob is automatically base64 encoded/decoded by the SDK.

DestinationEncryptionAlgorithm *string `type:"string" enum:"EncryptionAlgorithmSpec"`

The encryption algorithm that was used to reencrypt the data.

KeyId *string `min:"1" type:"string"`

The Amazon Resource Name (key ARN (docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) of the KMS key that was used to reencrypt the data.

SourceEncryptionAlgorithm *string `type:"string" enum:"EncryptionAlgorithmSpec"`

The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.

SourceKeyId *string `min:"1" type:"string"`

Unique identifier of the KMS key used to originally encrypt the data.

_ struct{} `type:"structure"`

Method Details

func (s ReEncryptOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



15939
15940
15941
// File 'service/kms/api.go', line 15939

func (s ReEncryptOutput) GoString() string { return s.String() }

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

SetCiphertextBlob sets the CiphertextBlob field's value.



15944
15945
15946
15947
// File 'service/kms/api.go', line 15944

func (s *ReEncryptOutput) SetCiphertextBlob(v []byte) *ReEncryptOutput { s.CiphertextBlob = v return s }

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

SetDestinationEncryptionAlgorithm sets the DestinationEncryptionAlgorithm field's value.



15950
15951
15952
15953
// File 'service/kms/api.go', line 15950

func (s *ReEncryptOutput) SetDestinationEncryptionAlgorithm(v string) *ReEncryptOutput { s.DestinationEncryptionAlgorithm = &v return s }

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

SetKeyId sets the KeyId field's value.



15956
15957
15958
15959
// File 'service/kms/api.go', line 15956

func (s *ReEncryptOutput) SetKeyId(v string) *ReEncryptOutput { s.KeyId = &v return s }

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

SetSourceEncryptionAlgorithm sets the SourceEncryptionAlgorithm field's value.



15962
15963
15964
15965
// File 'service/kms/api.go', line 15962

func (s *ReEncryptOutput) SetSourceEncryptionAlgorithm(v string) *ReEncryptOutput { s.SourceEncryptionAlgorithm = &v return s }

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

SetSourceKeyId sets the SourceKeyId field's value.



15968
15969
15970
15971
// File 'service/kms/api.go', line 15968

func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput { s.SourceKeyId = &v return s }

func (s ReEncryptOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



15930
15931
15932
// File 'service/kms/api.go', line 15930

func (s ReEncryptOutput) String() string { return awsutil.Prettify(s) }