TemplateV4
¶
Source code in docs_src/capo_pca_connector_ad/types/template_v4.py
certificate_validity
instance-attribute
¶
certificate_validity: CertificateValidity
Certificate validity describes the validity and renewal periods of a certificate.
enrollment_flags
instance-attribute
¶
enrollment_flags: EnrollmentFlagsV4
Enrollment flags describe the enrollment settings for certificates using the existing private key and deleting expired or revoked certificates.
extensions
instance-attribute
¶
extensions: ExtensionsV4
Extensions describe the key usage extensions and application policies for a template.
general_flags
instance-attribute
¶
general_flags: GeneralFlagsV4
General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.
hash_algorithm
instance-attribute
¶
hash_algorithm: NotRequired[HashAlgorithm]
Specifies the hash algorithm used to hash the private key. Hash algorithm can only be specified when using Key Storage Providers.
private_key_attributes
instance-attribute
¶
private_key_attributes: PrivateKeyAttributesV4
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.
private_key_flags
instance-attribute
¶
private_key_flags: PrivateKeyFlagsV4
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.
subject_name_flags
instance-attribute
¶
subject_name_flags: SubjectNameFlagsV4
Subject name flags describe the subject name and subject alternate name that is included in a certificate.
superseded_templates
instance-attribute
¶
superseded_templates: NotRequired[TemplateNameList]
List of templates in Active Directory that are superseded by this template.