public sealed class KeyUsage.Types.ExtendedKeyUsageOptions : IMessage<KeyUsage.Types.ExtendedKeyUsageOptions>, IEquatable<KeyUsage.Types.ExtendedKeyUsageOptions>, IDeepCloneable<KeyUsage.Types.ExtendedKeyUsageOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class KeyUsage.Types.ExtendedKeyUsageOptions.
[KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions]
has fields that correspond to certain common OIDs that could be specified
as an extended key usage value.
[[["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.ExtendedKeyUsageOptions\u003c/code\u003e is 3.9.0, with multiple previous versions dating back to 1.0.0, all accessible via their respective documentation links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKeyUsage.Types.ExtendedKeyUsageOptions\u003c/code\u003e is a class within the Google.Cloud.Security.PrivateCA.V1 namespace designed to specify common Object Identifiers (OIDs) for extended key usage values.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, facilitating its use within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKeyUsage.Types.ExtendedKeyUsageOptions\u003c/code\u003e includes properties such as \u003ccode\u003eClientAuth\u003c/code\u003e, \u003ccode\u003eCodeSigning\u003c/code\u003e, \u003ccode\u003eEmailProtection\u003c/code\u003e, \u003ccode\u003eOcspSigning\u003c/code\u003e, \u003ccode\u003eServerAuth\u003c/code\u003e, and \u003ccode\u003eTimeStamping\u003c/code\u003e, each corresponding to specific OIDs for various authentication and signing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExtendedKeyUsageOptions\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003eExtendedKeyUsageOptions\u003c/code\u003e instance as an argument, allowing for object duplication.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class KeyUsage.Types.ExtendedKeyUsageOptions (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.ExtendedKeyUsageOptions)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions) \n\n public sealed class KeyUsage.Types.ExtendedKeyUsageOptions : IMessage\u003cKeyUsage.Types.ExtendedKeyUsageOptions\u003e, IEquatable\u003cKeyUsage.Types.ExtendedKeyUsageOptions\u003e, IDeepCloneable\u003cKeyUsage.Types.ExtendedKeyUsageOptions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class KeyUsage.Types.ExtendedKeyUsageOptions.\n\n\\[KeyUsage.ExtendedKeyUsageOptions\\]\\[google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions\\]\nhas fields that correspond to certain common OIDs that could be specified\nas an extended key usage value. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KeyUsage.Types.ExtendedKeyUsageOptions \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)[ExtendedKeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions), [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)[ExtendedKeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions), [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)[ExtendedKeyUsageOptions](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.KeyUsage.Types.ExtendedKeyUsageOptions), [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### ExtendedKeyUsageOptions()\n\n public ExtendedKeyUsageOptions()\n\n### ExtendedKeyUsageOptions(ExtendedKeyUsageOptions)\n\n public ExtendedKeyUsageOptions(KeyUsage.Types.ExtendedKeyUsageOptions other)\n\nProperties\n----------\n\n### ClientAuth\n\n public bool ClientAuth { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as \"TLS WWW\nclient authentication\", though regularly used for non-WWW TLS.\n\n### CodeSigning\n\n public bool CodeSigning { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as \"Signing of\ndownloadable executable code client authentication\".\n\n### EmailProtection\n\n public bool EmailProtection { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as \"Email\nprotection\".\n\n### OcspSigning\n\n public bool OcspSigning { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as \"Signing\nOCSP responses\".\n\n### ServerAuth\n\n public bool ServerAuth { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as \"TLS WWW\nserver authentication\", though regularly used for non-WWW TLS.\n\n### TimeStamping\n\n public bool TimeStamping { get; set; }\n\nCorresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as \"Binding\nthe hash of an object to a time\"."]]