public static interface GetPublicKeyResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyResponse.Builder,GetPublicKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetPublicKeyResponse.Builder |
customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
The type of the of the public key that was downloaded.
|
GetPublicKeyResponse.Builder |
customerMasterKeySpec(String customerMasterKeySpec)
The type of the of the public key that was downloaded.
|
GetPublicKeyResponse.Builder |
encryptionAlgorithms(Collection<EncryptionAlgorithmSpec> encryptionAlgorithms)
The encryption algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
encryptionAlgorithms(EncryptionAlgorithmSpec... encryptionAlgorithms)
The encryption algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
encryptionAlgorithmsWithStrings(Collection<String> encryptionAlgorithms)
The encryption algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
encryptionAlgorithmsWithStrings(String... encryptionAlgorithms)
The encryption algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
keyId(String keyId)
The Amazon Resource Name (key ARN) of the
asymmetric CMK from which the public key was downloaded.
|
GetPublicKeyResponse.Builder |
keyUsage(KeyUsageType keyUsage)
The permitted use of the public key.
|
GetPublicKeyResponse.Builder |
keyUsage(String keyUsage)
The permitted use of the public key.
|
GetPublicKeyResponse.Builder |
publicKey(SdkBytes publicKey)
The exported public key.
|
GetPublicKeyResponse.Builder |
signingAlgorithms(Collection<SigningAlgorithmSpec> signingAlgorithms)
The signing algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
signingAlgorithms(SigningAlgorithmSpec... signingAlgorithms)
The signing algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
signingAlgorithmsWithStrings(Collection<String> signingAlgorithms)
The signing algorithms that AWS KMS supports for this key.
|
GetPublicKeyResponse.Builder |
signingAlgorithmsWithStrings(String... signingAlgorithms)
The signing algorithms that AWS KMS supports for this key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetPublicKeyResponse.Builder keyId(String keyId)
The Amazon Resource Name (key ARN) of the asymmetric CMK from which the public key was downloaded.
keyId - The Amazon Resource Name (key ARN)
of the asymmetric CMK from which the public key was downloaded.GetPublicKeyResponse.Builder publicKey(SdkBytes publicKey)
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.
publicKey - 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.
GetPublicKeyResponse.Builder customerMasterKeySpec(String customerMasterKeySpec)
The type of the of the public key that was downloaded.
customerMasterKeySpec - The type of the of the public key that was downloaded.CustomerMasterKeySpec,
CustomerMasterKeySpecGetPublicKeyResponse.Builder customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
The type of the of the public key that was downloaded.
customerMasterKeySpec - The type of the of the public key that was downloaded.CustomerMasterKeySpec,
CustomerMasterKeySpecGetPublicKeyResponse.Builder keyUsage(String keyUsage)
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.
keyUsage - 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.
KeyUsageType,
KeyUsageTypeGetPublicKeyResponse.Builder keyUsage(KeyUsageType keyUsage)
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.
keyUsage - 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.
KeyUsageType,
KeyUsageTypeGetPublicKeyResponse.Builder encryptionAlgorithmsWithStrings(Collection<String> encryptionAlgorithms)
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.
encryptionAlgorithms - 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.
GetPublicKeyResponse.Builder encryptionAlgorithmsWithStrings(String... encryptionAlgorithms)
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.
encryptionAlgorithms - 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.
GetPublicKeyResponse.Builder encryptionAlgorithms(Collection<EncryptionAlgorithmSpec> encryptionAlgorithms)
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.
encryptionAlgorithms - 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.
GetPublicKeyResponse.Builder encryptionAlgorithms(EncryptionAlgorithmSpec... encryptionAlgorithms)
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.
encryptionAlgorithms - 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.
GetPublicKeyResponse.Builder signingAlgorithmsWithStrings(Collection<String> signingAlgorithms)
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.
signingAlgorithms - 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.
GetPublicKeyResponse.Builder signingAlgorithmsWithStrings(String... signingAlgorithms)
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.
signingAlgorithms - 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.
GetPublicKeyResponse.Builder signingAlgorithms(Collection<SigningAlgorithmSpec> signingAlgorithms)
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.
signingAlgorithms - 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.
GetPublicKeyResponse.Builder signingAlgorithms(SigningAlgorithmSpec... signingAlgorithms)
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.
signingAlgorithms - 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.
Copyright © 2021. All rights reserved.