CertificateExtensionKeyUsage#

Added in version 4.3.90.

class CertificateExtensionKeyUsage(**properties: Any)#

Superclasses: CertificateExtension, Object

A certificate extension that can be used to restrict the usages of a given certificate.

See also CertificateExtensionExtendedKeyUsage for an additional set of usages.

Methods#

class CertificateExtensionKeyUsage
get_descriptions() list[str]#

Returns a user-friendly list of description of the key usages.

get_usages() int#

Returns the bit string describing the usages.