:right-sidebar: True CertificateExtensionKeyUsage =================================================================== .. currentmodule:: gi.repository.Gcr .. versionadded:: 4.3.90 .. class:: CertificateExtensionKeyUsage(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gcr.CertificateExtension`, :class:`~gi.repository.GObject.Object` A certificate extension that can be used to restrict the usages of a given certificate. See also :obj:`~gi.repository.Gcr.CertificateExtensionExtendedKeyUsage` for an additional set of usages. Methods ------- .. rst-class:: interim-class .. class:: CertificateExtensionKeyUsage :no-index: .. method:: get_descriptions() -> list[str] Returns a user-friendly list of description of the key usages. .. method:: get_usages() -> int Returns the bit string describing the usages.