Class KeyUsage

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

Attributes
NameDescription
google.cloud.security.privateca_v1.types.KeyUsage.KeyUsageOptionsbase_key_usage
Describes high-level ways in which a key may be used.
google.cloud.security.privateca_v1.types.KeyUsage.ExtendedKeyUsageOptionsextended_key_usage
Detailed scenarios in which a key may be used.
Sequence[google.cloud.security.privateca_v1.types.ObjectId]unknown_extended_key_usages
Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

Inheritance

builtins.object > proto.message.Message > KeyUsage

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.