public sealed class KeyUsage.Types.KeyUsageOptions : IMessage<KeyUsage.Types.KeyUsageOptions>, IEquatable<KeyUsage.Types.KeyUsageOptions>, IDeepCloneable<KeyUsage.Types.KeyUsageOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class KeyUsage.Types.KeyUsageOptions.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eKeyUsage.Types.KeyUsageOptions\u003c/code\u003e is 3.9.0, with a history of previous versions ranging from 3.8.0 down to 1.0.0 accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKeyUsage.Types.KeyUsageOptions\u003c/code\u003e is a class that implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its functionality within a broader system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKeyUsage.Types.KeyUsageOptions\u003c/code\u003e class corresponds to the key usage values described in RFC5280 section 4.2.1.3 and is used within the Certificate Authority v1 API, relating to potential actions with keys.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides several boolean properties such as \u003ccode\u003eCertSign\u003c/code\u003e, \u003ccode\u003eContentCommitment\u003c/code\u003e, \u003ccode\u003eCrlSign\u003c/code\u003e, \u003ccode\u003eDataEncipherment\u003c/code\u003e, \u003ccode\u003eDecipherOnly\u003c/code\u003e, \u003ccode\u003eDigitalSignature\u003c/code\u003e, \u003ccode\u003eEncipherOnly\u003c/code\u003e, \u003ccode\u003eKeyAgreement\u003c/code\u003e, and \u003ccode\u003eKeyEncipherment\u003c/code\u003e which detail the permitted use of a given key.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class KeyUsage.Types.KeyUsageOptions (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions) \n\n public sealed class KeyUsage.Types.KeyUsageOptions : IMessage\u003cKeyUsage.Types.KeyUsageOptions\u003e, IEquatable\u003cKeyUsage.Types.KeyUsageOptions\u003e, IDeepCloneable\u003cKeyUsage.Types.KeyUsageOptions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class KeyUsage.Types.KeyUsageOptions.\n\n\\[KeyUsage.KeyUsageOptions\\]\\[google.cloud.security.privateca.v1.KeyUsage.KeyUsageOptions\\]\ncorresponds to the key usage values described in\n\u003chttps://tools.ietf.org/html/rfc5280#section-4.2.1.3\u003e. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KeyUsage.Types.KeyUsageOptions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KeyUsage](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types)[KeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KeyUsage](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types)[KeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KeyUsage](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage)[Types](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types)[KeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.KeyUsageOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Security.PrivateCA.V1](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Security.PrivateCA.V1.dll\n\nConstructors\n------------\n\n### KeyUsageOptions()\n\n public KeyUsageOptions()\n\n### KeyUsageOptions(KeyUsageOptions)\n\n public KeyUsageOptions(KeyUsage.Types.KeyUsageOptions other)\n\nProperties\n----------\n\n### CertSign\n\n public bool CertSign { get; set; }\n\nThe key may be used to sign certificates.\n\n### ContentCommitment\n\n public bool ContentCommitment { get; set; }\n\nThe key may be used for cryptographic commitments. Note that this may\nalso be referred to as \"non-repudiation\".\n\n### CrlSign\n\n public bool CrlSign { get; set; }\n\nThe key may be used sign certificate revocation lists.\n\n### DataEncipherment\n\n public bool DataEncipherment { get; set; }\n\nThe key may be used to encipher data.\n\n### DecipherOnly\n\n public bool DecipherOnly { get; set; }\n\nThe key may be used to decipher only.\n\n### DigitalSignature\n\n public bool DigitalSignature { get; set; }\n\nThe key may be used for digital signatures.\n\n### EncipherOnly\n\n public bool EncipherOnly { get; set; }\n\nThe key may be used to encipher only.\n\n### KeyAgreement\n\n public bool KeyAgreement { get; set; }\n\nThe key may be used in a key agreement protocol.\n\n### KeyEncipherment\n\n public bool KeyEncipherment { get; set; }\n\nThe key may be used to encipher other keys."]]