pki.util.ext_oidsΒΆ

To be added to trustpoint_core as trustpoint_core.oid.CertificateExtensionOid.

Module ContentsΒΆ

class pki.util.ext_oids.CertificateExtensionOidData[source]ΒΆ

The Certificate Extension OID Data class holding all of the information.

dotted_string: str[source]ΒΆ
abbreviation: str | None[source]ΒΆ
full_name: str[source]ΒΆ
verbose_name: str[source]ΒΆ
class pki.util.ext_oids.CertificateExtensionOid(*args, **kwds)[source]ΒΆ

Bases: enum.Enum

Certificate Extension OID Enum holding extension metadata as dataclass instances and lookup helpers.

SUBJECT_DIRECTORY_ATTRIBUTES[source]ΒΆ
SUBJECT_KEY_IDENTIFIER[source]ΒΆ
KEY_USAGE[source]ΒΆ
SUBJECT_ALTERNATIVE_NAME[source]ΒΆ
ISSUER_ALTERNATIVE_NAME[source]ΒΆ
BASIC_CONSTRAINTS[source]ΒΆ
NAME_CONSTRAINTS[source]ΒΆ
CRL_DISTRIBUTION_POINTS[source]ΒΆ
CERTIFICATE_POLICIES[source]ΒΆ
POLICY_MAPPINGS[source]ΒΆ
AUTHORITY_KEY_IDENTIFIER[source]ΒΆ
POLICY_CONSTRAINTS[source]ΒΆ
EXTENDED_KEY_USAGE[source]ΒΆ
FRESHEST_CRL[source]ΒΆ
INHIBIT_ANY_POLICY[source]ΒΆ
ISSUING_DISTRIBUTION_POINT[source]ΒΆ
AUTHORITY_INFORMATION_ACCESS[source]ΒΆ
SUBJECT_INFORMATION_ACCESS[source]ΒΆ
OCSP_NO_CHECK[source]ΒΆ
TLS_FEATURE[source]ΒΆ
CRL_NUMBER[source]ΒΆ
DELTA_CRL_INDICATOR[source]ΒΆ
PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS[source]ΒΆ
PRECERT_POISON[source]ΒΆ
SIGNED_CERTIFICATE_TIMESTAMPS[source]ΒΆ
MS_CERTIFICATE_TEMPLATE[source]ΒΆ
property dotted_string: str[source]ΒΆ

Return the dotted string OID.

Returns:

The dotted string OID.

Return type:

str

property abbreviation: str | None[source]ΒΆ

Return the abbreviation for the NameOid, if any.

Returns:

The abbreviation, or None if not defined.

Return type:

str | None

property full_name: str[source]ΒΆ

Return the full name for the NameOid.

Returns:

The full name.

Return type:

str

property verbose_name: str[source]ΒΆ

Return the verbose name for display.

Returns:

The verbose name.

Return type:

str

class pki.util.ext_oids.ExtendedKeyUsageOid(*args, **kwds)[source]ΒΆ

Bases: enum.Enum

OIDs for Extended Key Usage values.

SERVER_AUTH = '1.3.6.1.5.5.7.3.1'[source]ΒΆ
CLIENT_AUTH = '1.3.6.1.5.5.7.3.2'[source]ΒΆ
CODE_SIGNING = '1.3.6.1.5.5.7.3.3'[source]ΒΆ
EMAIL_PROTECTION = '1.3.6.1.5.5.7.3.4'[source]ΒΆ
TIME_STAMPING = '1.3.6.1.5.5.7.3.8'[source]ΒΆ
OCSP_SIGNING = '1.3.6.1.5.5.7.3.9'[source]ΒΆ
ANY_EXTENDED_KEY_USAGE = '2.5.29.37.0'[source]ΒΆ
SMARTCARD_LOGON = '1.3.6.1.4.1.311.20.2.2'[source]ΒΆ
KERBEROS_PKINIT_KDC = '1.3.6.1.5.2.3.5'[source]ΒΆ
IPSEC_IKE = '1.3.6.1.5.5.7.3.17'[source]ΒΆ
BUNDLE_SECURITY = '1.3.6.1.5.5.7.3.35'[source]ΒΆ
CERTIFICATE_TRANSPARENCY = '1.3.6.1.4.1.11129.2.4.4'[source]ΒΆ