Struct: kms.KMSInvalidSignatureException

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

Overview

The request was rejected because the signature verification failed. Signature verification fails when it cannot confirm that signature was produced by signing the specified message with the specified CMK and signing algorithm.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *KMSInvalidSignatureException) Code() string

Code returns the exception type name.



14127
14128
14129
// File 'service/kms/api.go', line 14127

func (s *KMSInvalidSignatureException) Error() string



14144
14145
14146
// File 'service/kms/api.go', line 14144

func (s *KMSInvalidSignatureException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

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



14116
14117
14118
// File 'service/kms/api.go', line 14116

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

func (s *KMSInvalidSignatureException) Message() string

Message returns the exception's message.



14132
14133
14134
14135
14136
14137
// File 'service/kms/api.go', line 14132

func (s *KMSInvalidSignatureException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *KMSInvalidSignatureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



14140
14141
14142
// File 'service/kms/api.go', line 14140

func (s *KMSInvalidSignatureException) OrigErr() error { return nil }

func (s *KMSInvalidSignatureException) RequestID() string

RequestID returns the service's response RequestID for request.



14154
14155
14156
// File 'service/kms/api.go', line 14154

func (s *KMSInvalidSignatureException) RequestID() string { return s.RespMetadata.RequestID }

func (s *KMSInvalidSignatureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



14149
14150
14151
// File 'service/kms/api.go', line 14149

func (s *KMSInvalidSignatureException) StatusCode() int { return s.RespMetadata.StatusCode }

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



14107
14108
14109
// File 'service/kms/api.go', line 14107

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