| 1 | |||
| 2 | package Paws::KMS::SignResponse; | ||
| 3 | use Moose; | ||
| 4 | has KeyId => (is => 'ro', isa => 'Str'); | ||
| 5 | has Signature => (is => 'ro', isa => 'Str'); | ||
| 6 | has SigningAlgorithm => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::KMS::SignResponse | ||
| 15 | |||
| 16 | =head1 ATTRIBUTES | ||
| 17 | |||
| 18 | |||
| 19 | =head2 KeyId => Str | ||
| 20 | |||
| 21 | The Amazon Resource Name (key ARN | ||
| 22 | (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) | ||
| 23 | of the asymmetric CMK that was used to sign the message. | ||
| 24 | |||
| 25 | |||
| 26 | =head2 Signature => Str | ||
| 27 | |||
| 28 | The cryptographic signature that was generated for the message. | ||
| 29 | |||
| 30 | =over | ||
| 31 | |||
| 32 | =item * | ||
| 33 | |||
| 34 | When used with the supported RSA signing algorithms, the encoding of | ||
| 35 | this value is defined by PKCS #1 in RFC 8017 | ||
| 36 | (https://tools.ietf.org/html/rfc8017). | ||
| 37 | |||
| 38 | =item * | ||
| 39 | |||
| 40 | When used with the C<ECDSA_SHA_256>, C<ECDSA_SHA_384>, or | ||
| 41 | C<ECDSA_SHA_512> signing algorithms, this value is a DER-encoded object | ||
| 42 | as defined by ANS X9.62E<ndash>2005 and RFC 3279 Section 2.2.3 | ||
| 43 | (https://tools.ietf.org/html/rfc3279#section-2.2.3). This is the most | ||
| 44 | commonly used signature format and is appropriate for most uses. | ||
| 45 | |||
| 46 | =back | ||
| 47 | |||
| 48 | When you use the HTTP API or the AWS CLI, the value is Base64-encoded. | ||
| 49 | Otherwise, it is not Base64-encoded. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 SigningAlgorithm => Str | ||
| 53 | |||
| 54 | The signing algorithm that was used to sign the message. | ||
| 55 | |||
| 56 | Valid values are: C<"RSASSA_PSS_SHA_256">, C<"RSASSA_PSS_SHA_384">, C<"RSASSA_PSS_SHA_512">, C<"RSASSA_PKCS1_V1_5_SHA_256">, C<"RSASSA_PKCS1_V1_5_SHA_384">, C<"RSASSA_PKCS1_V1_5_SHA_512">, C<"ECDSA_SHA_256">, C<"ECDSA_SHA_384">, C<"ECDSA_SHA_512"> | ||
| 57 | =head2 _request_id => Str | ||
| 58 | |||
| 59 | |||
| 60 | =cut | ||
| 61 | |||
| 62 | 1; |