Interface CfnTemplate.PrivateKeyAttributesV3Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.PrivateKeyAttributesV3Property.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.PrivateKeyAttributesV3Property
extends software.amazon.jsii.JsiiSerializable
Defines the attributes of the private key.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pcaconnectorad.*; PrivateKeyAttributesV3Property privateKeyAttributesV3Property = PrivateKeyAttributesV3Property.builder() .algorithm("algorithm") .keySpec("keySpec") .keyUsageProperty(KeyUsagePropertyProperty.builder() .propertyFlags(KeyUsagePropertyFlagsProperty.builder() .decrypt(false) .keyAgreement(false) .sign(false) .build()) .propertyType("propertyType") .build()) .minimalKeyLength(123) // the properties below are optional .cryptoProviders(List.of("cryptoProviders")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.PrivateKeyAttributesV3Property
static final class
An implementation forCfnTemplate.PrivateKeyAttributesV3Property
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Defines the algorithm used to generate the private key.Defines the cryptographic providers used to generate the private key.Defines the purpose of the private key.The key usage property defines the purpose of the private key contained in the certificate.Set the minimum key length of the private key.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlgorithm
Defines the algorithm used to generate the private key.- See Also:
-
getKeySpec
Defines the purpose of the private key.Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
- See Also:
-
getKeyUsageProperty
The key usage property defines the purpose of the private key contained in the certificate.You can specify specific purposes using property flags or all by using property type ALL.
- See Also:
-
getMinimalKeyLength
Set the minimum key length of the private key.- See Also:
-
getCryptoProviders
Defines the cryptographic providers used to generate the private key.- See Also:
-
builder
-