class
Amazonite::Kms::GetPublicKeyResponse
- Amazonite::Kms::GetPublicKeyResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/get_public_key_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(key_id : String | Nil = nil, public_key : Bytes | Nil = nil, customer_master_key_spec : CustomerMasterKeySpec | Nil = nil, key_spec : KeySpec | Nil = nil, key_usage : KeyUsageType | Nil = nil, encryption_algorithms : Array(EncryptionAlgorithmSpec) | Nil = nil, signing_algorithms : Array(SigningAlgorithmSpec) | Nil = nil, key_agreement_algorithms : Array(KeyAgreementAlgorithmSpec) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#customer_master_key_spec : CustomerMasterKeySpec | Nil
Instead, use the
KeySpecfield in theGetPublicKeyresponse. -
#customer_master_key_spec=(customer_master_key_spec : CustomerMasterKeySpec | Nil)
Instead, use the
KeySpecfield in theGetPublicKeyresponse. -
#encryption_algorithms : Array(EncryptionAlgorithmSpec) | Nil
The encryption algorithms that KMS supports for this key.
-
#encryption_algorithms=(encryption_algorithms : Array(EncryptionAlgorithmSpec) | Nil)
The encryption algorithms that KMS supports for this key.
-
#hash(hasher)
See
Object#hash(hasher) -
#key_agreement_algorithms : Array(KeyAgreementAlgorithmSpec) | Nil
The key agreement algorithm used to derive a shared secret.
-
#key_agreement_algorithms=(key_agreement_algorithms : Array(KeyAgreementAlgorithmSpec) | Nil)
The key agreement algorithm used to derive a shared secret.
-
#key_id : String | Nil
The Amazon Resource Name (key ARN) of the asymmetric KMS key from which the public key was downloaded.
-
#key_id=(key_id : String | Nil)
The Amazon Resource Name (key ARN) of the asymmetric KMS key from which the public key was downloaded.
-
#key_spec : KeySpec | Nil
The type of the of the public key that was downloaded.
-
#key_spec=(key_spec : KeySpec | Nil)
The type of the of the public key that was downloaded.
-
#key_usage : KeyUsageType | Nil
The permitted use of the public key.
-
#key_usage=(key_usage : KeyUsageType | Nil)
The permitted use of the public key.
-
#public_key : Bytes | Nil
The exported public key.
-
#public_key=(public_key : Bytes | Nil)
The exported public key.
-
#signing_algorithms : Array(SigningAlgorithmSpec) | Nil
The signing algorithms that KMS supports for this key.
-
#signing_algorithms=(signing_algorithms : Array(SigningAlgorithmSpec) | Nil)
The signing algorithms that KMS supports for this key.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Instead, use the KeySpec field in the GetPublicKey response.
The KeySpec and CustomerMasterKeySpec fields have the same value. We recommend that you use
the KeySpec field in your code. However, to avoid breaking changes, KMS supports both fields.
Instead, use the KeySpec field in the GetPublicKey response.
The KeySpec and CustomerMasterKeySpec fields have the same value. We recommend that you use
the KeySpec field in your code. However, to avoid breaking changes, KMS supports both fields.
The encryption algorithms that KMS supports for this key.
This information is critical. If a public key encrypts data outside of 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.
The encryption algorithms that KMS supports for this key.
This information is critical. If a public key encrypts data outside of 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.
The key agreement algorithm used to derive a shared secret. This field is present only when the
KMS key has a KeyUsage value of KEY_AGREEMENT.
The key agreement algorithm used to derive a shared secret. This field is present only when the
KMS key has a KeyUsage value of KEY_AGREEMENT.
The Amazon Resource Name (key ARN) of the asymmetric KMS key from which the public key was downloaded.
The Amazon Resource Name (key ARN) of the asymmetric KMS key from which the public key was downloaded.
The type of the of the public key that was downloaded.
The permitted use of the public key. Valid values for asymmetric key pairs are
ENCRYPT_DECRYPT, SIGN_VERIFY, and KEY_AGREEMENT.
This information is critical. For example, if a public key with SIGN_VERIFY key usage encrypts
data outside of KMS, the ciphertext cannot be decrypted.
The permitted use of the public key. Valid values for asymmetric key pairs are
ENCRYPT_DECRYPT, SIGN_VERIFY, and KEY_AGREEMENT.
This information is critical. For example, if a public key with SIGN_VERIFY key usage encrypts
data outside of KMS, the ciphertext cannot be decrypted.
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
Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
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
Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
The signing algorithms that KMS supports for this key.
This field appears in the response only when the KeyUsage of the public key is SIGN_VERIFY.
The signing algorithms that KMS supports for this key.
This field appears in the response only when the KeyUsage of the public key is SIGN_VERIFY.