@Generated(value="software.amazon.awssdk:codegen") public final class TemplateV4 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateV4.Builder,TemplateV4>
v4 template schema that can use either Legacy Cryptographic Providers or Key Storage Providers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateV4.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateV4.Builder |
builder() |
CertificateValidity |
certificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
|
EnrollmentFlagsV4 |
enrollmentFlags()
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting
expired or revoked certificates.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExtensionsV4 |
extensions()
Extensions describe the key usage extensions and application policies for a template.
|
GeneralFlagsV4 |
generalFlags()
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
HashAlgorithm |
hashAlgorithm()
Specifies the hash algorithm used to hash the private key.
|
String |
hashAlgorithmAsString()
Specifies the hash algorithm used to hash the private key.
|
int |
hashCode() |
boolean |
hasSupersededTemplates()
For responses, this returns true if the service returned a value for the SupersededTemplates property.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateV4.Builder> |
serializableBuilderClass() |
SubjectNameFlagsV4 |
subjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
List<String> |
supersededTemplates()
List of templates in Active Directory that are superseded by this template.
|
TemplateV4.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CertificateValidity certificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
public final EnrollmentFlagsV4 enrollmentFlags()
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.
public final ExtensionsV4 extensions()
Extensions describe the key usage extensions and application policies for a template.
public final GeneralFlagsV4 generalFlags()
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
public final HashAlgorithm hashAlgorithm()
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
If the service returns an enum value that is not available in the current SDK version, hashAlgorithm
will return HashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashAlgorithmAsString().
HashAlgorithmpublic final String hashAlgorithmAsString()
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
If the service returns an enum value that is not available in the current SDK version, hashAlgorithm
will return HashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashAlgorithmAsString().
HashAlgorithmpublic final 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.
public final 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.
public final SubjectNameFlagsV4 subjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
public final boolean hasSupersededTemplates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supersededTemplates()
List of templates in Active Directory that are superseded by this template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupersededTemplates() method.
public TemplateV4.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateV4.Builder,TemplateV4>public static TemplateV4.Builder builder()
public static Class<? extends TemplateV4.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.