Struct: kms.InvalidCiphertextException
Overview
From the Decrypt or ReEncrypt operation, the request was rejected because the specified ciphertext, or additional authenticated data incorporated into the ciphertext, such as the encryption context, is corrupted, missing, or otherwise invalid.
From the ImportKeyMaterial operation, the request was rejected because AWS KMS could not decrypt the encrypted (wrapped) key material.
Implemented Interfaces
s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom
Structure Field Summary collapse
Service Operations collapse
-
Code() string
operation
Code returns the exception type name.
- Error() string operation
-
GoString() string
operation
GoString returns the string representation.
-
Message() string
operation
Message returns the exception's message.
-
OrigErr() error
operation
OrigErr always returns nil, satisfies awserr.Error interface.
-
RequestID() string
operation
RequestID returns the service's response RequestID for request.
-
StatusCode() int
operation
Status code returns the HTTP status code for the request's response error.
-
String() string
operation
String returns the string representation.
Structure Field Details
Message_ *string
`locationName:"message" type:"string"`
RespMetadata protocol.ResponseMetadata
`json:"-" xml:"-"`
_ struct{}
`type:"structure"`
Method Details
func (s *InvalidCiphertextException) Code() string
Code returns the exception type name.
13658 13659 13660 |
// File 'service/kms/api.go', line 13658
|
func (s *InvalidCiphertextException) Error() string
13675 13676 13677 |
// File 'service/kms/api.go', line 13675
|
func (s InvalidCiphertextException) 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”.
13647 13648 13649 |
// File 'service/kms/api.go', line 13647
|
func (s *InvalidCiphertextException) Message() string
Message returns the exception's message.
13663 13664 13665 13666 13667 13668 |
// File 'service/kms/api.go', line 13663
|
func (s *InvalidCiphertextException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
13671 13672 13673 |
// File 'service/kms/api.go', line 13671
|
func (s *InvalidCiphertextException) RequestID() string
RequestID returns the service's response RequestID for request.
13685 13686 13687 |
// File 'service/kms/api.go', line 13685
|
func (s *InvalidCiphertextException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
13680 13681 13682 |
// File 'service/kms/api.go', line 13680
|
func (s InvalidCiphertextException) 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”.
13638 13639 13640 |
// File 'service/kms/api.go', line 13638
|