Show / Hide Table of Contents

Class CfnKey.KeyAttributesProperty

The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.

Inheritance
object
CfnKey.KeyAttributesProperty
Implements
CfnKey.IKeyAttributesProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html

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

string

Remarks

For symmetric keys, AWS Payment Cryptography supports AES and TDES algorithms. For asymmetric keys, AWS Payment Cryptography supports RSA and ECC_NIST algorithms.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyalgorithm

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyclass

KeyModesOfUse

The list of cryptographic operations that you can perform using the key.

public object KeyModesOfUse { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keymodesofuse

Type union: either IResolvable or CfnKey.IKeyModesOfUseProperty

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; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyusage

Implements

CfnKey.IKeyAttributesProperty
Back to top Generated by DocFX