Struct: kms.EncryptOutput

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 encrypted plaintext. 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.

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

The encryption algorithm that was used to encrypt the plaintext.

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 encrypt the plaintext.

_ struct{} `type:"structure"`

Method Details

func (s EncryptOutput) 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”.



11339
11340
11341
// File 'service/kms/api.go', line 11339

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

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

SetCiphertextBlob sets the CiphertextBlob field's value.



11344
11345
11346
11347
// File 'service/kms/api.go', line 11344

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

func (s *EncryptOutput) SetEncryptionAlgorithm(v string) *EncryptOutput

SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.



11350
11351
11352
11353
// File 'service/kms/api.go', line 11350

func (s *EncryptOutput) SetEncryptionAlgorithm(v string) *EncryptOutput { s.EncryptionAlgorithm = &v return s }

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

SetKeyId sets the KeyId field's value.



11356
11357
11358
11359
// File 'service/kms/api.go', line 11356

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

func (s EncryptOutput) 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”.



11330
11331
11332
// File 'service/kms/api.go', line 11330

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