public static interface TemplateV4.Builder extends SdkPojo, CopyableBuilder<TemplateV4.Builder,TemplateV4>
| Modifier and Type | Method and Description |
|---|---|
TemplateV4.Builder |
certificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
default TemplateV4.Builder |
certificateValidity(Consumer<CertificateValidity.Builder> certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
default TemplateV4.Builder |
enrollmentFlags(Consumer<EnrollmentFlagsV4.Builder> enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and
deleting expired or revoked certificates.
|
TemplateV4.Builder |
enrollmentFlags(EnrollmentFlagsV4 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and
deleting expired or revoked certificates.
|
default TemplateV4.Builder |
extensions(Consumer<ExtensionsV4.Builder> extensions)
Extensions describe the key usage extensions and application policies for a template.
|
TemplateV4.Builder |
extensions(ExtensionsV4 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
default TemplateV4.Builder |
generalFlags(Consumer<GeneralFlagsV4.Builder> generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used
with autoenrollment.
|
TemplateV4.Builder |
generalFlags(GeneralFlagsV4 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used
with autoenrollment.
|
TemplateV4.Builder |
hashAlgorithm(HashAlgorithm hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
|
TemplateV4.Builder |
hashAlgorithm(String hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
|
default TemplateV4.Builder |
privateKeyAttributes(Consumer<PrivateKeyAttributesV4.Builder> privateKeyAttributes)
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.
|
TemplateV4.Builder |
privateKeyAttributes(PrivateKeyAttributesV4 privateKeyAttributes)
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.
|
default TemplateV4.Builder |
privateKeyFlags(Consumer<PrivateKeyFlagsV4.Builder> privateKeyFlags)
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.
|
TemplateV4.Builder |
privateKeyFlags(PrivateKeyFlagsV4 privateKeyFlags)
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.
|
default TemplateV4.Builder |
subjectNameFlags(Consumer<SubjectNameFlagsV4.Builder> subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV4.Builder |
subjectNameFlags(SubjectNameFlagsV4 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV4.Builder |
supersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
TemplateV4.Builder |
supersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTemplateV4.Builder certificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
certificateValidity - Certificate validity describes the validity and renewal periods of a certificate.default TemplateV4.Builder certificateValidity(Consumer<CertificateValidity.Builder> certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
This is a convenience method that creates an instance of theCertificateValidity.Builder avoiding the
need to create one manually via CertificateValidity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to certificateValidity(CertificateValidity).
certificateValidity - a consumer that will call methods on CertificateValidity.BuildercertificateValidity(CertificateValidity)TemplateV4.Builder enrollmentFlags(EnrollmentFlagsV4 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.
enrollmentFlags - Enrollment flags describe the enrollment settings for certificates using the existing private key and
deleting expired or revoked certificates.default TemplateV4.Builder enrollmentFlags(Consumer<EnrollmentFlagsV4.Builder> enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.
This is a convenience method that creates an instance of theEnrollmentFlagsV4.Builder avoiding the
need to create one manually via EnrollmentFlagsV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to enrollmentFlags(EnrollmentFlagsV4).
enrollmentFlags - a consumer that will call methods on EnrollmentFlagsV4.BuilderenrollmentFlags(EnrollmentFlagsV4)TemplateV4.Builder extensions(ExtensionsV4 extensions)
Extensions describe the key usage extensions and application policies for a template.
extensions - Extensions describe the key usage extensions and application policies for a template.default TemplateV4.Builder extensions(Consumer<ExtensionsV4.Builder> extensions)
Extensions describe the key usage extensions and application policies for a template.
This is a convenience method that creates an instance of theExtensionsV4.Builder avoiding the need
to create one manually via ExtensionsV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to extensions(ExtensionsV4).
extensions - a consumer that will call methods on ExtensionsV4.Builderextensions(ExtensionsV4)TemplateV4.Builder generalFlags(GeneralFlagsV4 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
generalFlags - General flags describe whether the template is used for computers or users and if the template can be
used with autoenrollment.default TemplateV4.Builder generalFlags(Consumer<GeneralFlagsV4.Builder> generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
This is a convenience method that creates an instance of theGeneralFlagsV4.Builder avoiding the need
to create one manually via GeneralFlagsV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to generalFlags(GeneralFlagsV4).
generalFlags - a consumer that will call methods on GeneralFlagsV4.BuildergeneralFlags(GeneralFlagsV4)TemplateV4.Builder hashAlgorithm(String hashAlgorithm)
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
hashAlgorithm - Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when
using Key Storage Providers.HashAlgorithm,
HashAlgorithmTemplateV4.Builder hashAlgorithm(HashAlgorithm hashAlgorithm)
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
hashAlgorithm - Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when
using Key Storage Providers.HashAlgorithm,
HashAlgorithmTemplateV4.Builder privateKeyAttributes(PrivateKeyAttributesV4 privateKeyAttributes)
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.
privateKeyAttributes - 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.default TemplateV4.Builder privateKeyAttributes(Consumer<PrivateKeyAttributesV4.Builder> privateKeyAttributes)
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.
This is a convenience method that creates an instance of thePrivateKeyAttributesV4.Builder avoiding
the need to create one manually via PrivateKeyAttributesV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to privateKeyAttributes(PrivateKeyAttributesV4).
privateKeyAttributes - a consumer that will call methods on PrivateKeyAttributesV4.BuilderprivateKeyAttributes(PrivateKeyAttributesV4)TemplateV4.Builder privateKeyFlags(PrivateKeyFlagsV4 privateKeyFlags)
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.
privateKeyFlags - 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.default TemplateV4.Builder privateKeyFlags(Consumer<PrivateKeyFlagsV4.Builder> privateKeyFlags)
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.
This is a convenience method that creates an instance of thePrivateKeyFlagsV4.Builder avoiding the
need to create one manually via PrivateKeyFlagsV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to privateKeyFlags(PrivateKeyFlagsV4).
privateKeyFlags - a consumer that will call methods on PrivateKeyFlagsV4.BuilderprivateKeyFlags(PrivateKeyFlagsV4)TemplateV4.Builder subjectNameFlags(SubjectNameFlagsV4 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
subjectNameFlags - Subject name flags describe the subject name and subject alternate name that is included in a
certificate.default TemplateV4.Builder subjectNameFlags(Consumer<SubjectNameFlagsV4.Builder> subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
This is a convenience method that creates an instance of theSubjectNameFlagsV4.Builder avoiding the
need to create one manually via SubjectNameFlagsV4.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subjectNameFlags(SubjectNameFlagsV4).
subjectNameFlags - a consumer that will call methods on SubjectNameFlagsV4.BuildersubjectNameFlags(SubjectNameFlagsV4)TemplateV4.Builder supersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
supersededTemplates - List of templates in Active Directory that are superseded by this template.TemplateV4.Builder supersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
supersededTemplates - List of templates in Active Directory that are superseded by this template.Copyright © 2023. All rights reserved.