Class CfnTemplate.EnrollmentFlagsV4Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.EnrollmentFlagsV4Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.EnrollmentFlagsV4Property>
- Enclosing interface:
CfnTemplate.EnrollmentFlagsV4Property
@Stability(Stable)
public static final class CfnTemplate.EnrollmentFlagsV4Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.EnrollmentFlagsV4Property>
A builder for
CfnTemplate.EnrollmentFlagsV4Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableKeyReuseOnNtTokenKeysetStorageFull
(Boolean enableKeyReuseOnNtTokenKeysetStorageFull) enableKeyReuseOnNtTokenKeysetStorageFull
(IResolvable enableKeyReuseOnNtTokenKeysetStorageFull) includeSymmetricAlgorithms
(Boolean includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getIncludeSymmetricAlgorithms()
includeSymmetricAlgorithms
(IResolvable includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getIncludeSymmetricAlgorithms()
noSecurityExtension
(Boolean noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getNoSecurityExtension()
noSecurityExtension
(IResolvable noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getNoSecurityExtension()
removeInvalidCertificateFromPersonalStore
(Boolean removeInvalidCertificateFromPersonalStore) removeInvalidCertificateFromPersonalStore
(IResolvable removeInvalidCertificateFromPersonalStore) userInteractionRequired
(Boolean userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getUserInteractionRequired()
userInteractionRequired
(IResolvable userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getUserInteractionRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableKeyReuseOnNtTokenKeysetStorageFull
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder enableKeyReuseOnNtTokenKeysetStorageFull(Boolean enableKeyReuseOnNtTokenKeysetStorageFull) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getEnableKeyReuseOnNtTokenKeysetStorageFull()
- Parameters:
enableKeyReuseOnNtTokenKeysetStorageFull
- Allow renewal using the same key.- Returns:
this
-
enableKeyReuseOnNtTokenKeysetStorageFull
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder enableKeyReuseOnNtTokenKeysetStorageFull(IResolvable enableKeyReuseOnNtTokenKeysetStorageFull) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getEnableKeyReuseOnNtTokenKeysetStorageFull()
- Parameters:
enableKeyReuseOnNtTokenKeysetStorageFull
- Allow renewal using the same key.- Returns:
this
-
includeSymmetricAlgorithms
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder includeSymmetricAlgorithms(Boolean includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getIncludeSymmetricAlgorithms()
- Parameters:
includeSymmetricAlgorithms
- Include symmetric algorithms allowed by the subject.- Returns:
this
-
includeSymmetricAlgorithms
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder includeSymmetricAlgorithms(IResolvable includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getIncludeSymmetricAlgorithms()
- Parameters:
includeSymmetricAlgorithms
- Include symmetric algorithms allowed by the subject.- Returns:
this
-
noSecurityExtension
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder noSecurityExtension(Boolean noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getNoSecurityExtension()
- Parameters:
noSecurityExtension
- This flag instructs the CA to not include the security extension szOID_NTDS_CA_SECURITY_EXT (OID:1.3.6.1.4.1.311.25.2), as specified in [MS-WCCE] sections 2.2.2.7.7.4 and 3.2.2.6.2.1.4.5.9, in the issued certificate. This addresses a Windows Kerberos elevation-of-privilege vulnerability.- Returns:
this
-
noSecurityExtension
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder noSecurityExtension(IResolvable noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getNoSecurityExtension()
- Parameters:
noSecurityExtension
- This flag instructs the CA to not include the security extension szOID_NTDS_CA_SECURITY_EXT (OID:1.3.6.1.4.1.311.25.2), as specified in [MS-WCCE] sections 2.2.2.7.7.4 and 3.2.2.6.2.1.4.5.9, in the issued certificate. This addresses a Windows Kerberos elevation-of-privilege vulnerability.- Returns:
this
-
removeInvalidCertificateFromPersonalStore
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder removeInvalidCertificateFromPersonalStore(Boolean removeInvalidCertificateFromPersonalStore) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getRemoveInvalidCertificateFromPersonalStore()
- Parameters:
removeInvalidCertificateFromPersonalStore
- Delete expired or revoked certificates instead of archiving them.- Returns:
this
-
removeInvalidCertificateFromPersonalStore
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder removeInvalidCertificateFromPersonalStore(IResolvable removeInvalidCertificateFromPersonalStore) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getRemoveInvalidCertificateFromPersonalStore()
- Parameters:
removeInvalidCertificateFromPersonalStore
- Delete expired or revoked certificates instead of archiving them.- Returns:
this
-
userInteractionRequired
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder userInteractionRequired(Boolean userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getUserInteractionRequired()
- Parameters:
userInteractionRequired
- Require user interaction when the subject is enrolled and the private key associated with the certificate is used.- Returns:
this
-
userInteractionRequired
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV4Property.Builder userInteractionRequired(IResolvable userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV4Property.getUserInteractionRequired()
- Parameters:
userInteractionRequired
- Require user interaction when the subject is enrolled and the private key associated with the certificate is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.EnrollmentFlagsV4Property>
- Returns:
- a new instance of
CfnTemplate.EnrollmentFlagsV4Property
- Throws:
NullPointerException
- if any required attribute was not provided
-