Skip to content

TemplateV3

Source code in docs_src/capo_pca_connector_ad/types/template_v3.py
class TemplateV3(TypedDict, closed=True):
    certificate_validity: (
        "capo_pca_connector_ad.types.certificate_validity.CertificateValidity"
    )
    """<p>Certificate validity describes the validity and renewal periods of a certificate.</p>"""
    superseded_templates: NotRequired[
        "capo_pca_connector_ad.types.template_name_list.TemplateNameList"
    ]
    """<p>List of templates in Active Directory that are superseded by this template.</p>"""
    private_key_attributes: (
        "capo_pca_connector_ad.types.private_key_attributes_v3.PrivateKeyAttributesV3"
    )
    """<p>Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates. V3 templates allow you to use Key Storage Providers.</p>"""
    private_key_flags: (
        "capo_pca_connector_ad.types.private_key_flags_v3.PrivateKeyFlagsV3"
    )
    """<p>Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.</p>"""
    enrollment_flags: (
        "capo_pca_connector_ad.types.enrollment_flags_v3.EnrollmentFlagsV3"
    )
    """<p>Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.</p>"""
    subject_name_flags: (
        "capo_pca_connector_ad.types.subject_name_flags_v3.SubjectNameFlagsV3"
    )
    """<p>Subject name flags describe the subject name and subject alternate name that is included in a certificate.</p>"""
    general_flags: "capo_pca_connector_ad.types.general_flags_v3.GeneralFlagsV3"
    """<p>General flags describe whether the template is used for computers or users and if the template can be used with autoenrollment.</p>"""
    hash_algorithm: "capo_pca_connector_ad.types.hash_algorithm.HashAlgorithm"
    """<p>Specifies the hash algorithm used to hash the private key.</p>"""
    extensions: "capo_pca_connector_ad.types.extensions_v3.ExtensionsV3"
    """<p>Extensions describe the key usage extensions and application policies for a template.</p>"""

certificate_validity instance-attribute

certificate_validity: CertificateValidity

Certificate validity describes the validity and renewal periods of a certificate.

enrollment_flags instance-attribute

enrollment_flags: EnrollmentFlagsV3

Enrollment flags describe the enrollment settings for certificates such as using the existing private key and deleting expired or revoked certificates.

extensions instance-attribute

extensions: ExtensionsV3

Extensions describe the key usage extensions and application policies for a template.

general_flags instance-attribute

general_flags: GeneralFlagsV3

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: HashAlgorithm

Specifies the hash algorithm used to hash the private key.

private_key_attributes instance-attribute

private_key_attributes: PrivateKeyAttributesV3

Private key attributes allow you to specify the algorithm, minimal key length, key spec, key usage, and cryptographic providers for the private key of a certificate for v3 templates. V3 templates allow you to use Key Storage Providers.

private_key_flags instance-attribute

private_key_flags: PrivateKeyFlagsV3

Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.

subject_name_flags instance-attribute

subject_name_flags: SubjectNameFlagsV3

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.