Class: Aws::KMS::Types::GetPublicKeyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::GetPublicKeyResponse
- Defined in:
- gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#customer_master_key_spec ⇒ String
The type of the of the public key that was downloaded.
-
#encryption_algorithms ⇒ Array<String>
The encryption algorithms that AWS KMS supports for this key.
-
#key_id ⇒ String
The Amazon Resource Name ([key ARN][1]) of the asymmetric CMK from which the public key was downloaded.
-
#key_usage ⇒ String
The permitted use of the public key.
-
#public_key ⇒ String
The exported public key.
-
#signing_algorithms ⇒ Array<String>
The signing algorithms that AWS KMS supports for this key.
Instance Attribute Details
#customer_master_key_spec ⇒ String
The type of the of the public key that was downloaded.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |
#encryption_algorithms ⇒ Array<String>
The encryption algorithms that AWS KMS supports for this key.
This information is critical. If a public key encrypts data outside of AWS KMS by using an unsupported encryption algorithm, the ciphertext cannot be decrypted.
This field appears in the response only when the KeyUsage
of the
public key is ENCRYPT_DECRYPT
.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |
#key_id ⇒ String
The Amazon Resource Name (key ARN) of the asymmetric CMK from which the public key was downloaded.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |
#key_usage ⇒ String
The permitted use of the public key. Valid values are
ENCRYPT_DECRYPT
or SIGN_VERIFY
.
This information is critical. If a public key with SIGN_VERIFY
key
usage encrypts data outside of AWS KMS, the ciphertext cannot be
decrypted.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |
#public_key ⇒ String
The exported public key.
The value is a DER-encoded X.509 public key, also known as
SubjectPublicKeyInfo
(SPKI), as defined in RFC 5280. When you
use the HTTP API or the AWS CLI, the value is Base64-encoded.
Otherwise, it is not Base64-encoded.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |
#signing_algorithms ⇒ Array<String>
The signing algorithms that AWS KMS supports for this key.
This field appears in the response only when the KeyUsage
of the
public key is SIGN_VERIFY
.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 2574 class GetPublicKeyResponse < Struct.new( :key_id, :public_key, :customer_master_key_spec, :key_usage, :encryption_algorithms, :signing_algorithms) SENSITIVE = [] include Aws::Structure end |