Struct: kms.EncryptOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
CiphertextBlob []byte
The encrypted plaintext.
-
EncryptionAlgorithm *string
The encryption algorithm that was used to encrypt the plaintext.
-
KeyId *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{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetCiphertextBlob([]byte) *EncryptOutput
operation
SetCiphertextBlob sets the CiphertextBlob field's value.
-
SetEncryptionAlgorithm(string) *EncryptOutput
operation
SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.
-
SetKeyId(string) *EncryptOutput
operation
SetKeyId sets the KeyId field's value.
-
String() string
operation
String returns the string representation.
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) 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) 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) 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) 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
|