Interface CfnKey.KeyModesOfUseProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKey.KeyModesOfUseProperty.Jsii$Proxy
- Enclosing class:
CfnKey
@Stability(Stable)
public static interface CfnKey.KeyModesOfUseProperty
extends software.amazon.jsii.JsiiSerializable
The list of cryptographic operations that you can perform using the key.
The modes of use are defined in section A.5.3 of the TR-31 spec.
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.*;
KeyModesOfUseProperty keyModesOfUseProperty = KeyModesOfUseProperty.builder()
.decrypt(false)
.deriveKey(false)
.encrypt(false)
.generate(false)
.noRestrictions(false)
.sign(false)
.unwrap(false)
.verify(false)
.wrap(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKey.KeyModesOfUsePropertystatic final classAn implementation forCfnKey.KeyModesOfUseProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether an AWS Payment Cryptography key can be used to decrypt data.default ObjectSpecifies whether an AWS Payment Cryptography key can be used to derive new keys.default ObjectSpecifies whether an AWS Payment Cryptography key can be used to encrypt data.default ObjectSpecifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.default ObjectSpecifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied byKeyUsage.default ObjectgetSign()Specifies whether an AWS Payment Cryptography key can be used for signing.default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectSpecifies whether an AWS Payment Cryptography key can be used to verify signatures.default ObjectgetWrap()Specifies whether an AWS Payment Cryptography key can be used to wrap other keys.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDecrypt
Specifies whether an AWS Payment Cryptography key can be used to decrypt data.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getDeriveKey
Specifies whether an AWS Payment Cryptography key can be used to derive new keys.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getEncrypt
Specifies whether an AWS Payment Cryptography key can be used to encrypt data.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getGenerate
Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getNoRestrictions
Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied byKeyUsage.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getSign
Specifies whether an AWS Payment Cryptography key can be used for signing.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getUnwrap
- See Also:
-
getVerify
Specifies whether an AWS Payment Cryptography key can be used to verify signatures.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getWrap
Specifies whether an AWS Payment Cryptography key can be used to wrap other keys.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
builder
-