Class CfnTemplate.EnrollmentFlagsV2Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.EnrollmentFlagsV2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.EnrollmentFlagsV2Property>
- Enclosing interface:
CfnTemplate.EnrollmentFlagsV2Property
@Stability(Stable)
public static final class CfnTemplate.EnrollmentFlagsV2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.EnrollmentFlagsV2Property>
A builder for
CfnTemplate.EnrollmentFlagsV2Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableKeyReuseOnNtTokenKeysetStorageFull
(Boolean enableKeyReuseOnNtTokenKeysetStorageFull) enableKeyReuseOnNtTokenKeysetStorageFull
(IResolvable enableKeyReuseOnNtTokenKeysetStorageFull) includeSymmetricAlgorithms
(Boolean includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getIncludeSymmetricAlgorithms()
includeSymmetricAlgorithms
(IResolvable includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getIncludeSymmetricAlgorithms()
noSecurityExtension
(Boolean noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getNoSecurityExtension()
noSecurityExtension
(IResolvable noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getNoSecurityExtension()
removeInvalidCertificateFromPersonalStore
(Boolean removeInvalidCertificateFromPersonalStore) removeInvalidCertificateFromPersonalStore
(IResolvable removeInvalidCertificateFromPersonalStore) userInteractionRequired
(Boolean userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getUserInteractionRequired()
userInteractionRequired
(IResolvable userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getUserInteractionRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableKeyReuseOnNtTokenKeysetStorageFull
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder enableKeyReuseOnNtTokenKeysetStorageFull(Boolean enableKeyReuseOnNtTokenKeysetStorageFull) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getEnableKeyReuseOnNtTokenKeysetStorageFull()
- Parameters:
enableKeyReuseOnNtTokenKeysetStorageFull
- Allow renewal using the same key.- Returns:
this
-
enableKeyReuseOnNtTokenKeysetStorageFull
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder enableKeyReuseOnNtTokenKeysetStorageFull(IResolvable enableKeyReuseOnNtTokenKeysetStorageFull) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getEnableKeyReuseOnNtTokenKeysetStorageFull()
- Parameters:
enableKeyReuseOnNtTokenKeysetStorageFull
- Allow renewal using the same key.- Returns:
this
-
includeSymmetricAlgorithms
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder includeSymmetricAlgorithms(Boolean includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getIncludeSymmetricAlgorithms()
- Parameters:
includeSymmetricAlgorithms
- Include symmetric algorithms allowed by the subject.- Returns:
this
-
includeSymmetricAlgorithms
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder includeSymmetricAlgorithms(IResolvable includeSymmetricAlgorithms) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getIncludeSymmetricAlgorithms()
- Parameters:
includeSymmetricAlgorithms
- Include symmetric algorithms allowed by the subject.- Returns:
this
-
noSecurityExtension
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder noSecurityExtension(Boolean noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.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.EnrollmentFlagsV2Property.Builder noSecurityExtension(IResolvable noSecurityExtension) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.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.EnrollmentFlagsV2Property.Builder removeInvalidCertificateFromPersonalStore(Boolean removeInvalidCertificateFromPersonalStore) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getRemoveInvalidCertificateFromPersonalStore()
- Parameters:
removeInvalidCertificateFromPersonalStore
- Delete expired or revoked certificates instead of archiving them.- Returns:
this
-
removeInvalidCertificateFromPersonalStore
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder removeInvalidCertificateFromPersonalStore(IResolvable removeInvalidCertificateFromPersonalStore) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.getRemoveInvalidCertificateFromPersonalStore()
- Parameters:
removeInvalidCertificateFromPersonalStore
- Delete expired or revoked certificates instead of archiving them.- Returns:
this
-
userInteractionRequired
@Stability(Stable) public CfnTemplate.EnrollmentFlagsV2Property.Builder userInteractionRequired(Boolean userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.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.EnrollmentFlagsV2Property.Builder userInteractionRequired(IResolvable userInteractionRequired) Sets the value ofCfnTemplate.EnrollmentFlagsV2Property.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.EnrollmentFlagsV2Property>
- Returns:
- a new instance of
CfnTemplate.EnrollmentFlagsV2Property
- Throws:
NullPointerException
- if any required attribute was not provided
-