interface KeyModesOfUseProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_paymentcryptography.CfnKey.KeyModesOfUseProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awspaymentcryptography#CfnKey_KeyModesOfUseProperty |
![]() | software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty |
![]() | aws_cdk.aws_paymentcryptography.CfnKey.KeyModesOfUseProperty |
![]() | aws-cdk-lib » aws_paymentcryptography » CfnKey » KeyModesOfUseProperty |
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 { aws_paymentcryptography as paymentcryptography } from 'aws-cdk-lib';
const keyModesOfUseProperty: paymentcryptography.CfnKey.KeyModesOfUseProperty = {
decrypt: false,
deriveKey: false,
encrypt: false,
generate: false,
noRestrictions: false,
sign: false,
unwrap: false,
verify: false,
wrap: false,
};
Properties
Name | Type | Description |
---|---|---|
decrypt? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to decrypt data. |
derive | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to derive new keys. |
encrypt? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to encrypt data. |
generate? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys. |
no | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage . |
sign? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used for signing. |
unwrap? | boolean | IResolvable | |
verify? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to verify signatures. |
wrap? | boolean | IResolvable | Specifies whether an AWS Payment Cryptography key can be used to wrap other keys. |
decrypt?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to decrypt data.
deriveKey?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to derive new keys.
encrypt?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to encrypt data.
generate?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
noRestrictions?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage
.
sign?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used for signing.
unwrap?
Type:
boolean |
IResolvable
(optional, default: false)
verify?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to verify signatures.
wrap?
Type:
boolean |
IResolvable
(optional, default: false)
Specifies whether an AWS Payment Cryptography key can be used to wrap other keys.