Class CfnKey.KeyAttributesProperty
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.PaymentCryptography
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnKey.KeyAttributesProperty : CfnKey.IKeyAttributesProperty
Syntax (vb)
Public Class CfnKey.KeyAttributesProperty Implements CfnKey.IKeyAttributesProperty
Remarks
This data is immutable after the key is created.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PaymentCryptography;
var keyAttributesProperty = new KeyAttributesProperty {
KeyAlgorithm = "keyAlgorithm",
KeyClass = "keyClass",
KeyModesOfUse = new KeyModesOfUseProperty {
Decrypt = false,
DeriveKey = false,
Encrypt = false,
Generate = false,
NoRestrictions = false,
Sign = false,
Unwrap = false,
Verify = false,
Wrap = false
},
KeyUsage = "keyUsage"
};
Synopsis
Constructors
| KeyAttributesProperty() | The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. |
Properties
| KeyAlgorithm | The key algorithm to be use during creation of an AWS Payment Cryptography key. |
| KeyClass | 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. |
| KeyModesOfUse | The list of cryptographic operations that you can perform using the key. |
| KeyUsage | The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec. |
Constructors
KeyAttributesProperty()
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
public KeyAttributesProperty()
Remarks
This data is immutable after the key is created.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PaymentCryptography;
var keyAttributesProperty = new KeyAttributesProperty {
KeyAlgorithm = "keyAlgorithm",
KeyClass = "keyClass",
KeyModesOfUse = new KeyModesOfUseProperty {
Decrypt = false,
DeriveKey = false,
Encrypt = false,
Generate = false,
NoRestrictions = false,
Sign = false,
Unwrap = false,
Verify = false,
Wrap = false
},
KeyUsage = "keyUsage"
};
Properties
KeyAlgorithm
The key algorithm to be use during creation of an AWS Payment Cryptography key.
public string KeyAlgorithm { get; set; }
Property Value
Remarks
For symmetric keys, AWS Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, AWS Payment Cryptography supports RSA and ECC_NIST algorithms.
KeyClass
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.
public string KeyClass { get; set; }
Property Value
Remarks
KeyModesOfUse
The list of cryptographic operations that you can perform using the key.
public object KeyModesOfUse { get; set; }
Property Value
Remarks
KeyUsage
The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
public string KeyUsage { get; set; }