Class KeyUsage (1.13.0)

KeyUsage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A KeyUsage describes key usage values that may appear in an X.509 certificate.

Attributes

Name Description
base_key_usage google.cloud.security.privateca_v1.types.KeyUsage.KeyUsageOptions
Describes high-level ways in which a key may be used.
extended_key_usage google.cloud.security.privateca_v1.types.KeyUsage.ExtendedKeyUsageOptions
Detailed scenarios in which a key may be used.
unknown_extended_key_usages MutableSequence[google.cloud.security.privateca_v1.types.ObjectId]
Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

Classes

ExtendedKeyUsageOptions

ExtendedKeyUsageOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.

KeyUsageOptions

KeyUsageOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.