Class: Aws::KMS::Types::SignResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The Amazon Resource Name ([key ARN]) of the asymmetric KMS key that was used to sign the message.

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN

Returns:

  • (String)


6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-kms/types.rb', line 6008

class SignResponse < Struct.new(
  :key_id,
  :signature,
  :signing_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#signatureString

The cryptographic signature that was generated for the message.

  • When used with the supported RSA signing algorithms, the encoding of this value is defined by [PKCS #1 in RFC 8017].

  • When used with the ‘ECDSA_SHA_256`, `ECDSA_SHA_384`, or `ECDSA_SHA_512` signing algorithms, this value is a DER-encoded object as defined by ANSI X9.62–2005 and [RFC 3279 Section 2.2.3]. This is the most commonly used signature format and is appropriate for most uses.

When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

[1]: tools.ietf.org/html/rfc8017 [2]: tools.ietf.org/html/rfc3279#section-2.2.3

Returns:

  • (String)


6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-kms/types.rb', line 6008

class SignResponse < Struct.new(
  :key_id,
  :signature,
  :signing_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#signing_algorithmString

The signing algorithm that was used to sign the message.

Returns:

  • (String)


6008
6009
6010
6011
6012
6013
6014
# File 'lib/aws-sdk-kms/types.rb', line 6008

class SignResponse < Struct.new(
  :key_id,
  :signature,
  :signing_algorithm)
  SENSITIVE = []
  include Aws::Structure
end