@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateV4 extends Object implements Serializable, Cloneable, StructuredPojo
v4 template schema that can use either Legacy Cryptographic Providers or Key Storage Providers.
Constructor and Description |
---|
TemplateV4() |
Modifier and Type | Method and Description |
---|---|
TemplateV4 |
clone() |
boolean |
equals(Object obj) |
CertificateValidity |
getCertificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
|
EnrollmentFlagsV4 |
getEnrollmentFlags()
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting
expired or revoked certificates.
|
ExtensionsV4 |
getExtensions()
Extensions describe the key usage extensions and application policies for a template.
|
GeneralFlagsV4 |
getGeneralFlags()
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
String |
getHashAlgorithm()
Specifies the hash algorithm used to hash the private key.
|
PrivateKeyAttributesV4 |
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.
|
PrivateKeyFlagsV4 |
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.
|
SubjectNameFlagsV4 |
getSubjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
List<String> |
getSupersededTemplates()
List of templates in Active Directory that are superseded by this template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
void |
setEnrollmentFlags(EnrollmentFlagsV4 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting
expired or revoked certificates.
|
void |
setExtensions(ExtensionsV4 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
void |
setGeneralFlags(GeneralFlagsV4 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
void |
setHashAlgorithm(String hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
|
void |
setPrivateKeyAttributes(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.
|
void |
setPrivateKeyFlags(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.
|
void |
setSubjectNameFlags(SubjectNameFlagsV4 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
void |
setSupersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateV4 |
withCertificateValidity(CertificateValidity certificateValidity)
Certificate validity describes the validity and renewal periods of a certificate.
|
TemplateV4 |
withEnrollmentFlags(EnrollmentFlagsV4 enrollmentFlags)
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting
expired or revoked certificates.
|
TemplateV4 |
withExtensions(ExtensionsV4 extensions)
Extensions describe the key usage extensions and application policies for a template.
|
TemplateV4 |
withGeneralFlags(GeneralFlagsV4 generalFlags)
General flags describe whether the template is used for computers or users and if the template can be used with
autoenrollment.
|
TemplateV4 |
withHashAlgorithm(HashAlgorithm hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
|
TemplateV4 |
withHashAlgorithm(String hashAlgorithm)
Specifies the hash algorithm used to hash the private key.
|
TemplateV4 |
withPrivateKeyAttributes(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.
|
TemplateV4 |
withPrivateKeyFlags(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.
|
TemplateV4 |
withSubjectNameFlags(SubjectNameFlagsV4 subjectNameFlags)
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
|
TemplateV4 |
withSupersededTemplates(Collection<String> supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
TemplateV4 |
withSupersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
|
public void setCertificateValidity(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.public CertificateValidity getCertificateValidity()
Certificate validity describes the validity and renewal periods of a certificate.
public TemplateV4 withCertificateValidity(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.public void setEnrollmentFlags(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.public EnrollmentFlagsV4 getEnrollmentFlags()
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.
public TemplateV4 withEnrollmentFlags(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.public void setExtensions(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.public ExtensionsV4 getExtensions()
Extensions describe the key usage extensions and application policies for a template.
public TemplateV4 withExtensions(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.public void setGeneralFlags(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.public GeneralFlagsV4 getGeneralFlags()
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
public TemplateV4 withGeneralFlags(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.public void setHashAlgorithm(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
public String getHashAlgorithm()
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
HashAlgorithm
public TemplateV4 withHashAlgorithm(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
public TemplateV4 withHashAlgorithm(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
public void setPrivateKeyAttributes(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.public PrivateKeyAttributesV4 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.
public TemplateV4 withPrivateKeyAttributes(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.public void setPrivateKeyFlags(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.public PrivateKeyFlagsV4 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.
public TemplateV4 withPrivateKeyFlags(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.public void setSubjectNameFlags(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.public SubjectNameFlagsV4 getSubjectNameFlags()
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
public TemplateV4 withSubjectNameFlags(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.public List<String> getSupersededTemplates()
List of templates in Active Directory that are superseded by this template.
public void setSupersededTemplates(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.public TemplateV4 withSupersededTemplates(String... supersededTemplates)
List of templates in Active Directory that are superseded by this template.
NOTE: This method appends the values to the existing list (if any). Use
setSupersededTemplates(java.util.Collection)
or withSupersededTemplates(java.util.Collection)
if you want to override the existing values.
supersededTemplates
- List of templates in Active Directory that are superseded by this template.public TemplateV4 withSupersededTemplates(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.public String toString()
toString
in class Object
Object.toString()
public TemplateV4 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.