Interface CfnTemplate.PrivateKeyAttributesV4Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.PrivateKeyAttributesV4Property.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.PrivateKeyAttributesV4Property
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.*; PrivateKeyAttributesV4Property privateKeyAttributesV4Property = PrivateKeyAttributesV4Property.builder() .keySpec("keySpec") .minimalKeyLength(123) // the properties below are optional .algorithm("algorithm") .cryptoProviders(List.of("cryptoProviders")) .keyUsageProperty(KeyUsagePropertyProperty.builder() .propertyFlags(KeyUsagePropertyFlagsProperty.builder() .decrypt(false) .keyAgreement(false) .sign(false) .build()) .propertyType("propertyType") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.PrivateKeyAttributesV4Property
static final class
An implementation forCfnTemplate.PrivateKeyAttributesV4Property
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
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.default Object
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
-
getKeySpec
Defines the purpose of the private key.Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
- See Also:
-
getMinimalKeyLength
Set the minimum key length of the private key.- See Also:
-
getAlgorithm
Defines the algorithm used to generate the private key.- See Also:
-
getCryptoProviders
Defines the cryptographic providers used to generate the private key.- 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:
-
builder
-