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]