Class CfnTemplate.KeyUsageProperty
The key usage extension defines the purpose (e.g., encipherment, signature) of the key contained in the certificate.
Inheritance
Implements
Namespace: Amazon.CDK.AwsPcaconnectorad
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeyUsageProperty : Object, CfnTemplate.IKeyUsageProperty
Syntax (vb)
Public Class KeyUsageProperty
Inherits Object
Implements CfnTemplate.IKeyUsageProperty
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 keyUsageProperty = new KeyUsageProperty {
UsageFlags = new KeyUsageFlagsProperty {
DataEncipherment = false,
DigitalSignature = false,
KeyAgreement = false,
KeyEncipherment = false,
NonRepudiation = false
},
// the properties below are optional
Critical = false
};
Synopsis
Constructors
Key |
Properties
Critical | Sets the key usage extension to critical. |
Usage |
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate. |
Constructors
KeyUsageProperty()
public KeyUsageProperty()
Properties
Critical
Sets the key usage extension to critical.
public object Critical { get; set; }
Property Value
System.
Remarks
UsageFlags
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.
public object UsageFlags { get; set; }
Property Value
System.