Class CfnTemplate.PrivateKeyAttributesV4Property
Defines the attributes of the private key.
Inheritance
Implements
Namespace: Amazon.CDK.AwsPcaconnectorad
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateKeyAttributesV4Property : Object, CfnTemplate.IPrivateKeyAttributesV4Property
Syntax (vb)
Public Class PrivateKeyAttributesV4Property
Inherits Object
Implements CfnTemplate.IPrivateKeyAttributesV4Property
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.Aws_pcaconnectorad;
var privateKeyAttributesV4Property = new PrivateKeyAttributesV4Property {
KeySpec = "keySpec",
MinimalKeyLength = 123,
// the properties below are optional
Algorithm = "algorithm",
CryptoProviders = new [] { "cryptoProviders" },
KeyUsageProperty = new KeyUsagePropertyProperty {
PropertyFlags = new KeyUsagePropertyFlagsProperty {
Decrypt = false,
KeyAgreement = false,
Sign = false
},
PropertyType = "propertyType"
}
};
Synopsis
Constructors
PrivateKeyAttributesV4Property() |
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
PrivateKeyAttributesV4Property()
public PrivateKeyAttributesV4Property()
Properties
Algorithm
Defines the algorithm used to generate the private key.
public string Algorithm { get; set; }
Property Value
System.String
Remarks
CryptoProviders
Defines the cryptographic providers used to generate the private key.
public string[] CryptoProviders { get; set; }
Property Value
System.String[]
Remarks
KeySpec
Defines the purpose of the private key.
public string KeySpec { get; set; }
Property Value
System.String
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
System.Object
Remarks
You can specify specific purposes using property flags or all by using property type ALL.
MinimalKeyLength
Set the minimum key length of the private key.
public double MinimalKeyLength { get; set; }
Property Value
System.Double