Interface CfnKey.KeyAttributesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKey.KeyAttributesProperty.Jsii$Proxy
- Enclosing class:
CfnKey
@Stability(Stable)
public static interface CfnKey.KeyAttributesProperty
extends software.amazon.jsii.JsiiSerializable
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
This data is immutable after the key is created.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.paymentcryptography.*;
KeyAttributesProperty keyAttributesProperty = KeyAttributesProperty.builder()
.keyAlgorithm("keyAlgorithm")
.keyClass("keyClass")
.keyModesOfUse(KeyModesOfUseProperty.builder()
.decrypt(false)
.deriveKey(false)
.encrypt(false)
.generate(false)
.noRestrictions(false)
.sign(false)
.unwrap(false)
.verify(false)
.wrap(false)
.build())
.keyUsage("keyUsage")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKey.KeyAttributesPropertystatic final classAn implementation forCfnKey.KeyAttributesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The key algorithm to be use during creation of an AWS Payment Cryptography key.The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.The list of cryptographic operations that you can perform using the key.The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyAlgorithm
The key algorithm to be use during creation of an AWS Payment Cryptography key.For symmetric keys, AWS Payment Cryptography supports
AESandTDESalgorithms. For asymmetric keys, AWS Payment Cryptography supportsRSAandECC_NISTalgorithms.- See Also:
-
getKeyClass
The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.- See Also:
-
getKeyModesOfUse
The list of cryptographic operations that you can perform using the key.Returns union: either
IResolvableorCfnKey.KeyModesOfUseProperty- See Also:
-
getKeyUsage
The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.- See Also:
-
builder
-