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.
Namespace
Google.Cloud.Security.PrivateCA.V1Assembly
Google.Cloud.Security.PrivateCA.V1.dll
Constructors
KeyUsage()
public KeyUsage()
KeyUsage(KeyUsage)
public KeyUsage(KeyUsage other)
Parameter | |
---|---|
Name | Description |
other |
KeyUsage |
Properties
BaseKeyUsage
public KeyUsage.Types.KeyUsageOptions BaseKeyUsage { get; set; }
Describes high-level ways in which a key may be used.
Property Value | |
---|---|
Type | Description |
KeyUsageTypesKeyUsageOptions |
ExtendedKeyUsage
public KeyUsage.Types.ExtendedKeyUsageOptions ExtendedKeyUsage { get; set; }
Detailed scenarios in which a key may be used.
Property Value | |
---|---|
Type | Description |
KeyUsageTypesExtendedKeyUsageOptions |
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 | |
---|---|
Type | Description |
RepeatedFieldObjectId |