Class CfnTemplatePropsMixin.PrivateKeyAttributesV3Property
Defines the attributes of the private key.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.PCAConnectorAD
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTemplatePropsMixin.PrivateKeyAttributesV3Property : CfnTemplatePropsMixin.IPrivateKeyAttributesV3Property
Syntax (vb)
Public Class CfnTemplatePropsMixin.PrivateKeyAttributesV3Property Implements CfnTemplatePropsMixin.IPrivateKeyAttributesV3Property
Remarks
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.CfnPropertyMixins.AWS.PCAConnectorAD;
var privateKeyAttributesV3Property = new PrivateKeyAttributesV3Property {
Algorithm = "algorithm",
CryptoProviders = new [] { "cryptoProviders" },
KeySpec = "keySpec",
KeyUsageProperty = new KeyUsagePropertyProperty {
PropertyFlags = new KeyUsagePropertyFlagsProperty {
Decrypt = false,
KeyAgreement = false,
Sign = false
},
PropertyType = "propertyType"
},
MinimalKeyLength = 123
};
Synopsis
Constructors
| PrivateKeyAttributesV3Property() | Defines the attributes of the private key. |
Properties
| Algorithm | Defines the algorithm used to generate the private key. |
| CryptoProviders | Defines the cryptographic providers used to generate the private key. |
| KeySpec | Defines the purpose of the private key. |
| KeyUsageProperty | The key usage property defines the purpose of the private key contained in the certificate. |
| MinimalKeyLength | Set the minimum key length of the private key. |
Constructors
PrivateKeyAttributesV3Property()
Defines the attributes of the private key.
public PrivateKeyAttributesV3Property()
Remarks
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.CfnPropertyMixins.AWS.PCAConnectorAD;
var privateKeyAttributesV3Property = new PrivateKeyAttributesV3Property {
Algorithm = "algorithm",
CryptoProviders = new [] { "cryptoProviders" },
KeySpec = "keySpec",
KeyUsageProperty = new KeyUsagePropertyProperty {
PropertyFlags = new KeyUsagePropertyFlagsProperty {
Decrypt = false,
KeyAgreement = false,
Sign = false
},
PropertyType = "propertyType"
},
MinimalKeyLength = 123
};
Properties
Algorithm
Defines the algorithm used to generate the private key.
public string? Algorithm { get; set; }
Property Value
Remarks
CryptoProviders
Defines the cryptographic providers used to generate the private key.
public string[]? CryptoProviders { get; set; }
Property Value
string[]
Remarks
KeySpec
Defines the purpose of the private key.
public string? KeySpec { get; set; }
Property Value
Remarks
Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
KeyUsageProperty
The key usage property defines the purpose of the private key contained in the certificate.
public object? KeyUsageProperty { get; set; }
Property Value
Remarks
You can specify specific purposes using property flags or all by using property type ALL.
Type union: either IResolvable or CfnTemplatePropsMixin.IKeyUsagePropertyProperty
MinimalKeyLength
Set the minimum key length of the private key.
public double? MinimalKeyLength { get; set; }