public sealed class X509Parameters : IMessage<X509Parameters>, IEquatable<X509Parameters>, IDeepCloneable<X509Parameters>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class X509Parameters.
An [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] is
used to describe certain fields of an X.509 certificate, such as the key
usage fields, fields specific to CA certificates, certificate policy
extensions and custom extensions.
public RepeatedField<string> AiaOcspServers { get; }
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint
addresses that appear in the "Authority Information Access" extension in
the certificate.
public X509Parameters.Types.CaOptions CaOptions { get; set; }
Optional. Describes options in this
[X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that
are relevant in a CA certificate. If not specified, a default basic
constraints extension with is_ca=false will be added for leaf
certificates.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eX509Parameters\u003c/code\u003e class within the Google Cloud Security PrivateCA v1 API, detailing its properties and usage in X.509 certificates.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eX509Parameters\u003c/code\u003e class is 3.9.0, with several previous versions also documented, ranging down to version 1.0.0, and is found in the \u003ccode\u003eGoogle.Cloud.Security.PrivateCA.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eX509Parameters\u003c/code\u003e is used to describe various fields of an X.509 certificate, including key usage, CA certificate-specific fields, certificate policy extensions, and custom extensions.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eX509Parameters\u003c/code\u003e include \u003ccode\u003eAdditionalExtensions\u003c/code\u003e, \u003ccode\u003eAiaOcspServers\u003c/code\u003e, \u003ccode\u003eCaOptions\u003c/code\u003e, \u003ccode\u003eKeyUsage\u003c/code\u003e, \u003ccode\u003eNameConstraints\u003c/code\u003e, and \u003ccode\u003ePolicyIds\u003c/code\u003e, which specify various aspects of the certificate's configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has constructors for creating new instances and copying from existing ones.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class X509Parameters (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.X509Parameters)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.X509Parameters) \n\n public sealed class X509Parameters : IMessage\u003cX509Parameters\u003e, IEquatable\u003cX509Parameters\u003e, IDeepCloneable\u003cX509Parameters\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class X509Parameters.\n\nAn \\[X509Parameters\\]\\[google.cloud.security.privateca.v1.X509Parameters\\] is\nused to describe certain fields of an X.509 certificate, such as the key\nusage fields, fields specific to CA certificates, certificate policy\nextensions and custom extensions. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e X509Parameters \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[X509Parameters](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.X509Parameters), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[X509Parameters](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.X509Parameters), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[X509Parameters](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.X509Parameters), [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### X509Parameters()\n\n public X509Parameters()\n\n### X509Parameters(X509Parameters)\n\n public X509Parameters(X509Parameters other)\n\nProperties\n----------\n\n### AdditionalExtensions\n\n public RepeatedField\u003cX509Extension\u003e AdditionalExtensions { get; }\n\nOptional. Describes custom X.509 extensions.\n\n### AiaOcspServers\n\n public RepeatedField\u003cstring\u003e AiaOcspServers { get; }\n\nOptional. Describes Online Certificate Status Protocol (OCSP) endpoint\naddresses that appear in the \"Authority Information Access\" extension in\nthe certificate.\n\n### CaOptions\n\n public X509Parameters.Types.CaOptions CaOptions { get; set; }\n\nOptional. Describes options in this\n\\[X509Parameters\\]\\[google.cloud.security.privateca.v1.X509Parameters\\] that\nare relevant in a CA certificate. If not specified, a default basic\nconstraints extension with `is_ca=false` will be added for leaf\ncertificates.\n\n### KeyUsage\n\n public KeyUsage KeyUsage { get; set; }\n\nOptional. Indicates the intended use for keys that correspond to a\ncertificate.\n\n### NameConstraints\n\n public X509Parameters.Types.NameConstraints NameConstraints { get; set; }\n\nOptional. Describes the X.509 name constraints extension.\n\n### PolicyIds\n\n public RepeatedField\u003cObjectId\u003e PolicyIds { get; }\n\nOptional. Describes the X.509 certificate policy object identifiers, per\n\u003chttps://tools.ietf.org/html/rfc5280#section-4.2.1.4\u003e."]]