Interface CfnTemplatePropsMixin.TemplateV4Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplatePropsMixin.TemplateV4Property.Jsii$Proxy
- Enclosing class:
CfnTemplatePropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.pcaconnectorad.*;
TemplateV4Property templateV4Property = TemplateV4Property.builder()
.certificateValidity(CertificateValidityProperty.builder()
.renewalPeriod(ValidityPeriodProperty.builder()
.period(123)
.periodType("periodType")
.build())
.validityPeriod(ValidityPeriodProperty.builder()
.period(123)
.periodType("periodType")
.build())
.build())
.enrollmentFlags(EnrollmentFlagsV4Property.builder()
.enableKeyReuseOnNtTokenKeysetStorageFull(false)
.includeSymmetricAlgorithms(false)
.noSecurityExtension(false)
.removeInvalidCertificateFromPersonalStore(false)
.userInteractionRequired(false)
.build())
.extensions(ExtensionsV4Property.builder()
.applicationPolicies(ApplicationPoliciesProperty.builder()
.critical(false)
.policies(List.of(ApplicationPolicyProperty.builder()
.policyObjectIdentifier("policyObjectIdentifier")
.policyType("policyType")
.build()))
.build())
.keyUsage(KeyUsageProperty.builder()
.critical(false)
.usageFlags(KeyUsageFlagsProperty.builder()
.dataEncipherment(false)
.digitalSignature(false)
.keyAgreement(false)
.keyEncipherment(false)
.nonRepudiation(false)
.build())
.build())
.build())
.generalFlags(GeneralFlagsV4Property.builder()
.autoEnrollment(false)
.machineType(false)
.build())
.hashAlgorithm("hashAlgorithm")
.privateKeyAttributes(PrivateKeyAttributesV4Property.builder()
.algorithm("algorithm")
.cryptoProviders(List.of("cryptoProviders"))
.keySpec("keySpec")
.keyUsageProperty(KeyUsagePropertyProperty.builder()
.propertyFlags(KeyUsagePropertyFlagsProperty.builder()
.decrypt(false)
.keyAgreement(false)
.sign(false)
.build())
.propertyType("propertyType")
.build())
.minimalKeyLength(123)
.build())
.privateKeyFlags(PrivateKeyFlagsV4Property.builder()
.clientVersion("clientVersion")
.exportableKey(false)
.requireAlternateSignatureAlgorithm(false)
.requireSameKeyRenewal(false)
.strongKeyProtectionRequired(false)
.useLegacyProvider(false)
.build())
.subjectNameFlags(SubjectNameFlagsV4Property.builder()
.requireCommonName(false)
.requireDirectoryPath(false)
.requireDnsAsCn(false)
.requireEmail(false)
.sanRequireDirectoryGuid(false)
.sanRequireDns(false)
.sanRequireDomainDns(false)
.sanRequireEmail(false)
.sanRequireSpn(false)
.sanRequireUpn(false)
.build())
.supersededTemplates(List.of("supersededTemplates"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplatePropsMixin.TemplateV4Propertystatic final classAn implementation forCfnTemplatePropsMixin.TemplateV4Property -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectCertificate validity describes the validity and renewal periods of a certificate.default ObjectEnrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.default ObjectExtensions describe the key usage extensions and application policies for a template.default ObjectGeneral flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.default StringSpecifies the hash algorithm used to hash the private key.default ObjectPrivate key attributes allow you to specify the minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v4 templates.default ObjectPrivate key flags for v4 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, if an alternate signature algorithm should be used, and if certificates are renewed using the same private key.default ObjectSubject name flags describe the subject name and subject alternate name that is included in a certificate.List of templates in Active Directory that are superseded by this template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateValidity
Certificate validity describes the validity and renewal periods of a certificate.Returns union: either
IResolvableorCfnTemplatePropsMixin.CertificateValidityProperty- See Also:
-
getEnrollmentFlags
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.Returns union: either
IResolvableorCfnTemplatePropsMixin.EnrollmentFlagsV4Property- See Also:
-
getExtensions
Extensions describe the key usage extensions and application policies for a template.Returns union: either
IResolvableorCfnTemplatePropsMixin.ExtensionsV4Property- See Also:
-
getGeneralFlags
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.Returns union: either
IResolvableorCfnTemplatePropsMixin.GeneralFlagsV4Property- See Also:
-
getHashAlgorithm
Specifies the hash algorithm used to hash the private key.Hash algorithm can only be specified when using Key Storage Providers.
- See Also:
-
getPrivateKeyAttributes
Private key attributes allow you to specify the minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v4 templates.V4 templates allow you to use either Key Storage Providers or Legacy Cryptographic Service Providers. You specify the cryptography provider category in private key flags.
Returns union: either
IResolvableorCfnTemplatePropsMixin.PrivateKeyAttributesV4Property- See Also:
-
getPrivateKeyFlags
Private key flags for v4 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, if an alternate signature algorithm should be used, and if certificates are renewed using the same private key.Returns union: either
IResolvableorCfnTemplatePropsMixin.PrivateKeyFlagsV4Property- See Also:
-
getSubjectNameFlags
Subject name flags describe the subject name and subject alternate name that is included in a certificate.Returns union: either
IResolvableorCfnTemplatePropsMixin.SubjectNameFlagsV4Property- See Also:
-
getSupersededTemplates
List of templates in Active Directory that are superseded by this template.- See Also:
-
builder
-