Certificate Authority v1 API - Class KeyUsage (3.2.0)

public sealed class KeyUsage : IMessage<KeyUsage>, IEquatable<KeyUsage>, IDeepCloneable<KeyUsage>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class KeyUsage.

A [KeyUsage][google.cloud.security.privateca.v1.KeyUsage] describes key usage values that may appear in an X.509 certificate.

Inheritance

Object > KeyUsage

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

KeyUsage()

public KeyUsage()

KeyUsage(KeyUsage)

public KeyUsage(KeyUsage other)
Parameter
NameDescription
otherKeyUsage

Properties

BaseKeyUsage

public KeyUsage.Types.KeyUsageOptions BaseKeyUsage { get; set; }

Describes high-level ways in which a key may be used.

Property Value
TypeDescription
KeyUsage.Types.KeyUsageOptions

ExtendedKeyUsage

public KeyUsage.Types.ExtendedKeyUsageOptions ExtendedKeyUsage { get; set; }

Detailed scenarios in which a key may be used.

Property Value
TypeDescription
KeyUsage.Types.ExtendedKeyUsageOptions

UnknownExtendedKeyUsages

public RepeatedField<ObjectId> UnknownExtendedKeyUsages { get; }

Used to describe extended key usages that are not listed in the [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions] message.

Property Value
TypeDescription
RepeatedField<ObjectId>