X509CertificateProperties Class

Properties of the X509 component of a certificate.

Inheritance
X509CertificateProperties

Constructor

X509CertificateProperties(*, subject: Optional[str] = None, ekus=None, subject_alternative_names=None, key_usage=None, validity_in_months: Optional[int] = None, **kwargs)

Parameters

subject
str
Required

The subject name. Should be a valid X509 distinguished Name.

ekus
list[str]
Required

The enhanced key usage.

subject_alternative_names
SubjectAlternativeNames
Required

The subject alternative names.

key_usage
list[str or KeyUsageType]
Required

List of key usages.

validity_in_months
int
Required

The duration that the ceritifcate is valid in months.